summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-12-17Merge "Dao object moved from dao packege to package by component in service ↵Lorraine Welch116-459/+1101
folder"
2019-12-17Merge "Deprecated class and annotation change"Lorraine Welch3-51/+18
2019-12-17Merge "NotValidDataException.java-junits"Lorraine Welch1-0/+62
2019-12-17InactiveApplicationException-junitsThugutla sailakshmi2-0/+60
Issue-ID: PORTAL-797 Change-Id: I46796b1aa25d781be9e189a2dbbd41594b568ef2 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-17InvalidUserRoleException-junitsThugutla sailakshmi2-0/+60
Issue-ID: PORTAL-797 Change-Id: I8e143586af7ab2cb0fbfa2b4657e714807c6cfe2 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-17NonCentralizedAppException-junitsThugutla sailakshmi1-0/+49
Issue-ID: PORTAL-797 Change-Id: Ibb4745ef6d4221767c63ed1d6ce032f934be2fcd Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-17Dao object moved from dao packege to package by component in service folderDominik Mizyn116-459/+1101
This patch move all services from single folder to separete folders. All DAO classes are noc package-private and moved too to this folders, providing encapsulation mechanism. DAO object schould not be directly call from any where else that package type class. Issue-ID: PORTAL-710 Change-Id: I3c0edd9eaa8260849ca716dd6244cf4c83ec783c Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-12-17Deprecated class and annotation changeDominik Mizyn3-51/+18
javax.validation.constraints.Email, javax.validation.constraints.NotBlank in ProfileDetail.java class changed to import org.hibernate.validator.constraints.Email, import org.hibernate.validator.constraints.NotBlank Minor change: @RunWith(MockitoJUnitRunner.class) -> @RunWith(SpringRunner.class) Issue-ID: PORTAL-710 Change-Id: I9e249ea293ec05b212d431e6fe877a98f3798ffc Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-12-16Invalid ApplicationExceptionTestThugutla sailakshmi2-2/+62
Issue-ID: PORTAL-797 Change-Id: I649176ac3cd95d314a3fdc6f882c1662337a60c8 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-16InvalidRoleException-junitsThugutla sailakshmi2-0/+62
Issue-ID: PORTAL-797 Change-Id: I8466e6aadb2ceed7d8c959263b43682fe23a4dac Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-16SystemUserRolesException.java-junitsThugutla sailakshmi2-0/+62
Issue-ID: PORTAL-797 Change-Id: Ife4272d992a65f8f5192db41436e0ea318fa36fd Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.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-12application catalog upgraded versionjz385p4-0/+558
Application catalog upgraded version Issue-ID: PORTAL-799 Change-Id: I9bc85a3cd98083342b971fff7d5a140f223c34df Signed-off-by: jegadeeshbabu3 <jegadeesh.babu@att.com>
2019-12-12Added Contact-Us Component and ServiceSudarshan Kumar10-0/+1122
Added Contact-Us Component and Service Issue-ID: PORTAL-795 Change-Id: Iee3fc35385aada55ab37a809a55b0ba254d84c89 Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
2019-12-10Added portal-FE-common - angular upgrade codeSudarshan Kumar11-0/+1337
Added Microservice-Onboarding Component Issue-ID: PORTAL-795 Change-Id: I3cc9836155a5935e754c7ad25929bdd6e5e63e3f Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
2019-12-10Added portal-FE-common - angular upgrade codeSudarshan Kumar150-0/+11767
Added Layout Component- Footeter, global-search, header, header-menu, search-user, sidebar, tabbar, userbar and also added Account Onbaording changes Issue-ID: PORTAL-795 Change-Id: I815add150ba12c868c1b0f80f3dfcdf4ea804d70 Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
2019-12-10ExternalAuthException.java-JunitsThugutla sailakshmi3-1/+63
Issue-ID: PORTAL-797 Change-Id: Ib2a105c9c9a9fbfe3f8f14b3a564ac013262cffb Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-09JUNIT- DeleteDomainObjectFailedException.javaanushadasari1-0/+61
Issue-ID: PORTAL-798 Change-Id: I16bb09a7ed616ec66e7a40c599286ffd88eb3995 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-12-09DuplicateRecordException.java-junitsThugutla sailakshmi1-0/+39
Issue-ID: PORTAL-797 Change-Id: Ic38819566a6197f37cb5c22ce71cc5767d454b25 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-09NotValidDataException.java-junitsThugutla sailakshmi1-0/+62
junits for NotValidDataException.java Issue-ID: PORTAL-797 Change-Id: Id63a2ecc6666e1e47e621e647fabc28dc73668f1 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-12-04Domain model changeDominik Mizyn200-2635/+6329
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-11-20getAppRolesForUser() method up in UserRolesControllerDominik Mizyn28-695/+1974
This patch provid getAppRolesForUser() method up in UserRolesController, minor changes in domain classes and some essential services to provide this method. Issue-ID: PORTAL-710 Change-Id: I3701b580425f10ddf608d7333f9770728d073e1b Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-11-18UserRolesController methods upDominik Mizyn41-1559/+3501
putAppWithUserRoleStateForUser() up Issue-ID: PORTAL-710 Change-Id: Ie0d03fc28d684bb0362901b0ec108941e70f6b9c Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-11-18UserRolesController methods upDominik Mizyn17-300/+1423
readExternalRequestAccess(), getUserAppCatalogRoles(), putAppWithUserRoleRequest(), testGetRoles(), importRolesFromRemoteApplication(), getUsersFromAppEndpoint() up Issue-ID: PORTAL-710 Change-Id: I751d5e412ec85a1a65b0b7d43a023ce6a1915d91 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-29Merge "Fix sonar issues"Manoop Talasila3-68/+54
2019-10-25Fix sonar issuesParshad Patel3-68/+54
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-24Security Vulnerability in pom.xml fixDominik Mizyn2-23/+22
com.att.eelf:eelf-core@1.0.0 -> 1.0.1-oss org.hibernate:hibernate-validator@5.1.3.Final -> 6.0.17.Final org.apache.cxf:cxf-rt-rs-client@3.0.0-milestone1 -> 3.3.3 com.fasterxml.jackson.core:jackson-databind@2.8.10 -> 2.8.11.4 org.elasticsearch:elasticsearch@2.2.0 -> 7.4.1 org.apache.tomcat:tomcat-websocket@8.0.28 -> 9.0.27 org.apache.poi:poi@3.15 -> 4.1.1 org.apache.poi:poi-scratchpad@3.5-FINAL -> 4.1.1 org.quartz-scheduler:quartz@2.2.1 -> 2.3.1 org.bouncycastle:bcprov-jdk15on@1.59 -> 1.64 commons-beanutils:commons-beanutils@1.9.3 -> 1.9.4 com.orbitz.consul:consul-client@0.13.8 -> 1.3.9 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.8.10 -> 2.10.0 org.glassfish:javax.el@2.2.6 -> 3.0.0 javax.el:javax.el-api@2.2.1.b04 -> 3.0.0 org.glassfish.jersey.connectors:jersey-jetty-connector@2.23.1 -> 2.29.1 org.owasp.esapi:esapi@2.1.0.1 -> 2.2.0.0 com.thoughtworks.xstream:xstream@1.4.10 -> 1.4.11.1 com.alibaba:fastjson@1.2.7 -> 1.2.62 Issue-ID: PORTAL-439 Change-Id: Iad0c81e47386dfbc675470cc786c764ff93998a7 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-24Persistent XSS vulnerability in saveNewUser form fixDominik Mizyn1-7/+7
javax.validation.Validator used to fix this vulnerability issue. Issue-ID: OJSI-16 Change-Id: I50a7acc4f7e9294170628fd5b2894ee6cbdba8f0 Signed-off-by: Dominik Mizyn <d.mizyn@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 Mizyn2-0/+32
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 Mizyn3-25/+63
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 Mizyn6-6/+62
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-21Merge changes I5837e333,I340cb721Manoop Talasila3-21/+70
* changes: Reflected XSS vulnerability in saveNotification form fix. Security Vulnerability in pom.xml fix
2019-10-21Reflected XSS vulnerability in saveNotification form fix.Dominik Mizyn2-2/+51
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-18Merge "password moved from hard coded values to environment properties"Manoop Talasila4-11/+11
2019-10-18Security Vulnerability in pom.xml fixDominik Mizyn1-19/+19
Security Vulnerability in pom.xml fix Issue-ID: PORTAL-771 Change-Id: I340cb721595af090617013b739b6708ec9448781 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-16Merge "Sonar fix in ecomp-portal-BE-common"Manoop Talasila4-45/+63
2019-10-16Merge "Updated El-Alto Release Notes"Manoop Talasila1-1/+1
2019-10-16password moved from hard coded values to environment propertiesDominik Mizyn4-11/+11
password moved from hard coded values to environment properties Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I13f2fd2f832af5eb99426082f4a1aa620ce94974 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-10-15Updated El-Alto Release NotesLorraine Welch1-1/+1
Issue-ID: PORTAL-731 Signed-off-by: Lorraine Welch <lb2391@att.com> Change-Id: I77a0b330ef079d3e32c026bc3ec15b4f1f57d7ef
2019-10-14Merge changes I8f2a44e8,I1e483f2a,Ie2473ea0,I1abb5025,I796bc731, ...Manoop Talasila71-419/+3880
* changes: mysql-connector-java to mariadb-java-client change UserRolesController up + tests WidgetsController test coverage up Tests coverage up and some minor bug fixes Tests coverage up and some minor bug fixes WidgetsCatalogControllerTest up docker-compose fix WidgetMSController and WebAnalyticsExtAppVersionController Up Login fix pom.xml fix
2019-10-14mysql-connector-java to mariadb-java-client changeDominik Mizyn14-22/+120
plus changes in services and controllers Issue-ID: PORTAL-710 Change-Id: I8f2a44e889ea39971693f8845efbb9cdff05e932 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-10UserRolesController up + testsDominik Mizyn19-50/+1754
UserRolesController checkIfUserIsSuperAdmin up + tests Issue-ID: PORTAL-710 Change-Id: I1e483f2aafa064bbe9b98b46bb9c45e07b265978 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-09Document fixed OJSI ticketsKrzysztof Opasiak1-0/+3
Issue-ID: OJSI-65 Issue-ID: OJSI-92 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I5c16b0601ec6a27edd98cc07440f29ac7bed80bd (cherry picked from commit e16f6f96b3207fdc3752f2e1f2234ee8b77f3bed)
2019-10-08Adjust security release notes according to the templateKrzysztof Opasiak1-1/+6
Issue-ID: SECCOM-238 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Id95d33400e1ef88ec051e280e7c850c9ec5e05ea (cherry picked from commit 7995eca6ba48a3129fd0c6f1b20b925e0b306999)
2019-10-07WidgetsController test coverage upDominik Mizyn11-115/+389
WidgetsController test coverage up Issue-ID: PORTAL-710 Change-Id: Ie2473ea00ac5cb569a9461060924427d5cceada0 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-04Tests coverage up and some minor bug fixesDominik Mizyn19-113/+479
Tests coverage up and some minor bug fixes Issue-ID: PORTAL-710 Change-Id: I1abb5025f8cc91738c976bd6a49113776d9b4617 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>