summaryrefslogtreecommitdiffstats
path: root/portal-BE/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-12-17Dao object moved from dao packege to package by component in service folderDominik Mizyn107-402/+1047
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 Mizyn1-3/+2
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-04Domain model changeDominik Mizyn188-2517/+6249
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 Mizyn35-1556/+3491
putAppWithUserRoleStateForUser() up Issue-ID: PORTAL-710 Change-Id: Ie0d03fc28d684bb0362901b0ec108941e70f6b9c Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-11-18UserRolesController methods upDominik Mizyn15-300/+1333
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-25Fix sonar issuesParshad Patel1-1/+1
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-16password moved from hard coded values to environment propertiesDominik Mizyn1-2/+2
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-14mysql-connector-java to mariadb-java-client changeDominik Mizyn12-16/+108
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 Mizyn17-49/+1623
UserRolesController checkIfUserIsSuperAdmin up + tests Issue-ID: PORTAL-710 Change-Id: I1e483f2aafa064bbe9b98b46bb9c45e07b265978 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-07WidgetsController test coverage upDominik Mizyn10-96/+277
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 Mizyn14-85/+214
Tests coverage up and some minor bug fixes Issue-ID: PORTAL-710 Change-Id: I1abb5025f8cc91738c976bd6a49113776d9b4617 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-03Tests coverage up and some minor bug fixesDominik Mizyn14-41/+76
Tests coverage up and some minor bug fixes Issue-ID: PORTAL-710 Change-Id: I796bc731dec6fedae92cac2a659b27f2c0f6d406 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-03WidgetsCatalogControllerTest upDominik Mizyn7-66/+62
WidgetsCatalogControllerTest up Issue-ID: PORTAL-710 Change-Id: I09c2ee9ab72108b2f62939a3a5ac2441376774e2 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-03WidgetMSController and WebAnalyticsExtAppVersionController UpDominik Mizyn4-0/+474
WidgetMSController, WebAnalyticsExtAppVersionController, WebAnalyticsExtAppController Up Issue-ID: PORTAL-710 Change-Id: Ie1d775e9122aa17d8ee709e793fb6a42d60c91ed Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-10-03Login fixDominik Mizyn1-49/+49
Login fix Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I37aea592474eb662b6e7cefcc73549297e6a653b
2019-09-17Sonar fix npe,loggerArindam Mondal1-2/+5
Issue-ID: PORTAL-740 Change-Id: I7828f6ef16b75ba4ca90650eb47f188512a1791d Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-09-11WidgetsControllerTest upDominik Mizyn7-921/+109
WidgetsControllerTest up Issue-ID: PORTAL-710 Change-Id: Ia1e5c40599bd9f89a8d1b5a856571332bc6ebfe1 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10WidgetsCatalogController upDominik Mizyn8-3/+756
WidgetsCatalogController up Issue-ID: PORTAL-710 Change-Id: Ie890b499cd5b2af90755584ce636193cc2536473 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10WidgetsCatalogMarkupController upDominik Mizyn14-55/+206
WidgetsCatalogMarkupController up Issue-ID: PORTAL-710 Change-Id: Ie8b58f17ec195f7facd94315c5f24181757c1c2a Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10WidgetsController UpDominik Mizyn6-15/+343
WidgetsController putWidgetCatalogSelection Up Issue-ID: PORTAL-710 Change-Id: I76c96d302922e69b113c419f62a4df1bc54a88bc Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10WidgetsController UpDominik Mizyn8-48/+387
WidgetsController putOnboardingWidget Up Issue-ID: PORTAL-710 Change-Id: I7814f090c1976633d1565020e47dfba46a06c102 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10WidgetsController UpDominik Mizyn10-15/+1151
WidgetsController Up Issue-ID: PORTAL-710 Change-Id: I4745e1bf2322f9a9777b79ad2b6b7a2abf6faa47 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10portal-BE documentation upDominik Mizyn1-1/+1
Documentation up Issue-ID: PORTAL-710 Change-Id: I87e78123b5bc4133d5699c1e32af9e8a5b70c535 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> portal-BE documentation up Documentation up Issue-ID: PORTAL-710 Change-Id: I87e78123b5bc4133d5699c1e32af9e8a5b70c535 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> portal-BE documentation up Documentation up Issue-ID: PORTAL-710 Change-Id: I87e78123b5bc4133d5699c1e32af9e8a5b70c535 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10Docker-compose upDominik Mizyn4-43/+47
Docker-compose for Portal-APP and MaridDB Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I5031c524ef109da044f484555fb1319f2ad7092f Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10Coverity Scan issues fixDominik Mizyn103-342/+501
Coverity Scan issues fix Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I61649f1c5da83ee6e01745fc636be6de46a66c45 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-09-10Ecomp DTO upDominik Mizyn68-9/+5874
Ecomp DTO up Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: Iad272f686c2a7864f9214531bdc5fe0982932185
2019-09-05Add equals & hascode methodsParshad Patel4-28/+109
Override "equals(Object obj)" to comply with the contract of the "compareTo(T o)" method Either log or rethrow this exception Issue-ID: PORTAL-562 Change-Id: Ied48f77e47fcd697648e9f76b0100e9936ee214e Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-28Transport DTO upDominik Mizyn95-147/+4477
Transport DTO up and some minor fixes Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I867164cb1f562d394f13efa6b3a9d27fb903755e
2019-08-27Tests Coverage upDominik Mizyn5-31/+36
Tests Coverage up Issue-ID: PORTAL-710 Change-Id: Iac9e4203613930b905779b45bab83ddfe82bea74 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-26UserController tests upDominik Mizyn3-57/+100
UserController tests up Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: Ic7cd8926d7daa5dcbf746d1315d3cf5123f094ac
2019-08-26UserController upDominik Mizyn3-1/+180
UserController up Issue-ID: PORTAL-710 Change-Id: I2b7868b4fd5b01e7c04f3c163f62f50407e268f5 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-26Hibernate db fixDominik Mizyn61-199/+1483
Hibernate db fix + tests up Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I9b799399c08918322e9665e44b42b2e59bb7420b
2019-08-22LanguageController tests upDominik Mizyn10-37/+235
LanguageController tests up Issue-ID: PORTAL-710 Change-Id: I1236e3ee62aca3d07cc6d0f6c61a410a8847f281 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-22Postman tests upDominik Mizyn4-6/+11
Postman tests up Issue-ID: PORTAL-710 Change-Id: I2bdb4ba12b35f7c17014eff2a68fd5534e307bbd Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-22Portal Spring Boot DevelopmentDominik Mizyn6-5/+294
LanguageController AOP, Tests Up Issue-ID: PORTAL-710 Change-Id: Ib02651e42eac7273d288a4e34ee8671b21b0b970 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-22Portal Spring Boot DevelopmentDominik Mizyn2-0/+100
LanguageController Up Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: Iaf9074e9e61204a8a40c8dcb7dc6b0df7bcfbe3a
2019-08-22Portal Spring Boot DevelopmentDominik Mizyn5-0/+233
FnLanguageService and FnLanguageDao up Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: Ib2ec0a435e50ab0d05602433fa91f6c6ca420a10
2019-08-21Portal Spring Boot DevelopmentDominik Mizyn14-18/+757
Spring Security/Session up Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I1d2aa22977d5eff43fd9f7e6a964b9446e26593f
2019-08-20Portal Spring Boot DevelopmentDominik Mizyn2-0/+164
FnUser data access object and service up Issue-ID: PORTAL-710 Change-Id: I417c56117adfe7670b4cf90ccca15574dfe6e654 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-20Logging implementationDominik Mizyn5-0/+960
Base logging implementation to project. Issue-ID: PORTAL-705 Change-Id: Ie95a28efdfdce473adca35f7f2cce40c2d1a0df7 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-20Custom Data ValidatorDominik Mizyn2-0/+131
Custom Data Validator to calidate incoming objects. Issue-ID: OJSI-15 Change-Id: Ia2e63adc553facf71733cbf541faa0dfd6287b47 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn26-69/+70
Create classes that represent tables in the original database. Imports fix Issue-ID: PORTAL-705 Change-Id: I6910b57bfdcb14c74b8afc7b9953e585433dd2b2 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn1-0/+77
Create classes that represent tables in the original database. Issue-ID: PORTAL-705 Change-Id: I09879c4ff12e353913dcef32c3869dbd341bb2d9 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn1-0/+120
Create classes that represent tables in the original database. Issue-ID: PORTAL-705 Change-Id: I298051ad4c61c31e2018b23ffee77ed0c59cbdd8 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn2-0/+165
Create classes that represent tables in the original database. Issue-ID: PORTAL-705 Change-Id: I10a8d8ff265dc91c07783f2d2d4edb3aab971805 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn1-0/+136
Create classes that represent tables in the original database. Issue-ID: PORTAL-705 Change-Id: I181b73c2d0b99ccd30146b9ce03cb26bd7ca4e21 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn1-0/+131
Create classes that represent tables in the original database. Issue-ID: PORTAL-705 Change-Id: I7cd9cf98ff8c65535b009a02c99ea21cd6fd6095 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn1-0/+492
Create classes that represent tables in the original database. Issue-ID: PORTAL-705 Change-Id: I8cb7be951008c7155ca56239c6e317ed5b8e07a0 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-08-16Portal Spring Boot version Hibernate implementationDominik Mizyn1-0/+106
Create classes that represent tables in the original database. Issue-ID: PORTAL-705 Change-Id: I2330eb04050afd75c4683c6648482373faa90be5 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>