portal.git
6 years agoMerge "Single Signon" a983289777e000e13cf4da94f4b51f29ec56f3b6 test_branch
Manoop Talasila [Fri, 16 Mar 2018 17:47:36 +0000 (17:47 +0000)]
Merge "Single Signon"

6 years agoSingle Signon 69/36169/5
abdelseaudi [Fri, 16 Mar 2018 06:24:48 +0000 (06:24 +0000)]
Single Signon

This section explains how to enable Single Signon for an ONAP Portal SDK Application.

Issue-ID: PORTAL-216
Change-Id: Iea8ac4ebf724764f14cd0a6d11ff6f31f0f76cf8
Signed-off-by: abdelseaudi <abdelmuhaimen.seaudi@orange.com>
6 years agoUpgrade to latest oparent 17/36117/1
Gildas Lanilis [Fri, 16 Mar 2018 01:08:57 +0000 (18:08 -0700)]
Upgrade to latest oparent

Update pom.xml file to latest version release of oparent, 1.1.0

Change-Id: Ia2130fd27150ebbef048135b3d7a21a98ca4c094
Issue-ID: INT-443
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
6 years agoMerge "Unit Test Case for EPLeftMenuServiceImpl.java"
Sunder Tattavarada [Wed, 7 Mar 2018 14:29:26 +0000 (14:29 +0000)]
Merge "Unit Test Case for EPLeftMenuServiceImpl.java"

6 years agoUnit Test Case for EPLeftMenuServiceImpl.java 63/34463/1
Hari Om Verma [Wed, 7 Mar 2018 08:06:33 +0000 (13:36 +0530)]
Unit Test Case for EPLeftMenuServiceImpl.java

Added JUnit test cases for EPLeftMenuServiceImpl.java

Change-Id: Ieea37f1723566f8135b9d7a17d227e66b45aa110
Issue-ID: PORTAL-208
Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
6 years agoAdded Junits 73/34273/1
Kishore Reddy, Gujja (kg811t) [Tue, 6 Mar 2018 14:26:18 +0000 (09:26 -0500)]
Added Junits

Issue-ID: PORTAL-136

Includes JUNITS

Change-Id: I5ea9dc100dcf4a14c57dff5663e1e55a1677a017
Signed-off-by:Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>

6 years agoMerge "Added Junits"
Sunder Tattavarada [Mon, 5 Mar 2018 15:37:41 +0000 (15:37 +0000)]
Merge "Added Junits"

6 years agoMerge "Adding Junit Test for EPAuditServiceImp.java"
Sunder Tattavarada [Mon, 5 Mar 2018 15:37:21 +0000 (15:37 +0000)]
Merge "Adding Junit Test for EPAuditServiceImp.java"

6 years agoAdding Junit Test for EPAuditServiceImp.java 21/34021/1
Havaldar Girish [Mon, 5 Mar 2018 09:20:45 +0000 (14:50 +0530)]
Adding Junit Test for EPAuditServiceImp.java

Adding Junit Test for org.openecomp.portalapp.portal.service.EPAuditServiceImp.java

Change-Id: I8133ed1776026a3183493f9011d0a2c6035fb8a7
Issue-ID: PORTAL-184
Signed-off-by: Havaldar Girish <hg0071052@techmahindra.com>
6 years agoAdded Junits 61/33861/1
Kishore Reddy, Gujja (kg811t) [Fri, 2 Mar 2018 22:07:24 +0000 (17:07 -0500)]
Added Junits

Issue-ID: PORTAL-136

Includes JUNITS

Change-Id: I025eff3eb4f74940cd427767e4d1f376eabfe51f
Signed-off-by:Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>

6 years agoAdded Junits 79/33679/1
Gujja [Thu, 1 Mar 2018 20:57:55 +0000 (15:57 -0500)]
Added Junits

Issue-ID: PORTAL-155

Includes JUNITS, security issues fix

Change-Id: I7c4032808163c46bf53477195823c7ed9dc99edc
Signed-off-by:GUJJA <kg811t@research.att.com>

6 years agoAdded Junits 23/32923/1
GUJJA [Mon, 26 Feb 2018 16:55:02 +0000 (11:55 -0500)]
Added Junits

Issue-ID: PORTAL-207

Includes JUNITS

Change-Id: If0befc3456e15106ac1f79e4c4462c072beeeec3
Signed-off-by:GUJJA <kg811t@research.att.com>

6 years agoMerge "Added Junits"
Manoop Talasila [Fri, 23 Feb 2018 13:01:58 +0000 (13:01 +0000)]
Merge "Added Junits"

6 years agoUnit Test Case for WidgetServiceImpl.java 71/32671/1
Hari Om Verma [Fri, 23 Feb 2018 11:22:14 +0000 (16:52 +0530)]
Unit Test Case for WidgetServiceImpl.java

Added JUnit test cases for WidgetServiceImpl.java

Change-Id: I098df1f6442e5caa89c3771f8e9087f0f8b78156
Issue-ID: PORTAL-206
Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
6 years agoAdded Junits 95/32595/1
GUJJA [Thu, 22 Feb 2018 17:21:33 +0000 (12:21 -0500)]
Added Junits

Issue-ID: PORTAL-136

Includes JUNITS

