summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-24use docker-compose healtcheck for DBSylvain Desbureaux1-31/+24
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>
2017-10-11Increase DB timeout; rename props dirChristopher Lott (cl778h)15-5/+9
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>
2017-10-10Extend deployment for CSIT env quirksChristopher Lott (cl778h)6-18/+78
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>
2017-10-05Merge "Repair SDK-app property for users"Manoop Talasila3-2/+5
2017-10-05Repair SDK-app property for usersChristopher Lott (cl778h)3-2/+5
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>
2017-10-05Enable webconsole for cli in portalKanagaraj Manickam k003651061-2/+1
PORTAL-120 Change-Id: If631069c3b6344459f24b3efe1fd0989ce707253 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-04Repair widget-ms problem; adjust sonar in pomsChristopher Lott (cl778h)15-896/+612
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>
2017-10-04Repair aspect logger; repair site deployChristopher Lott (cl778h)2-20/+82
[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>
2017-10-02Merge "Enable sonar code coverage with oparent"Manoop Talasila7-271/+4
2017-10-02Drop redundant "onap"; fix portChristopher Lott (cl778h)2-10/+10
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>
2017-10-02Enable sonar code coverage with oparentGary Wu7-271/+4
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>
2017-10-02Update deliveries for portal deploymentChristopher Lott (cl778h)6-71/+23
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>
2017-09-30Remove oParent and sonar.java.binaries.Manoop Talasila1-3/+3
This is to fix Sonar code coverage reporting. Issue-Id: PORTAL-50 Change-Id: Ib222f60587405924653d201a7f5f057d018e8bf5 Signed-off-by: Manoop Talasila <talasila@research.att.com>
2017-09-29Use version 1.3.0 (no -SNAPSHOT)Christopher Lott (cl778h)7-8/+9
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>
2017-09-28Update license in non-Java files.Christopher Lott (cl778h)100-1085/+2850
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>
2017-09-28Added tutorial for portal-sdk appsjsseidel16-1/+1039
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>
2017-09-28Update license; improve coverage; add docs dirChristopher Lott (cl778h)675-20164/+20833
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>
2017-09-25Add doc folder.Christopher Lott (cl778h)1-0/+1
Issue: PORTAL-105 Change-Id: I922d8f5107a8263940e5b37376c52db977b7b458 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-09-25MariaDB Connector and Sonar Scans; clean nlChristopher Lott (cl778h)353-1513/+25532
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>
2017-09-11Merge "Fix CLI docker env settings"Manoop Talasila1-1/+1
2017-09-11Fix CLI docker env settingsKanagaraj Manickam k003651061-1/+1
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>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-0/+1
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>
2017-09-08Repair search and timeout defectsChristopher Lott (cl778h)10-865/+1342
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>
2017-09-07Merge "Add CLI deployment as part of portal"Manoop Talasila2-2/+14
2017-09-07Add CLI deployment as part of portalKanagaraj Manickam k003651062-2/+14
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>
2017-09-06Remove unused files with company keywordsChristopher Lott (cl778h)20-97/+201
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>
2017-08-31Repair user notification defects.Christopher Lott (cl778h)3-587/+635
Issue: PORTAL-50 Change-Id: I15347d69b7b85a2658f114f53029bed67f7e810d Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-08-30Configure sonar code coverage; use EPSDK 1.3.0Christopher Lott (cl778h)10-66/+158
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>
2017-08-26Skip deployment of widget-ms jarChristopher Lott (cl778h)3-21/+8
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>
2017-08-25Enable junit test cases and fix defects.Christopher Lott (cl778h)25-797/+161
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>
2017-08-24Repair DDL duplicate-index name issueChristopher Lott (cl778h)4-35/+28
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>
2017-08-23Deliver centralized role management featureChristopher Lott (cl778h)336-13579/+23847
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>
2017-08-23Merge "Replicate demo/boot/portal_vm_init.sh"Sunder Tattavarada1-0/+71
2017-08-23Replicate demo/boot/portal_vm_init.shChristopher Lott (cl778h)1-0/+71
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>
2017-08-16Second attempt to fix site deploy errorChristopher Lott (cl778h)1-2/+2
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>
2017-08-15Correct Javadoc deploy errorChristopher Lott (cl778h)2-6/+6
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>
2017-08-08Fix AAI image; fix widget-ms propertyChristopher Lott (cl778h)3-3/+2
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>
2017-08-07Remove images; repair A&AI credentials.Christopher Lott (cl778h)15-43423/+3
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>
2017-08-07Correct on-boarding URL and role details.Christopher Lott (cl778h)1-7/+7
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>
2017-08-07Move hardcoded container tags to variables.Christopher Lott (cl778h)4-17/+24
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>
2017-08-02Drop _os suffix in EPSDK app database URLChristopher Lott (cl778h)6-17/+98
Repair icon shown in Portal widgets "..." Issue: PORTAL-49 Change-Id: I1bd83949d81609e56d8df84cd7d9e2c430237878 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-08-01Repair ONAP portal release problemsChristopher Lott (cl778h)5-245/+325
- 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>
2017-08-01Add missing credentials to widget-ms propertiesChristopher Lott (cl778h)2-1/+0
Issue: PORTAL-30 Change-Id: Ia478d9bae1b25d9845eea83af41a1c1a4a7cb8a5 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-07-31Repair widget micro service, onboarding of widgetsChristopher Lott (cl778h)14-27/+74
Issue: PORTAL-30, PORTAL-40, PORTAL-45, PORTAL-46, PORTAL-47 Change-Id: I97de4cc038f7167d5e368249f9ea5e47e8fc1b09 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-07-26Prepare to deploy widget-ms docker container in RackspaceChristopher Lott (cl778h)12-32/+85
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>
2017-07-26Repair Portal defects; upgrade Docker build.Christopher Lott (cl778h)24-232/+263
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>
2017-07-26make UEB setting for VID in line with VID projectKrzysztof Kwiecien1-1/+1
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>
2017-07-22 Add thumbinals to Apps_Users_OnBoarding_Script.sql,Krzysztof Kwiecien1-0/+10
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>
2017-07-20Add portal property; correct docker build script.Christopher Lott (cl778h)14-37/+59
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>
2017-07-13[PORTAL-31] Repair defects in deploymentChristopher Lott (cl778h)6-9/+15
Includes docker build failures and footer icon Change-Id: I293f2767f36ab3fe824d8143e58e14dc2119c13e Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>