Add DB Clean-up to CPS Rest Interface 97/139997/3
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 22 Jan 2025 08:57:39 +0000 (08:57 +0000)
committerToine Siebelink <toine.siebelink@est.tech>
Thu, 23 Jan 2025 11:54:24 +0000 (11:54 +0000)
commitbfd35a4539088ea6aa7773ab4d80d4422b9e22a7
tree159fa214bec1a4b5e80acbeaa098085596231ec8
parent6fb1e85fd1cdb20cb8f64f81c188c29c0391ab2a
Add DB Clean-up to CPS Rest Interface

- add dataspace filter to module cleanup impl
- updated integration test to only delete orphaned modules in relevant dataspaces
  (this also fixes CPS-2571)
- improved labels on admin controller test
- add dataspaces/../clean rest endpoint for cps core
- added 'Regular Maintenance' section to RTD Admin Guide
- consistent spelling of 'CM Handle' in RTD Docs

Issue-ID: CPS-2554
Change-Id: Ica70c3495758f073eaac9eeeadcc0e1be2c8cc1c
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
28 files changed:
cps-rest/docs/openapi/cpsAdmin.yml
cps-rest/docs/openapi/openapi.yml
cps-rest/src/main/java/org/onap/cps/rest/controller/AdminRestController.java
cps-rest/src/test/groovy/org/onap/cps/rest/controller/AdminRestControllerSpec.groovy
cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java
cps-ri/src/main/java/org/onap/cps/ri/repository/SchemaSetRepository.java
cps-service/src/main/java/org/onap/cps/api/CpsModuleService.java
cps-service/src/main/java/org/onap/cps/impl/CpsModuleServiceImpl.java
cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java
cps-service/src/test/groovy/org/onap/cps/impl/CpsModuleServiceImplSpec.groovy
docs/admin-guide.rst
docs/api/swagger/cps/openapi.yaml
docs/cm-handle-lcm-events.rst
docs/cps-events.rst
docs/cps-ncmp-message-status-codes.rst
docs/cps-scheduled-processes.rst
docs/deployment.rst
docs/modeling.rst
docs/ncmp-data-operation.rst
docs/overview.rst
docs/release-notes.rst
integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/AnchorServiceIntegrationSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/DataspaceServiceIntegrationSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/ModuleServiceIntegrationSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/CmHandleUpgradeSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/ModuleSyncWatchdogIntegrationSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/ModuleQueryPerfTest.groovy