Change-Id: I859aa9de0ce51a1ac699c81e98c2af7fda7ae660
Signed-off-by:GUJJA <kg811t@research.att.com>

6 years agoUnit Test Case for SharedContextServiceImpl.java 97/32497/1
Hari Om Verma [Thu, 22 Feb 2018 10:29:31 +0000 (15:59 +0530)]
Unit Test Case for SharedContextServiceImpl.java

Added JUnit test cases for SharedContextServiceImpl.java

Change-Id: I66442b8066f688784a3a13321d82571db9f93902
Issue-ID: PORTAL-204
Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
6 years agoUnit Test Case for EPProfileServiceImpl.java 93/32493/1
Hari Om Verma [Thu, 22 Feb 2018 09:40:25 +0000 (15:10 +0530)]
Unit Test Case for EPProfileServiceImpl.java

Added JUnit test cases for EPProfileServiceImp.java

Change-Id: Id39631225bb7fd77ea8eac2e3cc52d490aa48e13
Issue-ID: PORTAL-195
Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
6 years agoAdded Junits 95/31995/1
GUJJA [Fri, 16 Feb 2018 16:45:40 +0000 (11:45 -0500)]
Added Junits

Issue-ID: PORTAL-162, PORTAL-163, PORTAL-168

Includes JUNITS, maven dependency version changes

Change-Id: Ib13b03ece5816bffa263dd9180180d9c6070cebd
Signed-off-by:GUJJA <kg811t@research.att.com>

6 years agoUnit Test Case for PersUserWidgetServiceImpl.java 81/31581/1
Hari Om Verma [Tue, 13 Feb 2018 08:05:03 +0000 (13:35 +0530)]
Unit Test Case for PersUserWidgetServiceImpl.java

Added JUnit test cases for PersUserWidgetServiceImpl.java

Change-Id: I21ba2fbe3ddc230db9d67e85b8a9d1ea6944c6aa
Issue-ID: PORTAL-192
Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
6 years agoAdded Junits 07/30907/1
kg811t [Thu, 8 Feb 2018 18:25:08 +0000 (13:25 -0500)]
Added Junits

Issue-ID: PORTAL-136, PORTAL-133, PORTAL-111, PORTAL-19

Includes JUNITS, replacement of openecomp to onap, role centralization
changes

Change-Id: I95fe9d93ccf22e04f81f52aa7ae8c2b760d8c9c4
Signed-off-by: kg811t <kg811t@research.att.com>
6 years agoMerge "check if localsession object null before closing"
Sunder Tattavarada [Thu, 8 Feb 2018 17:28:25 +0000 (17:28 +0000)]
Merge "check if localsession object null before closing"

6 years agocheck if localsession object null before closing 89/30789/1
Havaldar Girish [Thu, 8 Feb 2018 03:49:10 +0000 (09:19 +0530)]
check if localsession object null before closing

Before closing the session check if the localsession is not null
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.portal%3Aonap-portal-parent#resolved=false|severities=BLOCKER
Location:
/src/main/java/org/openecomp/portalapp/portal/service/UserRolesCommonServiceImpl.java
Line No-382

Change-Id: Id44800c1ab0ee03dd4920c756fb85b342dc1dd2a
Issue-ID: PORTAL-154
Signed-off-by: Havaldar Girish <hg0071052@techmahindra.com>
6 years agoDocker fixes 39/30339/1
st782s [Mon, 5 Feb 2018 21:14:27 +0000 (16:14 -0500)]
Docker fixes

Issue-ID: PORTAL-119

Merge job failing sue to the base file not being able to pull the images
names from .env file

Change-Id: I39f31683acf695273b58c1eda06e952f365a9d33
Signed-off-by: st782s <statta@research.att.com>
6 years agoSecurity/ Package Name changes 01/29701/3
st782s [Tue, 30 Jan 2018 22:29:36 +0000 (17:29 -0500)]
Security/ Package Name changes

Issue-ID: PORTAL-174, PORTAL-157, PORTAL-156, PORTAL-148, PORTAL-145,
PORTAL-140, PORTAL-133, PORTAL-121, PORTAL-111, PORTAL-88

Includes security fixes, Role Centralization, replace certain ECOMP
occurrences etc

Change-Id: I3c8b706709c6b92e646e3cbe50c2d660e8a46ef4
Signed-off-by: st782s <statta@research.att.com>
6 years agoNull check for ClientResponse in PolicyUril.java 31/26431/1
Havaldar Girish [Mon, 18 Dec 2017 05:42:25 +0000 (11:12 +0530)]
Null check for ClientResponse in PolicyUril.java

NullPointerException might be thrown as cres is nullable here
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.portal%3Aonap-portal-parent#resolved=false|severities=BLOCKER
Location:
/src/main/java/org/openecomp/portalapp/portal/scheduler/policy/PolicyUtil.java
Line No-72

Change-Id: I14dc792fb67198ebcbabfe80d90c48389af6cc91
Issue-ID: PORTAL-153
Signed-off-by: Havaldar Girish <hg0071052@techmahindra.com>
6 years agoUpdate Portal docs area 57/23657/1
Christopher Lott (cl778h) [Wed, 15 Nov 2017 17:28:15 +0000 (12:28 -0500)]
Update Portal docs area

Add new architecture picture and release docs.
Remove byte-order-mark from start of api-docs.json file.

