Move integration test (DataService) 97/134797/3
authorToineSiebelink <toine.siebelink@est.tech>
Tue, 23 May 2023 08:30:37 +0000 (09:30 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Mon, 12 Jun 2023 13:59:38 +0000 (14:59 +0100)
commit240ac3d9cd8107250574dd0f7221ae2f1afa3bd7
tree1677ef197e3b785a79d12418c9554b9f25ad4975
parentb3b44d9aa4e71c4264df140ffff27b5ba4c44e82
Move integration test (DataService)

- Moved all Data Intergation Test
- Added/improved some module Moudle Servcie test too
- Removed some unused (impossible) code-paths in prod code
- Replaced null's with meaningful strings (in edge case scenarios)
- Replaced @Shared with static (shorter) in some test

Issue-ID: CPS-1687
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ib4b1ec1706ace7e3f5ac03d85177a6f7d4f6b8d0
cps-ri/pom.xml
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceIntegrationSpec.groovy [deleted file]
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/base/FunctionalSpecBase.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsDataServiceIntegrationSpec.groovy
integration-test/src/test/resources/data/bookstore/bookstore.yang