summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common
AgeCommit message (Collapse)AuthorFilesLines
2018-08-03Fix sonar issuesParshad Patel2-61/+70
Fix use try-with-resource issue in portal Issue-ID: PORTAL-342 Change-Id: Ieda3384feddae688c66890743978eaf4deda41e0 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-06-27JUnits for coverageHima Elisetty48-333/+8330
Issue-ID: PORTAL-273 JUnits for sonar coverage Change-Id: Ibfa06dcbc7809d9d2598af4ba31dd8c88943aa20 Signed-off-by: Hima Elisetty <hb123f@att.com>
2018-06-21Music health check apissa282w11-77/+1030
Issue-ID: PORTAL-291, PORTAL-307 Included the music changes, other changes from 2.3 branch to be included in master, added JUnits to the new classes and updated the document with the API version changes. Change-Id: I7b4c54be49317264afbdcb8d8ae3f20395bf0e1f Signed-off-by: sa282w <sa282w@att.com>
2018-05-25Bulk upload changes and music health check apisKishore Reddy, Gujja (kg811t)66-677/+5114
Issue-ID: PORTAL-290, PORTAL-291 Bulk upload changes and music health check apis Change-Id: I63d289d75420658ff4a14385a5106838fa8c32b2 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-04-19Replace ecomp referencesHima Elisetty462-516/+516
Issue-ID: PORTAL-19 Remove ecomp trademark Change-Id: I76311f2ab10b2c0d406415ea2f922d1aad993e21 Signed-off-by: Hima Elisetty <hbindu@research.att.com>
2018-04-13Get Roles on Users page for ext appKishore Reddy, Gujja (kg811t)1-0/+11
Issue-ID: PORTAL-241 Get Roles on Users page for ext app Change-Id: Ibba7e3c440546d6349ae4fc110b7f576c6a33e8e Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-04-12Get Roles on Users page for ext appHima Elisetty1-6/+16
Issue-ID: PORTAL-241 Get Roles on Users page for ext app Change-Id: I7f57b681c43dbf59cdb19e7da8eb40e523768d3e Signed-off-by: Hima Elisetty <hbindu@research.att.com>
2018-03-30Security Vunerabilitiessa282w1-0/+4
Issue-ID: PORTAL-155 Excluded beanshell, nimbus dependency and upgraded the version of spring-security-web and tomcat-embed-core. Change-Id: I2f238d8cdeb61084b1a86099c25b5bd8f30d5e93 Signed-off-by: sa282w <sa282w@att.com>
2018-03-28Security Vulnerabilitiessa282w1-0/+10
Issue-ID: PORTAL-155 Excluded bouncycastle from be-common/pom.xml Change-Id: Ie4e5fd50caf612e6b5df6586f9f5fd6114f2b2fe Signed-off-by: sa282w <sa282w@att.com>
2018-03-27Merge "Sonar Issues for PostSearchBean.java"Sunder Tattavarada1-2/+2
2018-03-27Merge "Sonar Issues for ExtractJar.java"Sunder Tattavarada1-3/+3
2018-03-27Merge "Sonar Issues for ExtractJar.java"Sunder Tattavarada1-9/+10
2018-03-27Sonar Issues for PostSearchBean.javaHari Om Verma1-2/+2
Minor and Major Sonar issues for PostSearchBean.java Change-Id: I7337218b018e69ed60714d7484c4170fae38f9e0 Issue-ID: PORTAL-225 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-03-27Sonar Issues for ExtractJar.javaHari Om Verma1-3/+3
Minor and Major Sonar issues for ExtractJar.java Change-Id: I8639d2fd76832c0f9f155721e8fb9423cb3b16b6 Issue-ID: PORTAL-213 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-03-23Security fixesKishore Reddy, Gujja (kg811t)3-11/+11
Issue-ID: PORTAL-136, PORTAL-155, PORTAL-210,PORTAL-217 Includes JUNITS and docker changes, music integration and security fixes Change-Id: Ib9205d7e8aa31c525a87e9d9a8076906ea4c7f0a Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-03-23Docker changes and Music IntegrationKishore Reddy, Gujja (kg811t)16-129/+434
Issue-ID: PORTAL-136, PORTAL-155, PORTAL-210,PORTAL-217 Includes JUNITS and docker changes, music integration and security fixes Change-Id: Ib974401b48efc1f0d4f98036b0028043c3283691 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-03-13Sonar Issues for ExtractJar.javaHari Om Verma1-9/+10
Minor and Major Sonar issues for ExtractJar.java Change-Id: Ida807e6d2fbeae7c7b2b66ca227c0aa5fcf020b2 Issue-ID: PORTAL-213 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-03-07Merge "Unit Test Case for EPLeftMenuServiceImpl.java"Sunder Tattavarada2-79/+249
2018-03-07Unit Test Case for EPLeftMenuServiceImpl.javaHari Om Verma2-79/+249
Added JUnit test cases for EPLeftMenuServiceImpl.java Change-Id: Ieea37f1723566f8135b9d7a17d227e66b45aa110 Issue-ID: PORTAL-208 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-03-06Added JunitsKishore Reddy, Gujja (kg811t)2-2/+2
Issue-ID: PORTAL-136 Includes JUNITS Change-Id: I5ea9dc100dcf4a14c57dff5663e1e55a1677a017 Signed-off-by:Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-03-05Merge "Added Junits"Sunder Tattavarada1-0/+141
2018-03-05Merge "Adding Junit Test for EPAuditServiceImp.java"Sunder Tattavarada1-0/+88
2018-03-05Adding Junit Test for EPAuditServiceImp.javaHavaldar Girish1-0/+88
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>
2018-03-02Added JunitsKishore Reddy, Gujja (kg811t)1-0/+141
Issue-ID: PORTAL-136 Includes JUNITS Change-Id: I025eff3eb4f74940cd427767e4d1f376eabfe51f Signed-off-by:Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-03-01Added JunitsGujja5-52/+443
Issue-ID: PORTAL-155 Includes JUNITS, security issues fix Change-Id: I7c4032808163c46bf53477195823c7ed9dc99edc Signed-off-by:GUJJA <kg811t@research.att.com>
2018-02-26Added JunitsGUJJA7-92/+1057
Issue-ID: PORTAL-207 Includes JUNITS Change-Id: If0befc3456e15106ac1f79e4c4462c072beeeec3 Signed-off-by:GUJJA <kg811t@research.att.com>
2018-02-23Merge "Added Junits"Manoop Talasila11-54/+690
2018-02-23Unit Test Case for WidgetServiceImpl.javaHari Om Verma1-0/+259
Added JUnit test cases for WidgetServiceImpl.java Change-Id: I098df1f6442e5caa89c3771f8e9087f0f8b78156 Issue-ID: PORTAL-206 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-02-22Added JunitsGUJJA11-54/+690
Issue-ID: PORTAL-136 Includes JUNITS Change-Id: I859aa9de0ce51a1ac699c81e98c2af7fda7ae660 Signed-off-by:GUJJA <kg811t@research.att.com>
2018-02-22Unit Test Case for SharedContextServiceImpl.javaHari Om Verma1-0/+131
Added JUnit test cases for SharedContextServiceImpl.java Change-Id: I66442b8066f688784a3a13321d82571db9f93902 Issue-ID: PORTAL-204 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-02-22Unit Test Case for EPProfileServiceImpl.javaHari Om Verma1-0/+86
Added JUnit test cases for EPProfileServiceImp.java Change-Id: Id39631225bb7fd77ea8eac2e3cc52d490aa48e13 Issue-ID: PORTAL-195 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-02-16Added JunitsGUJJA12-268/+2234
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>
2018-02-13Unit Test Case for PersUserWidgetServiceImpl.javaHari Om Verma1-0/+145
Added JUnit test cases for PersUserWidgetServiceImpl.java Change-Id: I21ba2fbe3ddc230db9d67e85b8a9d1ea6944c6aa Issue-ID: PORTAL-192 Signed-off-by: Hari Om Verma <hv00482922@techmahindra.com>
2018-02-08Added Junitskg811t48-332/+3995
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>
2018-02-08check if localsession object null before closingHavaldar Girish1-1/+3
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>
2018-02-01Security/ Package Name changesst782s463-9279/+17026
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>
2017-12-18Null check for ClientResponse in PolicyUril.javaHavaldar Girish1-1/+4
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>
2017-10-27Enhance authentication to fix a vulnerabilityChristopher Lott (cl778h)2-44/+51
Issue: PORTAL-137 Change-Id: I7e2a5544653ac2067da7231d878009b260dc740f Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-10-12Repair Portal user-role assignmentChristopher Lott (cl778h)1-1/+1
Issue: PORTAL-125 Change-Id: Ib8006c301d059d954b681a11a955924843548c6b Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-10-04Repair widget-ms problem; adjust sonar in pomsChristopher Lott (cl778h)3-357/+455
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)1-10/+6
[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-02Enable sonar code coverage with oparentGary Wu1-68/+0
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-09-29Use version 1.3.0 (no -SNAPSHOT)Christopher Lott (cl778h)1-1/+1
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)11-121/+319
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-28Update license; improve coverage; add docs dirChristopher Lott (cl778h)427-5578/+16293
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-25MariaDB Connector and Sonar Scans; clean nlChristopher Lott (cl778h)196-335/+16610
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-08Repair search and timeout defectsChristopher Lott (cl778h)6-858/+1329
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-06Remove unused files with company keywordsChristopher Lott (cl778h)10-16/+92
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)2-5/+9
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)3-18/+30
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>