Issue: PORTAL-141
Change-Id: If097d4f59716a7c554160c14364a1ef217ac6646
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoPublish release notes in separate RST file 49/22849/1
Christopher Lott (cl778h) [Wed, 8 Nov 2017 22:25:29 +0000 (17:25 -0500)]
Publish release notes in separate RST file

Issue: PORTAL-141
Change-Id: I4113c015374e6abef06c955120fbb60b0dbbe4af
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoCorrect image-include directive 01/22401/1
Christopher Lott (cl778h) [Mon, 6 Nov 2017 21:46:54 +0000 (16:46 -0500)]
Correct image-include directive

Issue: PORTAL-141
Change-Id: I26687b60a0c6170ef2dad05e36e9222d3a8e0246
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRelease notes for R1/Amsterdam/1.3.0 59/22359/1
Christopher Lott (cl778h) [Mon, 6 Nov 2017 20:13:17 +0000 (15:13 -0500)]
Release notes for R1/Amsterdam/1.3.0

Issue: PORTAL-141
Change-Id: I15540167d1205230515c7cb4e8030314f4bd6a3b
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "use docker-compose healtcheck for DB"
Manoop Talasila [Sat, 28 Oct 2017 03:41:36 +0000 (03:41 +0000)]
Merge "use docker-compose healtcheck for DB"

6 years agoEnhance authentication to fix a vulnerability 95/21095/1
Christopher Lott (cl778h) [Sat, 28 Oct 2017 00:25:51 +0000 (20:25 -0400)]
Enhance authentication to fix a vulnerability

Issue: PORTAL-137
Change-Id: I7e2a5544653ac2067da7231d878009b260dc740f
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agouse docker-compose healtcheck for DB 29/18729/3
Sylvain Desbureaux [Fri, 13 Oct 2017 08:33:05 +0000 (10:33 +0200)]
use docker-compose healtcheck for DB

and use better condition for starting the other
dockers
taking into account Chris Lott comments

Change-Id: Ibfdbd26742e514c107532ae99b5c4fd2d05c1e2c
Issue-ID: PORTAL-95
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
6 years agoCorrect domain suffix to onap.org 83/19783/1
Christopher Lott (cl778h) [Thu, 19 Oct 2017 18:23:23 +0000 (14:23 -0400)]
Correct domain suffix to onap.org

Missed an occurrence of cookie domain in the front-end config file,
changed to onap.org (was openecomp.org).

Issue: PORTAL-130
Change-Id: Ieb19912b503c6e0b16bd17ed7d4b1d9a9bc6a439
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRevise domain name and app context paths 99/19599/2
Christopher Lott (cl778h) [Wed, 18 Oct 2017 20:04:10 +0000 (16:04 -0400)]
Revise domain name and app context paths

Now uses host simpledemo.onap.org (no more simpledemo.openecomp.org)
and context path ONAPPORTAL (no more ECOMPPORTAL).

Issue: PORTAL-130
Change-Id: I15a47eae10ed444b8bfc5ba33a8a33a25d5c6ec6
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Fix the email id for CLI application"
Manoop Talasila [Tue, 17 Oct 2017 22:25:32 +0000 (22:25 +0000)]
Merge "Fix the email id for CLI application"

6 years agoRemove lingering company domain name 63/19363/1
Christopher Lott (cl778h) [Tue, 17 Oct 2017 19:34:10 +0000 (15:34 -0400)]
Remove lingering company domain name

Issue: PORTAL-86
Change-Id: I0e684a17a7355f1544fd4e5d55ad0fc016898b26
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoFix the email id for CLI application 19/19219/2
Kanagaraj Manickam k00365106 [Tue, 17 Oct 2017 08:37:35 +0000 (14:07 +0530)]
Fix the email id for CLI application

PORTAL-120

Change-Id: I293433c015aa0eccd75593fa53a2fea562b7b7e4
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
6 years agoUpgrade to EPSDK 1.3.1 17/19117/1
Christopher Lott (cl778h) [Mon, 16 Oct 2017 18:15:09 +0000 (14:15 -0400)]
Upgrade to EPSDK 1.3.1

EPSDK version 1.3.1 omits licensed "Greensock" code.

Issue: PORTAL-127
Change-Id: I9a0eedc184f34084cf2b073ea7772d812b603e6d
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoSwitch SDK app to Mariadb connector. 29/18629/1
Christopher Lott (cl778h) [Thu, 12 Oct 2017 21:02:29 +0000 (17:02 -0400)]
Switch SDK app to Mariadb connector.

Also drop properties for DBC app that is no longer deployed.

Issue: PORTAL-104
Change-Id: I5db42bf8342650caf20675bcef43fcf3e3af2dbb
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRepair Portal user-role assignment 99/18599/1
Christopher Lott (cl778h) [Thu, 12 Oct 2017 17:03:57 +0000 (13:03 -0400)]
Repair Portal user-role assignment

Issue: PORTAL-125
Change-Id: Ib8006c301d059d954b681a11a955924843548c6b
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRemove GreenSock code in b2b library 67/18367/1
Christopher Lott (cl778h) [Wed, 11 Oct 2017 20:50:40 +0000 (16:50 -0400)]
Remove GreenSock code in b2b library

