Rishi.Chail [Sun, 24 Jan 2021 20:33:50 +0000 (20:33 +0000)]
Ensure CPS REST API Specs conform to ONAP standards
Issue-ID: CPS-25
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I289248b0f67949a2b9515932628edd4a7bd77a58
niamhcore [Fri, 22 Jan 2021 14:05:00 +0000 (14:05 +0000)]
Add DataNodeDoesNotExist Exception
Issue-ID: CPS-182
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I05fdd0fbc207e4806c187b96d35d7b6c54b795ea
Rishi.Chail [Sun, 24 Jan 2021 03:50:20 +0000 (03:50 +0000)]
Fix SonarQube Violations
Issue-ID: CPS-89
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I72e734929b464072e23b08a1e213b5fac31ff710
Rishi.Chail [Sat, 23 Jan 2021 21:04:56 +0000 (21:04 +0000)]
Review and update INFO.yaml
Issue-ID: CPS-215
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Ia74cbe7bbe6b3b364a4edc15641107a3a9b6ab62
Rishi.Chail [Fri, 22 Jan 2021 15:05:03 +0000 (15:05 +0000)]
Retrieve an Anchor for a given dataspace by anchor name - REST layer
Issue-ID: CPS-186
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I2dceb582c6277e56400dfbc46340c70d814603ee
Rishi.Chail [Thu, 21 Jan 2021 19:14:24 +0000 (19:14 +0000)]
Retrieve an Anchor for a given dataspace by anchor name - Service layer
Part of story already done in CPS-135
Issue-ID: CPS-55
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I0c4ae551f5c85866ce543fbb27b18ffff7d80462
Toine Siebelink [Fri, 22 Jan 2021 15:32:19 +0000 (15:32 +0000)]
Merge "Enable log level management via actuator, /cps/api path to use for REST controllers only only"
Rishi.Chail [Thu, 21 Jan 2021 17:18:17 +0000 (17:18 +0000)]
Remove Module Table
Issue-ID: CPS-185
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Id93b3ec4dec27184bc46767146d9801063f54916
niamhcore [Tue, 19 Jan 2021 12:45:44 +0000 (12:45 +0000)]
Add another Child to a Fragment that has already at least one Child
Issue-ID: CPS-164
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ib6a4f8ce4fc9247726e016ecaa0b1e45ff11bdbb
Toine Siebelink [Fri, 22 Jan 2021 10:53:24 +0000 (10:53 +0000)]
Merge "ZIP archive support for multiple YANG files delivery on Schema Set creation using REST"
Claudio David Gasparini [Wed, 20 Jan 2021 10:42:19 +0000 (11:42 +0100)]
Move jib plugin configuration from parent
and leave profile generating container under single module
responsible of such task
Issue-ID: CPS-22
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Iaf4b0d6ef8211aab0556288912a6a49bf4c98bfd
Toine Siebelink [Fri, 22 Jan 2021 09:33:55 +0000 (09:33 +0000)]
Merge "Introduce caffeine cache"
Claudio David Gasparini [Wed, 13 Jan 2021 18:12:25 +0000 (19:12 +0100)]
Introduce caffeine cache
Issue-ID: CPS-163
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Iff9b831c2d895d82aff419f60a8dd86a38b545d0
Toine Siebelink [Thu, 21 Jan 2021 17:48:52 +0000 (17:48 +0000)]
Merge "Add checkstyle rule for unused imports"
Ruslan Kashapov [Thu, 21 Jan 2021 07:37:05 +0000 (09:37 +0200)]
Enable log level management via actuator, /cps/api path to use for REST controllers only only
Issue-ID: CPS-158
Change-Id: I1f9ff4429f331ca4204d1acaf73ac896a68994d0
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Claudio David Gasparini [Thu, 21 Jan 2021 11:54:38 +0000 (12:54 +0100)]
Add checkstyle rule for unused imports
Issue-ID: CPS-89
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I2cb1f758c9d2f451c11a607a84e1f196ae087165
ToineSiebelink [Thu, 21 Jan 2021 11:13:55 +0000 (11:13 +0000)]
Fix sonarqube violations
Issue-ID: CPS-89
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I8ce5f6fedb5d7c4d6c17d419b759b9d836f94ae9
Ruslan Kashapov [Tue, 19 Jan 2021 15:57:00 +0000 (17:57 +0200)]
ZIP archive support for multiple YANG files delivery on Schema Set creation using REST
Issue-ID: CPS-180
Change-Id: I7e78a595593b170b981746e9aed1a7e5a45b202a
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Rishi.Chail [Tue, 19 Jan 2021 12:38:28 +0000 (12:38 +0000)]
Test E2E Network Slicing model with CPS
Added TC with yang schema sets which are base for E2E Network slicing
Issue-ID: CPS-169
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I7f082833880157a1711b5a380697c8ba75a1a39f
Ruslan Kashapov [Mon, 11 Jan 2021 13:34:10 +0000 (15:34 +0200)]
Delete schema set - REST and service layers
Issue-ID: CPS-121
Change-Id: I0fe885c79f98c994a8ac25a59b77b99eee4b3076
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Ruslan Kashapov [Mon, 11 Jan 2021 13:34:10 +0000 (15:34 +0200)]
Delete schema set - persistence layer
Issue-ID: CPS-121
Change-Id: I6fc8343969971b76d7f78ad202dd8ec1058c03fb
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Toine Siebelink [Mon, 18 Jan 2021 12:38:57 +0000 (12:38 +0000)]
Merge "Persisting data nodes (fragments tree structure)"
Toine Siebelink [Mon, 18 Jan 2021 10:43:46 +0000 (10:43 +0000)]
Merge "Configure coverage per module for cps-service"
niamhcore [Mon, 11 Jan 2021 17:14:08 +0000 (17:14 +0000)]
Persisting data nodes (fragments tree structure)
Issue-ID: CPS-136
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I559afad41bf0eab1cc98c777a418b348c9c1b81c
Rishi.Chail [Mon, 18 Jan 2021 07:56:07 +0000 (07:56 +0000)]
Fix code smell
Issue-ID: CPS-89
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I35615ff650c6b22391729513cb9185fd5986a285
Claudio David Gasparini [Fri, 15 Jan 2021 13:08:34 +0000 (14:08 +0100)]
Configure coverage per module for cps-service
Set global minimum to 90 % coverage
Set specific minimum for cps-service, once achieved
the 90 all modules should respect this minimum
Issue-ID: CPS-87
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I29172e47b907d596ffe983ff16429f44e44f8913
Rishi.Chail [Wed, 6 Jan 2021 13:09:34 +0000 (13:09 +0000)]
Retrieve the SchemaSet resources for an Anchor
Issue-ID: CPS-135
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Ib7c17c5180212c7dd3b96cf27797c84166041cf9
ToineSiebelink [Fri, 15 Jan 2021 09:30:40 +0000 (09:30 +0000)]
SonarQube fixes
- Ignore missed SonarQube violations on SchemaSetAlreadyDefinedException
- Added coverage fro CpsConfig as it will not be covered by MVC tests
Issue-ID: CPS-89
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I52911419dd9556cf078f2a05eab2c7783cbf304f
Rishi Chail [Fri, 15 Jan 2021 07:18:48 +0000 (07:18 +0000)]
Merge "SonarQube fixes"
puthuparambil.aditya [Wed, 13 Jan 2021 12:06:20 +0000 (12:06 +0000)]
Split OpenAPI yaml file
1. components like schema, parameters, responses, requestBodies all moved to components.yml (https://swagger.io/docs/specification/components/)
2. CpAdmin.yml includes the configuration details for cpsAdmin APIs
3. CpsData.yml includes the API configuration details for cpsData
Issue-ID: CPS-155
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I18fb9b8a2be85d180d4625657aca399dbf60b7bc
ToineSiebelink [Thu, 14 Jan 2021 11:29:40 +0000 (11:29 +0000)]
SonarQube fixes
- Ignore SonarQube violations related to inheritance depth for exception classes
- Increase coverage service module
Issue-ID: CPS-89
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I7998dee0f9abea0638639e0587b08febad6075f5
Claudio David Gasparini [Wed, 13 Jan 2021 12:28:07 +0000 (13:28 +0100)]
Fix code coverage for sonar
The get the multi module aggregate report to be consumed
by sonar we are enforced to use full path to all reports.
- 90.4 % coverage detected by sonar achieved
Issue-ID: CPS-87
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I91d81063e7234327cb4458c31fa27601ec22e9cd
Claudio David Gasparini [Wed, 13 Jan 2021 16:42:25 +0000 (17:42 +0100)]
Include aggregate xml report on sonar coverage
Issue-ID: CPS-87
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I50de5df1bc79ff22c90a5cbe2f1b143164c8abea
Toine Siebelink [Wed, 13 Jan 2021 16:25:54 +0000 (16:25 +0000)]
Merge "Rename entity artifacts, remove obsolete entities"
Ruslan Kashapov [Wed, 13 Jan 2021 14:45:29 +0000 (16:45 +0200)]
Rename entity artifacts, remove obsolete entities
Issue-ID: CPS-162
Change-Id: I10604e12a01f22930278118830eed53f5a2b159c
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Claudio David Gasparini [Wed, 13 Jan 2021 12:47:18 +0000 (13:47 +0100)]
Use jacoco aggregate reports
Issue-ID: CPS-87
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: If34831469e3cbc47eacf869f811ac1f057318c82
Ruslan Kashapov [Mon, 11 Jan 2021 14:44:32 +0000 (16:44 +0200)]
Decouple anchor from fragment in persistence module
Issue-ID: CPS-161
Change-Id: Ia446b26ee4eca9281e86bd2be3dd6836aa201597
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Toine Siebelink [Wed, 13 Jan 2021 09:14:45 +0000 (09:14 +0000)]
Merge "Use and configure sonar-maven-plugin"
Claudio David Gasparini [Wed, 13 Jan 2021 07:34:00 +0000 (08:34 +0100)]
Use and configure sonar-maven-plugin
for support multimodule project
Issue-ID: CPS-87
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I5c9ed23069a26ba28461f6c20c9222741333cf3d
Toine Siebelink [Tue, 12 Jan 2021 15:30:20 +0000 (15:30 +0000)]
Merge "Enable spotbugs and fix spotbugs warns"
Rishi.Chail [Tue, 12 Jan 2021 10:39:24 +0000 (10:39 +0000)]
Increase CPS Code Coverage
Disable lombok generated code from coverage.
Issue-ID: CPS-87
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I8f13eb480baddc78c00a5a0c9c0e180252119f2e
Claudio David Gasparini [Mon, 11 Jan 2021 15:42:30 +0000 (16:42 +0100)]
Enable spotbugs and fix spotbugs warns
Issue-ID: CPS-159
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Iee572fd740689a172ca599123b0751b5e909223a
Toine Siebelink [Mon, 11 Jan 2021 14:39:38 +0000 (14:39 +0000)]
Merge "Introduce spotbug plugin"
Claudio David Gasparini [Fri, 18 Dec 2020 13:37:27 +0000 (14:37 +0100)]
Introduce spotbug plugin
Issue-ID: CPS-159
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I889b3009505421621007031fb99a43c5cd30be82
Claudio David Gasparini [Thu, 7 Jan 2021 11:21:38 +0000 (12:21 +0100)]
Rework CpsModulePersistenceService
- remove getModuleReferences
- provide service returning YangTextSchemaSourceSet
Issue-ID: CPS-21
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I61cf6450c8ed8a5154990ea19467e016dc1155b4
Bruno Sakoto [Fri, 8 Jan 2021 17:35:49 +0000 (17:35 +0000)]
Merge "Remove depredcated classes"
Claudio David Gasparini [Thu, 7 Jan 2021 13:30:15 +0000 (14:30 +0100)]
Remove deprecated method
Issue-ID: CPS-130
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Id774f8b080eeb5dcfd78278ed6ef3831d44db711
niamhcore [Thu, 7 Jan 2021 13:49:01 +0000 (13:49 +0000)]
Remove depredcated classes
Issue-ID: CPS-130
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I00974cc565b7eaa07fdf6a03b074c0317d62e077
Ruslan Kashapov [Thu, 10 Dec 2020 08:49:59 +0000 (10:49 +0200)]
Create dataspace
Issue-ID: CPS-134
Change-Id: Ie7f00f9c322a12a6c2a71c1407f6970a7dd24d2d
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
puthuparambil.aditya [Wed, 6 Jan 2021 11:28:08 +0000 (11:28 +0000)]
WebMVC groovy test cases for AdminRestController
Issue-ID: CPS-129
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Id4bdfb7b6602244ae5abac646a9ec9f68f63cad2
Toine Siebelink [Wed, 6 Jan 2021 11:14:31 +0000 (11:14 +0000)]
Merge "Create schema set REST API and service level"
Toine Siebelink [Mon, 4 Jan 2021 14:21:44 +0000 (14:21 +0000)]
Merge "Fix test container remain in docker after tests completion. IMPORTANT."
Ruslan Kashapov [Mon, 28 Dec 2020 08:14:41 +0000 (10:14 +0200)]
Fix test container remain in docker after tests completion. IMPORTANT.
Issue-ID: CPS-124
Change-Id: I6e423792c1a63d0f828577ca01d32366d2e693bb
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Ruslan Kashapov [Thu, 10 Dec 2020 08:49:59 +0000 (10:49 +0200)]
Create schema set REST API and service level
Issue-ID: CPS-123
Change-Id: Ie6d5fd4755454331415af7b80eaf85925efab395
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Toine Siebelink [Thu, 17 Dec 2020 16:04:59 +0000 (16:04 +0000)]
Merge "Redirecting logs to console"
niamhcore [Thu, 17 Dec 2020 12:53:50 +0000 (12:53 +0000)]
Redirecting logs to console
Issue-ID: CPS-10
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ib10a813cf33ad634fc9992b3b3a54a20e2323be1
Rishi Chail [Thu, 17 Dec 2020 12:55:49 +0000 (12:55 +0000)]
Merge "Associate anchor to schema set"
Ruslan Kashapov [Tue, 24 Nov 2020 09:13:43 +0000 (11:13 +0200)]
Associate anchor to schema set
- db schema updated
- db layer tests provided for ancor create and reading by dataspace
- anchor model is removed from rest api as extra
- api/spi updated to use string references instead of object
Issue-ID: CPS-99
Change-Id: Ideeb83fa9e91ec1816308d8327a6589b999c64c5
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
niamhcore [Wed, 16 Dec 2020 15:17:33 +0000 (15:17 +0000)]
Adding logging example
Logging example as part of CPS-10
Issue-ID: CPS-10
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I6428b01d112f27f9e4c9c72ac02236fcc49a6a1c
puthuparambil.aditya [Wed, 16 Dec 2020 16:51:08 +0000 (16:51 +0000)]
Split the CpsRestController.java
1. Changes in openApi.yml tags to cps-admin and cps-data
2. 2 different controllers implementing the corresponding Interfaces generated by the openapi
3. CpsRestExceptionHandler.java modified to handle the exceptions from all the controllers
Issue-ID: CPS-129
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: If4da380771093f2a06946340c015ffa5c39e105d
Toine Siebelink [Thu, 17 Dec 2020 11:26:17 +0000 (11:26 +0000)]
Merge "Enable tests using test containers on jenkins"
Ruslan Kashapov [Thu, 17 Dec 2020 08:38:53 +0000 (10:38 +0200)]
Enable tests using test containers on jenkins
Issue-ID: CPS-124
Change-Id: I77f6242490c1b149a3f3cdd78aa2b349ace95896
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Claudio David Gasparini [Tue, 15 Dec 2020 18:16:15 +0000 (19:16 +0100)]
Decouple YangUtils test
from YangTextSchemaSourceSet test responsabilities.
- Remove deprecated YangUtils method for handle files
Issue-ID: CPS-21
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I971f818a55efd9659481bb13476dd67106cecab7
Claudio David Gasparini [Wed, 9 Dec 2020 12:47:16 +0000 (13:47 +0100)]
List all modules references in a given dataspace and schemas set name
Issue-ID: CPS-21
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I525f780987a201f0c1583367a2c3609488f25290
Toine Siebelink [Wed, 16 Dec 2020 13:08:19 +0000 (13:08 +0000)]
Merge "Few Sonar Fixes Add spock-spring testing"
puthuparambil.aditya [Mon, 14 Dec 2020 15:46:30 +0000 (15:46 +0000)]
Few Sonar Fixes
Add spock-spring testing
Issue-ID: CPS-89
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I1e12fb56916e2123fc1d29bdf1524accbb9eeffd
Claudio David Gasparini [Mon, 14 Dec 2020 08:49:13 +0000 (09:49 +0100)]
Introduce YangTextSchemaSourceSet
Common interface among all layers.
YangTextSchemaSourceSet responsability is to provide all
yang model required information of an YangSchema.
Issue-ID: CPS-21
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I9cba490dec25defbddbb3524c6d6c1535bee63bc
Toine Siebelink [Mon, 14 Dec 2020 15:20:58 +0000 (15:20 +0000)]
Merge "Yang resource name persistence"
Ruslan Kashapov [Thu, 10 Dec 2020 08:49:59 +0000 (10:49 +0200)]
Yang resource name persistence
Issue-ID: CPS-125
Change-Id: I5ee2e893dd7c30abe86287150e8bef62966dd909
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
niamhcore [Fri, 11 Dec 2020 12:37:35 +0000 (12:37 +0000)]
Remove depredcated code/classes
Issue-ID: CPS-93
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I49db5244400d5eb4206d59e73aaf801b7f90c61c
puthuparambil.aditya [Thu, 10 Dec 2020 16:49:53 +0000 (16:49 +0000)]
Retrieve All anchors for a given Dataspace
Issue-ID: CPS-8
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Idb2e4f83d390f078345e556d89781e0bf4a9a41f
ToineSiebelink [Thu, 10 Dec 2020 14:38:34 +0000 (14:38 +0000)]
Fixing Merge Issue
Issue-ID: N/A
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I03ccd5f2dd260af6ef28524d8a44114c516dfb19
Bruno Sakoto [Thu, 10 Dec 2020 13:29:14 +0000 (13:29 +0000)]
Merge "Improve CPS Exception handling"
ToineSiebelink [Tue, 8 Dec 2020 12:08:31 +0000 (12:08 +0000)]
Improve CPS Exception handling
- 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>
Toine Siebelink [Tue, 8 Dec 2020 14:06:14 +0000 (14:06 +0000)]
Merge "Persistence layer testing incl CpsModulePersistenceService testing"
Ruslan Kashapov [Tue, 24 Nov 2020 09:13:43 +0000 (11:13 +0200)]
Persistence layer testing incl CpsModulePersistenceService testing
Issue-ID: CPS-95
Change-Id: I5eba5f6953f483304ff3864914e7a6c9b2bb3f56
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Toine Siebelink [Mon, 7 Dec 2020 15:02:15 +0000 (15:02 +0000)]
Merge "Add DistributionManagement to checkstyle pom"
niamhcore [Mon, 30 Nov 2020 14:39:28 +0000 (14:39 +0000)]
Create Common Model objects in SPI
Issue-ID: CPS-100
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I8ba54cc5d881d9d5f18b77a54ae28d3dda8412c1
Toine Siebelink [Mon, 7 Dec 2020 14:04:21 +0000 (14:04 +0000)]
Merge "CPS Exception handling - extending the CPSValidationException"
puthuparambil.aditya [Sun, 6 Dec 2020 22:18:16 +0000 (22:18 +0000)]
CPS Exception handling - extending the CPSValidationException
Issue-ID: CPS-8
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Id0728dad26edd79e3853c0d32c8e27dc7bedd369
Toine Siebelink [Mon, 7 Dec 2020 09:27:25 +0000 (09:27 +0000)]
Merge "Schema Set persistence (store) implementation"
Claudio David Gasparini [Mon, 7 Dec 2020 07:39:56 +0000 (08:39 +0100)]
Add DistributionManagement to checkstyle pom
Issue-ID: CPS-119
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I899cdc00895689a8b010106a8371a69859b7f11b
Ruslan Kashapov [Tue, 24 Nov 2020 09:13:43 +0000 (11:13 +0200)]
Schema Set persistence (store) implementation
Issue-ID: CPS-92
Change-Id: I11257726e4f847e3337d8bafad824853e6a458e2
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Claudio David Gasparini [Wed, 2 Dec 2020 17:47:09 +0000 (18:47 +0100)]
Solve issue with Sonar Job coverage jobs
- 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
Claudio David Gasparini [Tue, 1 Dec 2020 13:53:40 +0000 (14:53 +0100)]
Introduce CPS-checkstyle
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
Claudio David Gasparini [Tue, 1 Dec 2020 14:28:25 +0000 (15:28 +0100)]
Fix checkstyle violations for "final" keyword
Issue-ID: CPS-119
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I871a361937ed30047fe89ff2d2b17499cddad56c
Toine Siebelink [Tue, 1 Dec 2020 15:34:10 +0000 (15:34 +0000)]
Merge "REST level exception handling cleanup"
Toine Siebelink [Tue, 1 Dec 2020 14:07:08 +0000 (14:07 +0000)]
Merge "Xpath builder on data fragmentation"
ToineSiebelink [Tue, 10 Nov 2020 16:32:50 +0000 (16:32 +0000)]
Xpath builder on data fragmentation
Issue-ID: CPS-72
Change-Id: Iab5be2bf0dd7d5540b8880bbf5ab2c6ed9342a9e
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Ruslan Kashapov [Mon, 30 Nov 2020 07:45:09 +0000 (09:45 +0200)]
REST level exception handling cleanup
- 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>
Bruno Sakoto [Mon, 23 Nov 2020 14:52:33 +0000 (09:52 -0500)]
Publish cps-service port with docker compose
Issue-ID: CPS-94
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I10750127640f4953584807b2e0935bbf32c4041b
ToineSiebelink [Tue, 10 Nov 2020 16:32:50 +0000 (16:32 +0000)]
Adding & Testing method for breaking JSON Data into 'fragments'
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>
Toine Siebelink [Thu, 19 Nov 2020 11:52:28 +0000 (11:52 +0000)]
Merge "Fix code smell"
Toine Siebelink [Thu, 19 Nov 2020 11:35:52 +0000 (11:35 +0000)]
Merge "Networking fix for docker compose"
Rishi.Chail [Thu, 19 Nov 2020 11:05:40 +0000 (11:05 +0000)]
Fix code smell
Issue-ID: CPS-89
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I57fbcc57f0d9c03d5757279429afec107d79f49b
niamhcore [Wed, 18 Nov 2020 16:29:15 +0000 (16:29 +0000)]
Fix HTTP response for duplicate module
Issue-ID: CPS-80
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I27b83d671a9f235a4e926ebe9897add36080fd6f
Rishi.Chail [Thu, 19 Nov 2020 06:18:26 +0000 (06:18 +0000)]
Fix name inconsistency of classes
Issue-ID: CPS-90
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I13196084a6ff4a7c4cd23e9e8ba58fa8fffd43bf
Claudio David Gasparini [Wed, 18 Nov 2020 07:38:01 +0000 (08:38 +0100)]
Introduce jacoco-maven-plugin
to enforce the minimum coverage
Issue-ID: CPS-5
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I7552fc65ab78e645c54af993840999e9818816b0
Rishi.Chail [Mon, 9 Nov 2020 03:28:44 +0000 (03:28 +0000)]
VSE: Create an anchor in the given dataspace
Issue-ID: CPS-42
https://jira.onap.org/browse/CPS-42
Signed-off-by: Rishi Chail <rishi.chail@est.tech>
Change-Id: If67be6f13889808da4d9fe830595766af67e4fdf
Ruslan Kashapov [Wed, 18 Nov 2020 08:56:06 +0000 (10:56 +0200)]
Networking fix for docker compose
Issue-ID: CPS-22
JIRA: https://jira.onap.org/browse/CPS-22
Change-Id: If539ede5edc9227bacf06e6d2314c55275199430
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>