summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-02-10Changes made to fix left menu routingSudarshan Kumar2-35/+55
Changes made to fix left menu routing issue with ONAP-PORTAL Issue-ID: PORTAL-795 Change-Id: I0278049c9d9e95b9a64674fa3f99aff0e9d24a06 Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
2020-01-24Remove Sequence Gen Typetatta sunder1-2/+1
Issue-ID: PORTAL-811 Change-Id: I6073780298898f7dc90037cc1db701c49e096c82 Signed-off-by: tatta sunder<statta@research.att.com>
2019-12-16Fix sonar issues in ecomp-portal-BE-commonParshad Patel2-176/+182
A "NullPointerException" could be thrown Replace the type specification in this constructor call with the diamond operator ("<>") Use isEmpty() to check whether the collection is empty or not Issue-ID: PORTAL-562 Change-Id: Idbff965861ec837f058bc0ae7073b359d0fcadcc Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-12-04Domain model changeDominik Mizyn1-1/+3
ORM inheritance implementation in all classes that extend from DomainVo class. This patch also change data source from data.sql to DBInitializingBean that pushing data by hibernate to database. Issue-ID: PORTAL-710 Change-Id: I0f95f7a50facae9f3004ff9f16cdee4e76a39e35 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-29Merge "Fix sonar issues"Manoop Talasila2-67/+53
2019-10-25Fix sonar issuesParshad Patel2-67/+53
Either log or rethrow this exception Change this "try" to a try-with-resources Move string literal on the left side of this string comparison Issue-ID: PORTAL-562 Change-Id: I8966c035bb8c36026172457231f426179bb3ed48 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-10-24Persistent XSS vulnerability in microservices formDominik Mizyn1-9/+4
javax.validation.Validator used to fix this vulnerability issue. Issue-ID: OJSI-19 Change-Id: I6993ca2ef750924a826f86de991ae0d2b47c3b57 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-24Persistent XSS vulnerability in onboardingApps form fixDominik Mizyn1-0/+5
javax.validation.Validator used to fix this vulnerability issue. Issue-ID: OJSI-18 Change-Id: I26ec795a23869c0dccd22c50e4469ae264cb7547 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-24Persistent XSS vulnerability in functionalMenuItem form fixDominik Mizyn2-23/+43
javax.validation.Validator used to fix this vulnerability issue. Issue-ID: OJSI-21 Change-Id: Ie13e17edb4c12c9d60baca7fc85cc46d4480b84b Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-24Persistent XSS vulnerability in basicAuthAccount form fixDominik Mizyn4-6/+31
javax.validation.Validator used to fix this vulnerability issue. Issue-ID: OJSI-20 Change-Id: I2e8188d9dabf634fcaf41b8d42d0f7160cc0886d Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-23Merge "Fix NPE & other sonar issues"Manoop Talasila2-807/+906
2019-10-23Fix NPE & other sonar issuesParshad Patel2-807/+906
Fix A "NullPointerException" could be thrown Add the "@Override" annotation above this method signature Remove the boxing to "Long"; The argument is already of the same type Replace the type specification in this constructor call with the diamond operator ("<>") Issue-ID: PORTAL-562 Change-Id: Ib2d7b8a526f3effce13845a3c2b7abedeb78b042 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-10-21Reflected XSS vulnerability in saveNotification form fix.Dominik Mizyn1-2/+10
javax.validation.Validator used to fix this vulnerability. Issue-ID: OJSI-22 Change-Id: I5837e333f640a398ab6b25e8a0b9f611bb7d3af9 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-16Sonar fix in ecomp-portal-BE-commonParshad Patel4-45/+63
Either log or rethrow this exception Replace the type specification in this constructor call with the diamond operator ("<>") Move the string literal on the left side of this string comparison Define a constant instead of duplicating this literal Issue-ID: PORTAL-562 Change-Id: Ib6dbf729f3dfb9184c4179b8bc3811f0e61a00dd Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-09-19Merge "Fix NPE & other sonar issues"Manoop Talasila3-796/+800
2019-09-19Merge "Sonar fix npe,logger"Manoop Talasila1-10/+12
2019-09-17HealthCheck & Namespace Checkstatta1-1/+2
Issue-ID: PORTAL-723 Change-Id: I97ac3c592ae1f7a6142384d70ac6038ccee1d8fb Signed-off-by: statta <statta@research.att.com>
2019-09-17Sonar fix npe,loggerArindam Mondal1-10/+12
Issue-ID: PORTAL-740 Change-Id: I7828f6ef16b75ba4ca90650eb47f188512a1791d Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-09-17Fix NPE & other sonar issuesParshad Patel3-796/+800
A "NullPointerException" could be thrown Either log or rethrow this exception Use isEmpty() to check whether the collection is empty or not Replace the type specification in this constructor call with the diamond operator ("<>") Issue-ID: PORTAL-562 Change-Id: I7a0317b66a66e2302c77d8244f4a01c93846c466 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-30Reduce number of parametersParshad Patel3-222/+304
Constructor has 12 parameters, which is greater than 7 authorized Issue-ID: PORTAL-562 Change-Id: Ie2007420ab2b3d3b304e0b8dddd8afa7314a79ff Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-29Reduce number of parameters in constructorParshad Patel2-366/+564
Constructor has 24 parameters, which is greater than 7 authorized Issue-ID: PORTAL-562 Change-Id: I155446c6a16af1bcd7b2e8b5e00d3e0ba642bb64 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-28Merge "Reduce number of parameters in constructor"Manoop Talasila2-79/+406
2019-08-27Portal Setup - App issuestatta3-289/+0
Issue-ID: PORTAL-723 Change-Id: Iff1523b2a474f56a74c9fcb9fd850e0e38f6fc68 Signed-off-by: statta <statta@research.att.com>
2019-08-23Onboarding Page Account Admin Changestatta20-105/+543
Issue-ID: PORTAL-644 Change-Id: I95e43b1a2d12dcb5a4bc56d374cc6d30d8aae3f3 Signed-off-by: statta <statta@research.att.com>
2019-08-20Reduce number of parameters in constructorParshad Patel2-79/+406
Constructor has 53 parameters, which is greater than 7 authorized Issue-ID: PORTAL-562 Change-Id: Ia318321b06d17cd9c2c2e8af7274b7a7550abd7a Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-19Merge "Reduce number of parameters in constructor"Manoop Talasila2-78/+397
2019-08-19Reduce number of parameters in constructorParshad Patel2-78/+397
Constructor has 52 parameters, which is greater than 7 authorized Issue-ID: PORTAL-562 Change-Id: Iaee1a1593adb6b8f74decc852af34301c23a5761 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-16Sonar fix in ecomp-portal-BE-commonParshad Patel4-49/+67
Override "equals(Object obj)" to comply with the contract of the "compareTo(T o)" method Make "auditTrail" transient or serializable Reduce the number of conditional operators (4) used in the expression (maximum allowed 3) Issue-ID: PORTAL-562 Change-Id: Ic867eca2d2f57d68bbc902f27bf0eb9753aeeaa1 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-13Merge "Fix sonar issues in portal"Manoop Talasila1-0/+1
2019-08-13Merge "AppsControllerExternalRequest class fix"Manoop Talasila1-196/+156
2019-08-13Merge "ExternalRoleDetails class fix"Manoop Talasila1-59/+8
2019-08-13Merge "EPUserUtils class fix"Manoop Talasila2-44/+24
2019-08-13Merge "SchedulerRestInterface class fix"Manoop Talasila2-68/+41
2019-08-13Merge "NotificationCleanupConfig class fix"Manoop Talasila1-8/+10
2019-08-13Merge "SchedulerController class fix"Manoop Talasila1-53/+53
2019-08-06Fix sonar issues in portalParshad Patel1-0/+1
Use a logger to log this exception Make sure creating this cookie without the "secure" flag is safe here Either re-interrupt this method or rethrow the "InterruptedException" Issue-ID: PORTAL-562 Change-Id: I91d6adce835d9adec4328642e8445f074f7d2d57 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-06AppsControllerExternalRequest class fixDominik Mizyn1-196/+156
Sonar errors fix in class AppsControllerExternalRequest Issue-ID: PORTAL-664 Change-Id: If89e9fa62525c46abc369df4bf4c760cee3abb8a Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-01Fix for NullPointerException in ecomp-portal-BE-commonParshad Patel2-58/+83
A "NullPointerException" could be thrown; "epUser" is nullable here Either log or rethrow this exception Issue-ID: PORTAL-562 Change-Id: I11a72534f75efec474f49f8a5cb66affb810348f Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-07-31Merge "Fix null pointer exception"Manoop Talasila1-3/+3
2019-07-31Merge "General sonar fixes"Manoop Talasila2-26/+16
2019-07-23Fix null pointer exceptionArindam Mondal1-3/+3
+) Fix NPE ++) implement equals instead of == Issue-ID: PORTAL-680 Change-Id: I3a0df60b6171b114afc841b40838f6a4484370ee Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-07-22Merge "XSS Vulnerability fix in DashboardController"Manoop Talasila3-62/+76
2019-07-22Merge "XSS Vulnerability fix in ↵Manoop Talasila3-94/+166
ExternalAccessRolesControllerDashboardController"
2019-07-22Merge "XSS Vulnerability fix in AuxApiRequestMapperController"Manoop Talasila4-20/+124
2019-07-22Merge "XSS Vulnerability fix in SharedContextRestController"Manoop Talasila2-52/+119
2019-07-22Merge "XSS Vulnerability fix in WidgetsController"Manoop Talasila2-21/+59
2019-07-22Merge "XSS Vulnerability fix in AuditLogController"Manoop Talasila1-19/+41
2019-07-22Merge "XSS Vulnerability fix in AppContactUsController"Manoop Talasila2-51/+68
2019-07-22General sonar fixesArindam Mondal2-26/+16
+) removed unused imports and done formatting Issue-ID: PORTAL-680 Change-Id: I1f6ceca61dfc59726cc9e5f7ad802e5c9b0f4d6e Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-07-16EPUserUtils class fixDominik Mizyn2-44/+24
Sonar errors EPUserUtils class fix Issue-ID: PORTAL-667 Change-Id: I7a8a39ac52ee2da5d2c2ab0016a8bbea0acb4d21 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>