Issue: PORTAL-127
Change-Id: Ie126b390f83cdf448da75d8684c0bf50e061f739
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoDrop DMaaP BC web GUI from Portal deployment 33/18333/1
Christopher Lott (cl778h) [Wed, 11 Oct 2017 18:45:00 +0000 (14:45 -0400)]
Drop DMaaP BC web GUI from Portal deployment

DMaaP BC is not in Amsterdam release; no need for its GUI.

Issue: PORTAL-126
Change-Id: I156e729ace41962fb9d3941deb2478357ea4616a
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoIncrease DB timeout; rename props dir 01/18301/3
Christopher Lott (cl778h) [Wed, 11 Oct 2017 15:42:04 +0000 (11:42 -0400)]
Increase DB timeout; rename props dir

1. Revise docker compose:
a) Use version 2.1, up from 2.0
b) Increase apps database startup timeout from 3 to 5 minutes
2. Rename the properties directory to drop the env-specific name "rackspace"
3. Use MariaDB JDBC connection URL for DBC app.
4. Show AAI-UI and CLI apps by default on application home screen

Issue: PORTAL-20, PORTAL-95, PORTAL-117
Change-Id: I3a96d2e3142a7c2229f5b67525d79fa5e602084b
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoExtend deployment for CSIT env quirks 35/18035/1
Christopher Lott (cl778h) [Tue, 10 Oct 2017 19:54:38 +0000 (15:54 -0400)]
Extend deployment for CSIT env quirks

Define new environment variables so a host IP and name can be
added to a docker container /etc/hosts file for inter-app comms
using the semi-well-known name portal.api.simpledemo.openecomp.org

Issue: PORTAL-59
Change-Id: If1c23a77a4b227aac314d966f41e5d5aaad846f8
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Repair SDK-app property for users"
Manoop Talasila [Thu, 5 Oct 2017 14:53:09 +0000 (14:53 +0000)]
Merge "Repair SDK-app property for users"

6 years agoRepair SDK-app property for users 33/17333/1
Christopher Lott (cl778h) [Thu, 5 Oct 2017 13:51:28 +0000 (09:51 -0400)]
Repair SDK-app property for users

Repair package prefix of user-management class named in property file

Issue: PORTAL-59
Change-Id: Iffc753fcd244ad6910fc58c8e2c1748adfa2911d
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoEnable webconsole for cli in portal 13/17313/2
Kanagaraj Manickam k00365106 [Thu, 5 Oct 2017 09:12:52 +0000 (14:42 +0530)]
Enable webconsole for cli in portal

PORTAL-120

Change-Id: If631069c3b6344459f24b3efe1fd0989ce707253
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
6 years agoRepair widget-ms problem; adjust sonar in poms 67/17267/3
Christopher Lott (cl778h) [Wed, 4 Oct 2017 18:14:36 +0000 (14:14 -0400)]
Repair widget-ms problem; adjust sonar in poms

Using OParent again; override some Sonar configuration and tasks.
Repair display & fetch of users from remote apps.
Use EPSDK version 1710 database scripts.

Issue: PORTAL-50, PORTAL-59, PORTAL-86
Change-Id: I05eaea3680b0422236cc86cdd0ad5847c2731e54
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRepair aspect logger; repair site deploy 07/17207/1
Christopher Lott (cl778h) [Wed, 4 Oct 2017 12:32:30 +0000 (08:32 -0400)]
Repair aspect logger; repair site deploy

[PORTAL-54] Javadoc site deployment fails on widget-ms module
[PORTAL-116] WidgetCatalog request takes exception before reaching controller method

Issue: PORTAL-54, PORTAL-116
Change-Id: Id6d223a30a8c5f493c3fa1902225bc4e8964d085
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Enable sonar code coverage with oparent"
Manoop Talasila [Mon, 2 Oct 2017 22:05:05 +0000 (22:05 +0000)]
Merge "Enable sonar code coverage with oparent"

6 years agoDrop redundant "onap"; fix port 11/16911/3
Christopher Lott (cl778h) [Mon, 2 Oct 2017 19:53:21 +0000 (15:53 -0400)]
Drop redundant "onap"; fix port

1. Remove extraneous "onap/".
2. Define Nexus registry in "push" script using port 10003;
   the releases repo on port 10001 does not allow push.

Issue: PORTAL-90
Change-Id: I6eb41de36eefc531598cbc495712d55b9df4782a
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoEnable sonar code coverage with oparent 99/16899/2
Gary Wu [Mon, 2 Oct 2017 18:20:39 +0000 (11:20 -0700)]
Enable sonar code coverage with oparent

Remove commented-out property sonar.java.binaries.

Change-Id: I14f0597e472b387d48abc2cb1e55777a2fa55708
Issue-ID: PORTAL-50
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoUpdate deliveries for portal deployment 83/16883/4
Christopher Lott (cl778h) [Mon, 2 Oct 2017 16:09:24 +0000 (12:09 -0400)]
Update deliveries for portal deployment

Use onap (not openecomp) in Nexus tag.
Revise environment variables suitable for Rackspace via HEAT.
Use registry nexus.onap.org:10001 instead of port 1003.
Drop portal_vm_init.sh; moved back to ONAP demo repo.

