Expand CPS Service Integration Test (framework) 01/133401/4
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 23 Feb 2023 15:49:40 +0000 (15:49 +0000)
committerToineSiebelink <toine.siebelink@est.tech>
Mon, 27 Feb 2023 16:11:01 +0000 (16:11 +0000)
commit048350463a68b774f42e80e94afe16a541711ae4
tree56d9d921813419d39fdd5e9cb7ebe47109f046ca
parent003de55a8e6c53643032731e68edc43c0698fd81
Expand CPS Service Integration Test (framework)

- Created package structure
- Created several test bases
- Created complete test set for Admin service
- Created first test for Data service
- Added human-readable toString() to FetchDescendantsOption for test reporting and debuging purposes
- Renamed fetch descendants (enum) direct children option for consistency with others options
- TODO: Add sample performance test (and base)

Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I75317686161be41662b6bf81314a9cd425ddd6eb
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyCmHandlerQueryServiceImpl.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyCmHandlerQueryServiceSpec.groovy
cps-service/src/main/java/org/onap/cps/spi/FetchDescendantsOption.java
cps-service/src/test/groovy/org/onap/cps/api/impl/CpsQueryServiceImplSpec.groovy
cps-service/src/test/groovy/org/onap/cps/spi/FetchDescendantsOptionSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/CpsPersistenceSpec.groovy [deleted file]
integration-test/src/test/groovy/org/onap/cps/integration/base/BookstoreSpecBase.groovy [new file with mode: 0644]
integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy [moved from integration-test/src/test/groovy/org/onap/cps/integration/CpsIntegrationSpecBase.groovy with 54% similarity]
integration-test/src/test/groovy/org/onap/cps/integration/base/TestConfig.groovy [moved from integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy with 99% similarity]
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsAdminServiceIntegrationSpec.groovy [new file with mode: 0644]
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsDataServiceIntegrationSpec.groovy [new file with mode: 0644]