summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-05-02Fix Sonar Bugs NullPointersk.kazak2-88/+123
Fix Sonar bugs - potential NullPointerException in portal-BE-common: ExternalAppsRestfulController and ApplicationRestClientServiceImpl Changed Tests for updated method in ExternalAppsRestfulController Added new test Formatted according to ONAP formatting guidelines Change-Id: I7c0587127e32ba3f06a138a0b4b2526fa10ea1f6 Issue-ID: PORTAL-556 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-29Fix Sonar Bugs NullPointersk.kazak3-1/+78
Fix Sonar bugs - potential NullPointerException Remove unused code Add/Update Tests for updated methods Change-Id: Iaf28a0ee5f6507da1caf4b497e2d73bf35bc0b58 Issue-ID: PORTAL-556 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-19Sonar fix too mnay method paramArindam Mondal2-42/+42
+) Reduced too many method param ++) Code format Issue-ID: PORTAL-561 Change-Id: I2c27344477b318ab0f1a77442579be459c3597fd Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-03-20CADI AAF Integration and merging the codehb123f16-363/+446
Issue-ID: PORTAL-319 CADI AAF Integration and code merge Change-Id: I6e44f3b2741858d8d403b77a49ec9a0153084801 Signed-off-by: hb123f <hbindu@research.att.com>
2018-10-09Merge "added a test in CustomLogginFilterTest.java"Manoop Talasila1-31/+43
2018-10-09Merge "Add roles to user"Manoop Talasila2-46/+2
2018-10-09Add roles to userKotta, Shireesha (sk434m)2-46/+2
Issue-ID: PORTAL-432 add roles to user when the app is centralized Change-Id: I46a782be24ea1804597dc7205bf98170731ffe4d Signed-off-by: Kotta, Shireesha (sk434m) <shireesha.kotta@att.com>
2018-10-09Merge "test equality in EPUserAppRolesRequestTest.java"Manoop Talasila1-40/+160
2018-10-09Merge "test added MusicCookieCsrfTokenRepository.java"Manoop Talasila1-0/+71
2018-10-09Merge "test cases for the remaining lines of equal method"Manoop Talasila1-21/+39
2018-10-09Merge "test covered for comparetTo method in EPUser.java"Manoop Talasila1-103/+110
2018-10-09Merge "added test cases in EPRoleTest.java"Manoop Talasila1-53/+65
2018-10-04test added MusicCookieCsrfTokenRepository.javaasgar1-0/+71
Change-Id: I9791e63f64aa6e37a422d878c45274a39e3afdf2 Issue-ID: PORTAL-428 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-10-03added a test in CustomLogginFilterTest.javaasgar1-31/+43
Change-Id: Ib801f9ab42486d51fa64b6575124e5668a48c853 Issue-ID: PORTAL-427 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-10-03test equality in EPUserAppRolesRequestTest.javaasgar1-40/+160
Change-Id: Ib8e9ff486af57ee03c7f47749d7a040c5ae9d4a0 Issue-ID: PORTAL-426 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-10-01Merge "test cases added for PortalRestResponse.java"Manoop Talasila1-0/+74
2018-09-28test covered for comparetTo method in EPUser.javaasgar1-103/+110
Change-Id: I7a171068a878f4500af0996d0a7123d2472fef18 Issue-ID: PORTAL-413 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-28added test cases in EPRoleTest.javaasgar1-53/+65
Change-Id: Ib50643fa9d07948b5bd5815b126c937397dc4454 Issue-ID: PORTAL-411 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-27test cases for the remaining lines of equal methodasgar1-21/+39
Change-Id: Ia96a9ee1f4f7cd286202f7abeefc0548227fa79a Issue-ID: PORTAL-409 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-26test cases added for PortalRestResponse.javaasgar1-0/+74
Change-Id: I974be70db1b036be3eea57cfaf1359d1bfea9407 Issue-ID: PORTAL-404 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-26equals method covered in EPUserApp.javaasgar1-72/+116
Change-Id: Ib804ca53a4c308a3c2710acc2efdd351d103047a Issue-ID: PORTAL-403 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-07-30JUnits for coveragesa282w42-335/+2949
Issue-ID: PORTAL-273 JUnits for sonar coverage Change-Id: Icb88d8563164281d29877bbc2de9c8f1f780aa0c Signed-off-by: sa282w <sa282w@att.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 apissa282w3-0/+305
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)19-229/+1605
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 Elisetty151-151/+151
Issue-ID: PORTAL-19 Remove ecomp trademark Change-Id: I76311f2ab10b2c0d406415ea2f922d1aad993e21 Signed-off-by: Hima Elisetty <hbindu@research.att.com>
2018-03-23Security fixesKishore Reddy, Gujja (kg811t)1-1/+1
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)3-18/+171
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-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)1-1/+1
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 JunitsGujja2-37/+404
Issue-ID: PORTAL-155 Includes JUNITS, security issues fix Change-Id: I7c4032808163c46bf53477195823c7ed9dc99edc Signed-off-by:GUJJA <kg811t@research.att.com>
2018-02-26Added JunitsGUJJA6-85/+1050
Issue-ID: PORTAL-207 Includes JUNITS Change-Id: If0befc3456e15106ac1f79e4c4462c072beeeec3 Signed-off-by:GUJJA <kg811t@research.att.com>
2018-02-23Merge "Added Junits"Manoop Talasila6-5/+573
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 JunitsGUJJA6-5/+573
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 JunitsGUJJA5-132/+2080
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 Junitskg811t15-209/+3634
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-01Security/ Package Name changesst782s141-1765/+2970
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-09-28Update license in non-Java files.Christopher Lott (cl778h)1-11/+29
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)140-1067/+5684
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)128-0/+12400
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-08-25Enable junit test cases and fix defects.Christopher Lott (cl778h)1-3/+3
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>