Issue: PORTAL-90
Change-Id: Ib51668eceff851db0271cd6acb2bdecf08cafa06
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRemove oParent and sonar.java.binaries. 41/16741/1
Manoop Talasila [Sat, 30 Sep 2017 18:28:04 +0000 (14:28 -0400)]
Remove oParent and sonar.java.binaries.

This is to fix Sonar code coverage reporting.

Issue-Id: PORTAL-50

Change-Id: Ib222f60587405924653d201a7f5f057d018e8bf5
Signed-off-by: Manoop Talasila <talasila@research.att.com>
6 years agoUse version 1.3.0 (no -SNAPSHOT) 77/16677/1
Christopher Lott (cl778h) [Fri, 29 Sep 2017 18:51:47 +0000 (14:51 -0400)]
Use version 1.3.0 (no -SNAPSHOT)

This is an attempt to solve the Sonar failures in the
portal-master-release-version-java-daily jobs.

Issue: PORTAL-109
Change-Id: I5694cd726b64bf28ea6201f9d2066b7dd734c0fe
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoUpdate license in non-Java files. 15/16515/2
Christopher Lott (cl778h) [Thu, 28 Sep 2017 20:59:17 +0000 (16:59 -0400)]
Update license in non-Java files.

Add logs and properties directory names to .env file.
Revise portal_vm_init.sh script to pull and tag onap/cli docker image.

Issue: PORTAL-90
Change-Id: I82a371ee9797b3e037ad282538cb48b5620c9709
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoAdded tutorial for portal-sdk apps 91/16491/1
jsseidel [Thu, 28 Sep 2017 18:31:07 +0000 (14:31 -0400)]
Added tutorial for portal-sdk apps

Added a tutorial for how to create a basic app
using the portal sdk.

Change-Id: I52783748760501e57751e19d1eb586d21cbef0d9
Issue-Id: PORTAL-100
Signed-off-by: jsseidel <jsseidel@fastmail.com>
6 years agoUpdate license; improve coverage; add docs dir 37/16437/2
Christopher Lott (cl778h) [Thu, 28 Sep 2017 15:18:14 +0000 (11:18 -0400)]
Update license; improve coverage; add docs dir

Update licenses to match approved text; add where missing.
Improve code coverage with additional tests.
Use OParent.
Drop ecomp-portal-BE-common-test entirely; tests merged to ecomp-portal-BE-common.
All code from LF repo branch master_dev_amsterdam_1_3_0

Issue: PORTAL-42, PORTAL-50, PORTAL-90, PORTAL-96
Change-Id: I09d98bbf072411d2efed6fb34f378f7cc8d049ad
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoAdd doc folder. 11/15211/1
Christopher Lott (cl778h) [Mon, 25 Sep 2017 20:58:13 +0000 (16:58 -0400)]
Add doc folder.

Issue: PORTAL-105
Change-Id: I922d8f5107a8263940e5b37376c52db977b7b458
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMariaDB Connector and Sonar Scans; clean nl 89/15189/1
Christopher Lott (cl778h) [Mon, 25 Sep 2017 20:07:54 +0000 (16:07 -0400)]
MariaDB Connector and Sonar Scans; clean nl

PORTAL-50: Fix to get the Sonar coverage for ONAP
PORTAL-72: Sonar scan - resolving severity Blocker issues
PORTAL-86: Remove internal att.com usages from tests and other files
PORTAL-102: Fixed the page refresh issue on App Account Management page
PORTAL-103: Fix to enhanced notification ticket source for ONAP
PORTAL-104: Replaced mysql DB connector with mariaDB

Issue: PORTAL-50 PORTAL-72 PORTAL-86 PORTAL-102 PORTAL-103 PORTAL-104
Change-Id: Iae78ad34ed9ce5ae1f2d36fcbb93fbc1e39944e5
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Fix CLI docker env settings"
Manoop Talasila [Mon, 11 Sep 2017 17:59:58 +0000 (17:59 +0000)]
Merge "Fix CLI docker env settings"

6 years agoFix CLI docker env settings 37/11537/1
Kanagaraj Manickam k00365106 [Mon, 11 Sep 2017 03:46:36 +0000 (09:16 +0530)]
Fix CLI docker env settings

Recently the env for setting the mode of CLI
is changed to CLI_MODE and same has been
incorporated here.

