Fix for cm handles stuck in LOCKED during registration 11/140011/4
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 23 Jan 2025 12:34:40 +0000 (12:34 +0000)
committerToineSiebelink <toine.siebelink@est.tech>
Thu, 23 Jan 2025 15:34:05 +0000 (15:34 +0000)
commit0cb3dec31d5a42ef00e89038aef1625179c8ac00
treeef7028063f090712a3a0692380aecdcf2deb095e
parented797d4a340ed145c71ae2cd805b823b26228304
Fix for cm handles stuck in LOCKED during registration

- Additional Error logging when cm handles fail module sync
- Swallow already defined exception upon schema and/or anchor creation
- Updated integration test to try to reproduce the problem (but couldn't)
- Ignored integration tests that depend/affected by race conditions
  (they are useful for troubleshooting but not for pipeline checks)
- Removed last remnants of springboot retry annotation option (incl dependencies)

Issue-ID: CPS-2576
Change-Id: I910e802268332f955134c043bd1b46a7ec57233b
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
cps-application/src/main/java/org/onap/cps/Application.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncService.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncTasks.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncServiceSpec.groovy
cps-rest/pom.xml
cps-ri/pom.xml
cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java
integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/ModuleSyncWatchdogIntegrationSpec.groovy