summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-12-11Remove depredcated code/classesniamhcore9-404/+5
Issue-ID: CPS-93 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I49db5244400d5eb4206d59e73aaf801b7f90c61c
2020-12-10Retrieve All anchors for a given Dataspaceputhuparambil.aditya10-4/+86
Issue-ID: CPS-8 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Idb2e4f83d390f078345e556d89781e0bf4a9a41f
2020-12-10Fixing Merge IssueToineSiebelink1-3/+4
Issue-ID: N/A Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I03ccd5f2dd260af6ef28524d8a44114c516dfb19
2020-12-10Merge "Improve CPS Exception handling"Bruno Sakoto22-372/+334
2020-12-10Improve CPS Exception handlingToineSiebelink22-372/+334
- Removing unnecessary level of CPS(Validation)Exception - Moved exception inside spi package - Rename exceptions are per agreed new exception hierarchy - Use new exceptions - Added SchemaSetAlreadDefined Exception - Added AnchorAlreadyDefined Exception - Ensure unique serialVersionUIDs - Fixed CpsAdmin(Persistence)ServiceImplSpec tests (there was a mix-up about what this class was testing) - Replaced exception builder with dedicated exception (constructors) Issue-ID: CPS-8 Change-Id: I9cb80af4951e69ee7b0e99303853955de9d4399f Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2020-12-08Merge "Persistence layer testing incl CpsModulePersistenceService testing"Toine Siebelink9-1/+305
2020-12-08Persistence layer testing incl CpsModulePersistenceService testingRuslan Kashapov9-1/+305
Issue-ID: CPS-95 Change-Id: I5eba5f6953f483304ff3864914e7a6c9b2bb3f56 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-07Merge "Add DistributionManagement to checkstyle pom"Toine Siebelink4-6/+19
2020-12-07Create Common Model objects in SPIniamhcore21-355/+709
Issue-ID: CPS-100 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I8ba54cc5d881d9d5f18b77a54ae28d3dda8412c1
2020-12-07Merge "CPS Exception handling - extending the CPSValidationException"Toine Siebelink3-2/+119
2020-12-07CPS Exception handling - extending the CPSValidationExceptionputhuparambil.aditya3-2/+119
Issue-ID: CPS-8 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Id0728dad26edd79e3853c0d32c8e27dc7bedd369
2020-12-07Merge "Schema Set persistence (store) implementation"Toine Siebelink8-19/+407
2020-12-07Add DistributionManagement to checkstyle pomClaudio David Gasparini4-6/+19
Issue-ID: CPS-119 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I899cdc00895689a8b010106a8371a69859b7f11b
2020-12-03Schema Set persistence (store) implementationRuslan Kashapov8-19/+407
Issue-ID: CPS-92 Change-Id: I11257726e4f847e3337d8bafad824853e6a458e2 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-02Solve issue with Sonar Job coverage jobsClaudio David Gasparini1-5/+7
- Increase coverage need to 20% - use parent parameter surefireArgLine for maven-surefire-plugin - Fix warning platform encoding meanwhile Issue-Id: CPS-122 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I569d0b368a6fa25543be7180b46c4905c4772a5d
2020-12-02Introduce CPS-checkstyleClaudio David Gasparini5-1/+95
new module will define our own java checkstyle. Which should extend any rule desired and not covered already by onap checkstyle Issue-ID: CPS-120 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I956d28770e107658c1b631eb277cff56e13bcf80
2020-12-02Fix checkstyle violations for "final" keywordClaudio David Gasparini13-44/+43
Issue-ID: CPS-119 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I871a361937ed30047fe89ff2d2b17499cddad56c
2020-12-01Merge "REST level exception handling cleanup"Toine Siebelink3-77/+31
2020-12-01Merge "Xpath builder on data fragmentation"Toine Siebelink3-12/+54
2020-12-01Xpath builder on data fragmentationToineSiebelink3-12/+54
Issue-ID: CPS-72 Change-Id: Iab5be2bf0dd7d5540b8880bbf5ab2c6ed9342a9e Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-11-30REST level exception handling cleanupRuslan Kashapov3-77/+31
- removed direct handling of persistence exceptions - error message model is now described via OpenAPI config Issue-ID: CPS-79 Change-Id: Ib460b020ae9c650e1f81b46ab01dab641c953170 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-11-23Publish cps-service port with docker composeBruno Sakoto2-2/+5
Issue-ID: CPS-94 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I10750127640f4953584807b2e0935bbf32c4041b
2020-11-19Adding & Testing method for breaking JSON Data into 'fragments'ToineSiebelink7-47/+326
Improving Bookstore test model https://jira.onap.org/browse/CPS-32 Issue-ID: CPS-32 Change-Id: Ie03e03c041233aa908ab55902c1b387f96eb1c2e Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2020-11-19Merge "Fix code smell"Toine Siebelink1-2/+2
2020-11-19Merge "Networking fix for docker compose"Toine Siebelink1-0/+1
2020-11-19Fix code smellRishi.Chail1-2/+2
Issue-ID: CPS-89 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I57fbcc57f0d9c03d5757279429afec107d79f49b
2020-11-19Fix HTTP response for duplicate moduleniamhcore2-2/+10
Issue-ID: CPS-80 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I27b83d671a9f235a4e926ebe9897add36080fd6f
2020-11-19Fix name inconsistency of classesRishi.Chail10-42/+43
Issue-ID: CPS-90 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I13196084a6ff4a7c4cd23e9e8ba58fa8fffd43bf
2020-11-19Introduce jacoco-maven-pluginClaudio David Gasparini1-18/+54
to enforce the minimum coverage Issue-ID: CPS-5 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I7552fc65ab78e645c54af993840999e9818816b0
2020-11-18VSE: Create an anchor in the given dataspaceRishi.Chail21-161/+496
Issue-ID: CPS-42 https://jira.onap.org/browse/CPS-42 Signed-off-by: Rishi Chail <rishi.chail@est.tech> Change-Id: If67be6f13889808da4d9fe830595766af67e4fdf
2020-11-18Networking fix for docker composeRuslan Kashapov1-0/+1
Issue-ID: CPS-22 JIRA: https://jira.onap.org/browse/CPS-22 Change-Id: If539ede5edc9227bacf06e6d2314c55275199430 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-11-17Fixed Project Name in Top Level POMToineSiebelink1-1/+1
Issue-ID: No Jira Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: If81480f4dde1074c6f0194aa532f962bd85f5557
2020-11-17Add distributionManagementClaudio David Gasparini3-0/+58
Issue-ID: cps-5 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I7eee9c1c53f8e13c65b9c8daad5c0b2e5139dcda
2020-11-17Merge "Fix docker-compose enviroment variables for dbpostgresql service"Rishi Chail1-8/+7
2020-11-16Fix docker-compose enviroment variables for dbpostgresql serviceClaudio David Gasparini1-8/+7
Use correct variables names for service, currents variable names are result of wrong copy&paste Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Ibcaf7725175d8ab7e7fbb5199949e3275f849788
2020-11-16Rename docker profile to lowercaseClaudio David Gasparini1-1/+1
Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I72b5ef5221e3433909e4576cee57310402473ad5
2020-11-16Provide profile for build and deploy dockerClaudio David Gasparini1-16/+51
By default profile will be disable Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I4a605becf195b3f968d71a6ca1a0fd26e9c0a7be
2020-11-16Fix init db schema scriptBruno Sakoto1-62/+63
Issue-ID: CPS-82 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I8c719935b78aaeab9d2f7a0af91b2192df897eb1
2020-11-16Fixing errors in openapi.yamlniamhcore2-17/+2
https://jira.onap.org/browse/CPS-83 Issue-ID: CPS-83 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I665b829b65cebcec6f03951aa1c8a91f59f2269b
2020-11-11Merge "Dockerize the service"Toine Siebelink1-2/+1
2020-11-11Merge "Exception handling on REST unit test"Toine Siebelink1-0/+115
2020-11-10Dockerize the serviceClaudio David Gasparini1-2/+1
- enable push of docker image to repository Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I8d10334f1d4e9528a8ec09a81692639efc3b02f9
2020-11-10Dockerize the serviceClaudio David Gasparini5-1/+75
- automatically generate docker image - provide docker-compose to start the service together with dockerized postgres db Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I846d14e87de50bfb1411e0c9b49e9f6c6cc8ebda
2020-11-10Fix broken branch by adding missing dependencyClaudio David Gasparini3-2/+12
- commons-lang3 Move .gitignore to correct folder Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Ifb24f89c798c1e1f2a6bb8436562a2f98d044b57
2020-11-09Exception handling on REST unit testRuslan Kashapov1-0/+115
Issue-ID: CPS-41 JIRA: https://jira.onap.org/browse/CPS-41 Change-Id: Ieda9c14b7e9c5962bf0b39c168de4c5cc7929d80 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-11-06Move cps files to root dirJessica Wagantall50-36/+2
Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-11-06Merge branch 'cps_poc' of /home/jwagantall/linuxfoundation/onap/IT-20983/originJessica Wagantall50-0/+3177
Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-11-06Merge "Spring Boot Actuator enabled on /manage" into cps_pocToine Siebelink3-0/+17
2020-11-06Merge "Swagger-UI using Spring framework" into cps_pocToine Siebelink6-127/+56
2020-11-06Swagger-UI using Spring frameworkputhuparambil.aditya6-127/+56
JIRA: https://jira.onap.org/browse/CCSDK-2895 Issue-ID: CCSDK-2895 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I6e9e4b93aec25b0dd7a1acd3612140de47320d3c