CLI-14
Change-Id: I1decd7063a25a4e11d867c460d141e0a88a4a761
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
6 years agoCleanup project's name in Sonar 17/11417/1
Jessica Wagantall [Fri, 8 Sep 2017 22:01:06 +0000 (15:01 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.

Change-Id: Ic2f18b2f5de443c4be7580140b216a619cbbe7fe
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoRepair search and timeout defects 87/11087/2
Christopher Lott (cl778h) [Fri, 8 Sep 2017 13:12:04 +0000 (09:12 -0400)]
Repair search and timeout defects

PORTAL-91: Search was not working on widget-ms page
PORTAL-95: docker containers not waiting long enough for database
This bumps the commit message to trigger a build;
posting a "recheck" message on Gerrit didn't work.

Issue: PORTAL-91, PORTAL-95
Change-Id: I7091634a64d281457c76584e8d2a08e3e5887cd1
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Add CLI deployment as part of portal"
Manoop Talasila [Thu, 7 Sep 2017 17:45:09 +0000 (17:45 +0000)]
Merge "Add CLI deployment as part of portal"

6 years agoAdd CLI deployment as part of portal 87/9287/5
Kanagaraj Manickam k00365106 [Wed, 30 Aug 2017 04:03:23 +0000 (09:33 +0530)]
Add CLI deployment as part of portal

CLI is available as onap/cli docker image
and is enabled to get installed as part of
portal vm

CLI-14
Change-Id: Ia1035a934f9808d76a78415462677708017eaea8
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
6 years agoRemove unused files with company keywords 05/10405/2
Christopher Lott (cl778h) [Tue, 5 Sep 2017 21:03:50 +0000 (17:03 -0400)]
Remove unused files with company keywords

Drop the static FE pages that were once used to redirect users.

Issue: PORTAL-86
Change-Id: Idb1f3b07f2b30319b58d993fcafd7e95b1c6d5a3
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRepair user notification defects. 97/9697/1
Christopher Lott (cl778h) [Thu, 31 Aug 2017 15:10:51 +0000 (11:10 -0400)]
Repair user notification defects.

Issue: PORTAL-50
Change-Id: I15347d69b7b85a2658f114f53029bed67f7e810d
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoConfigure sonar code coverage; use EPSDK 1.3.0 19/9519/3
Christopher Lott (cl778h) [Wed, 30 Aug 2017 20:09:59 +0000 (16:09 -0400)]
Configure sonar code coverage; use EPSDK 1.3.0

Also use this commit to mark delivery of many feature issues

Issue: PORTAL-26, PORTAL-28, PORTAL-29, PORTAL-50, PORTAL-69,
    PORTAL-76, PORTAL-82, PORTAL-89

Change-Id: Ib3e8487c5eb3d39dcdae1450deac6d255449debc
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoSkip deployment of widget-ms jar 65/8865/1
Christopher Lott (cl778h) [Sat, 26 Aug 2017 10:45:20 +0000 (06:45 -0400)]
Skip deployment of widget-ms jar

Add plugin to skip deployment of ecomp-portal-widget-ms onejar.
Fix problem of manage widget pop up calendar moved off event date input field.

Issue: PORTAL-80
Change-Id: Id783989fed6a248ceb1a12bfce8403f6219e2e61
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoEnable junit test cases and fix defects. 31/8831/1
Christopher Lott (cl778h) [Fri, 25 Aug 2017 19:31:33 +0000 (15:31 -0400)]
Enable junit test cases and fix defects.

Clean internal company domain names.
Repair defect for picking Role in Widget onboarding for assigned app.

Issue: PORTAL-50, PORTAL-82, PORTAL-86
Change-Id: I0826ddbfad1dc8a9bb6f3b8096b9748f887c1c65
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRepair DDL duplicate-index name issue 73/8673/1
Christopher Lott (cl778h) [Thu, 24 Aug 2017 18:34:31 +0000 (14:34 -0400)]
Repair DDL duplicate-index name issue

This blocked the portal-db container from starting, which blocked
the app servers from starting.

Issue: PORTAL-80
Change-Id: I4c0b6b378bda29355111b137cae32c8f219d9921
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoDeliver centralized role management feature 89/8489/8
Christopher Lott (cl778h) [Wed, 23 Aug 2017 22:27:19 +0000 (18:27 -0400)]
Deliver centralized role management feature

Repair multiple defects also.
Revise deployment to use docker-compose.
Remove all zip archives.

Issue: PORTAL-21, PORTAL-25, PORTAL-28, PORTAL-52, PORTAL-69,
    PORTAL-74, PORTAL-76, PORTAL-80, PORTAL-82
Change-Id: Ie72fec7d35ba78beb162bba6ed27b2caee340c61
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Replicate demo/boot/portal_vm_init.sh"
Sunder Tattavarada [Wed, 23 Aug 2017 21:16:07 +0000 (21:16 +0000)]
Merge "Replicate demo/boot/portal_vm_init.sh"

6 years agoReplicate demo/boot/portal_vm_init.sh 83/8483/1
Christopher Lott (cl778h) [Wed, 23 Aug 2017 19:31:22 +0000 (15:31 -0400)]
Replicate demo/boot/portal_vm_init.sh

Capture version 1.1.0 of the Portal VM init script
which is compatible with the code on this branch,
in prep for pushing a new version before that project
creates branch 1.1.0.

Issue: PORTAL-54
Change-Id: I3bde548bdb1d584046be4d92e8b0399df3af5823
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoSecond attempt to fix site deploy error 11/7711/2
Christopher Lott (cl778h) [Wed, 16 Aug 2017 10:14:47 +0000 (06:14 -0400)]
Second attempt to fix site deploy error

Correct entries for deploy target host and path
in ecomp-portal-BE-os/pom.xml to repair deploy error

Issue: PORTAL-54
Change-Id: Id5c34e7c89eaff4467092b2d322fd0e07cb43950
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoCorrect Javadoc deploy error 23/7523/2
Christopher Lott (cl778h) [Tue, 15 Aug 2017 00:13:37 +0000 (20:13 -0400)]
Correct Javadoc deploy error

Correct entries for Javadoc deploy target host and path
in ecomp-portal-BE-os/pom.xml to repair deploy error

Issue: PORTAL-54
Change-Id: I788ac993b8419745a3048dbc413d043d262b483a
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoFix AAI image; fix widget-ms property 19/7019/1
Christopher Lott (cl778h) [Tue, 8 Aug 2017 18:26:17 +0000 (14:26 -0400)]
Fix AAI image; fix widget-ms property

Correct the DML with app thumbnail image for AAI.
Revise widget-ms property initialization.widgetData.url to commonWidgets (was widgetData)

Issue: PORTAL-66, PORTAL-67
Change-Id: Iee110f30dbf54f3350c91e880a5b46e746944110
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRemove images; repair A&AI credentials. 57/6857/4
Christopher Lott (cl778h) [Mon, 7 Aug 2017 17:59:54 +0000 (13:59 -0400)]
Remove images; repair A&AI credentials.

Remove licensed image files from ONAP distrib
Correct AAI user/role API username and password; add AAI thumbnail image file
in application onboarding DML script.

Issue: PORTAL-58, PORTAL-63
Change-Id: I5f61b01e822e563a7cb5c1b635313dca9397c4ae
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoCorrect on-boarding URL and role details. 31/6831/1
Christopher Lott (cl778h) [Mon, 7 Aug 2017 15:29:21 +0000 (11:29 -0400)]
Correct on-boarding URL and role details.

Use aai.api.simpledemo (not aai.ui.simpledemo..).
Revise cached role IDs

Issue: PORTAL-41
Change-Id: Ic15364628468e480f52c367b833cbd042a8a7df3
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMove hardcoded container tags to variables. 19/6819/2
Christopher Lott (cl778h) [Mon, 7 Aug 2017 12:26:05 +0000 (08:26 -0400)]
Move hardcoded container tags to variables.

Improve robustness of management scripts:
move image tag name prefixes to os_settings.sh script and use
them in all scripts, also in ONAP boot/portal_vm_init.sh script.

Issue: PORTAL-62
Change-Id: I62bd27f498d65551c70e18dced38de7bc3be016f
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoDrop _os suffix in EPSDK app database URL 39/6539/2
Christopher Lott (cl778h) [Wed, 2 Aug 2017 12:36:31 +0000 (08:36 -0400)]
Drop _os suffix in EPSDK app database URL

Repair icon shown in Portal widgets "..."

Issue: PORTAL-49
Change-Id: I1bd83949d81609e56d8df84cd7d9e2c430237878
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRepair ONAP portal release problems 05/6505/2
Christopher Lott (cl778h) [Tue, 1 Aug 2017 18:04:04 +0000 (14:04 -0400)]
Repair ONAP portal release problems

- Remove duplicate & buggy code blocking widget authentication
- Set UEB URL list property to ueb.api.simpledemo.openecomp.org
- Refactor to generate app key without using UEB
- Abbreviate WMS connection string to drop "&timeout=2000"

Issue: PORTAL-30, PORTAL-37, PORTAL-48
Change-Id: I5ff5844aba05781e2c5a2d833403e821e355811c
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoAdd missing credentials to widget-ms properties 77/6477/1
Christopher Lott (cl778h) [Tue, 1 Aug 2017 10:22:14 +0000 (06:22 -0400)]
Add missing credentials to widget-ms properties

Issue: PORTAL-30
Change-Id: Ia478d9bae1b25d9845eea83af41a1c1a4a7cb8a5
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRepair widget micro service, onboarding of widgets 53/6453/2
Christopher Lott (cl778h) [Mon, 31 Jul 2017 22:20:49 +0000 (18:20 -0400)]
Repair widget micro service, onboarding of widgets

Issue: PORTAL-30, PORTAL-40, PORTAL-45, PORTAL-46, PORTAL-47
Change-Id: I97de4cc038f7167d5e368249f9ea5e47e8fc1b09
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoPrepare to deploy widget-ms docker container in Rackspace 87/6287/2
Christopher Lott (cl778h) [Wed, 26 Jul 2017 22:04:56 +0000 (18:04 -0400)]
Prepare to deploy widget-ms docker container in Rackspace

Restore hardcoded image name ep:1610-1 due to demo/boot
script file dependencies.
Store image and container names in settings file;
push and tag image for WMS at same time as portal and db.

Issue: PORTAL-30
Change-Id: I349bfb91676dda0b4f106c6cab784dc6e6cec647
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoRepair Portal defects; upgrade Docker build. 75/6275/4
Christopher Lott (cl778h) [Wed, 26 Jul 2017 15:49:07 +0000 (11:49 -0400)]
Repair Portal defects; upgrade Docker build.

PORTAL-39 Remove MojoHaus Maven plug-in from pom file
PORTAL-38 VID tab is not showing portal for VID
PORTAL-37 Portal cannot resolve UEB host vm1-message-router;
  use ueb.api.simpledemo.openecomp.org instead
PORTAL-36 Show Portal app version number in footer;
  unpack war file instead of copying directory
PORTAL-35 update ECOMP Portal to ONAP logo on login page
PORTAL-34 Portal partners (Policy, VID) got 404 on landing page;
  recognize process_csp as valid endpoint in Portal
PORTAL-30 Failed to communicate with the widget microservice;
  add configuration properties with widget-ms host name and protocol.

Issue: PORTAL-30, PORTAL-34, PORTAL-35, PORTAL-36, PORTAL-37, PORTAL-38, PORTAL-39
Change-Id: I1e53e4985266f736ddad4ed49b287a23178ea3c3
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agomake UEB setting for VID in line with VID project 57/6157/5
Krzysztof Kwiecien [Tue, 25 Jul 2017 20:31:28 +0000 (22:31 +0200)]
make UEB setting for VID in line with VID project

change UEB config in Apps_Users_OnBoarding_Script.sql to be in line
with configration in VID project, this eliminate annoying
handleSesionUpdatesNative failed java.lang.NumberFormatException
error in VID application

Change-Id: I542211ecee32aadbae4af8bd1914887e5a668330
Signed-off-by: Krzysztof Kwiecien <krzysztof.kwiecien1@orange.com>
6 years ago Add thumbinals to Apps_Users_OnBoarding_Script.sql, 55/6155/1
Krzysztof Kwiecien [Sat, 22 Jul 2017 09:59:07 +0000 (11:59 +0200)]
 Add thumbinals to Apps_Users_OnBoarding_Script.sql,
 Thumbinals insertion is done at the end of file to
 make it be more human readible. This change make
 portal  home page  looks better.

Change-Id: I4757d7dc9956527bb3527f6138da7f117aca0ecb
Signed-off-by: Krzysztof Kwiecien <krzysztof.kwiecien1@orange.com>
6 years agoAdd portal property; correct docker build script. 91/6091/3
Christopher Lott (cl778h) [Thu, 20 Jul 2017 12:31:57 +0000 (08:31 -0400)]
Add portal property; correct docker build script.

New Portal property services.widget.protocol controls whether http or https
protocol is used to access the widget microservice endpoints.

Adjust build script to use new name "sdk" when building Docker with Portal apps
(formerly named ecompsdkos).

Change-Id: I25b7f39d40351da04c7a9dc3cc1c75ddad2750ea
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years ago[PORTAL-31] Repair defects in deployment 95/5795/1
Christopher Lott (cl778h) [Thu, 13 Jul 2017 21:04:39 +0000 (17:04 -0400)]
[PORTAL-31] Repair defects in deployment

Includes docker build failures and footer icon

Change-Id: I293f2767f36ab3fe824d8143e58e14dc2119c13e
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoConfigure parent to skip deploy step 71/5771/3
Christopher Lott (cl778h) [Wed, 12 Jul 2017 20:26:42 +0000 (16:26 -0400)]
Configure parent to skip deploy step

Change-Id: If65458934e12e3f7f61cf080ba8f99d7d233f291
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoAdd plugin configuration to skip deploy 63/5763/3
Christopher Lott (cl778h) [Wed, 12 Jul 2017 18:28:05 +0000 (14:28 -0400)]
Add plugin configuration to skip deploy

Change-Id: I84ff02d2336a802b73f98be7318456095f0de276
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Fix ep:1610-1 build process"
Manoop Talasila [Wed, 12 Jul 2017 16:14:24 +0000 (16:14 +0000)]
Merge "Fix ep:1610-1 build process"

6 years ago[PORTAL-20,PORTAL-23,PORTAL-32] Repair defects 27/5727/1
Christopher Lott (cl778h) [Mon, 10 Jul 2017 18:04:15 +0000 (14:04 -0400)]
[PORTAL-20,PORTAL-23,PORTAL-32] Repair defects

PORTAL-20: remove mariadb client reference from be-common pom

PORTAL-23: Release Portal's SDK version 1.1.0

PORTAL-32: API URL correction for onboarded Apps

Change-Id: If75b54ca9202f94ce63c59343b94384da1040912
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
6 years agoMerge "Add proxy support in DockerFile"
Manoop Talasila [Thu, 6 Jul 2017 20:38:03 +0000 (20:38 +0000)]
Merge "Add proxy support in DockerFile"

6 years agoAdd proxy support in DockerFile 43/5043/8
Shashank Kumar Shankar [Wed, 14 Jun 2017 22:32:06 +0000 (15:32 -0700)]
Add proxy support in DockerFile

This helps to build Portal Docker image behind a proxy.

Change-Id: I65fdd952ef9a9060f87dbbdc5a16909c825b493e
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
6 years agoFix ep:1610-1 build process 63/5663/2
Victor Morales [Mon, 3 Jul 2017 21:23:17 +0000 (16:23 -0500)]
Fix ep:1610-1 build process

The current process refers to two non-existing folders. When the
build process tries to use those folders fails and the image is
not created. Apparently the compilation order of ecomp-portal-FE-os
depends on epsdk-app-os. Lastly, the installation of openjdk-8-jdk
requires the --force-yes flag.

Change-Id: If998393cd90a6f4a31806699423e90bfd0df8f30
Signed-off-by: Victor Morales <victor.morales@intel.com>
6 years agoAdd +x permissions on deliveries/*.sh 59/5059/1
Gary Wu [Fri, 16 Jun 2017 17:02:29 +0000 (10:02 -0700)]
Add +x permissions on deliveries/*.sh

Change-Id: I48f00c483c603076023113d4584bc3a88853b846
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoSpecify project basedir for dockerDirectory 41/5041/2
Gary Wu [Wed, 14 Jun 2017 22:17:44 +0000 (15:17 -0700)]
Specify project basedir for dockerDirectory

Change-Id: I253f72e92786ac5564bb4cbd44abc9553f628296
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>