From 42dfa67015d7478eca07eb5778ec55c2c24c19a5 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Fri, 1 Nov 2024 17:36:42 +0000 Subject: [Module Sync] Store CM-handle IDs in work queue This fixes bug CPS-2474, handling various edge cases, such as CM handles being deleted during module sync. - Change moduleSyncWorkQueue to store CmHandleId instead of DataNode. - Freshly fetch Cm Handles in module sync task, so latest CM-handle state is used, and only process ADVISED CM handles in module sync. Issue-ID: CPS-2474 Signed-off-by: danielhanrahan Change-Id: I53d5796c56014a2bfbe5b1c3f17d3991e4feef53 --- .../groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration-test/src/test') diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy index 69cc087874..0725fe82d0 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy @@ -120,7 +120,7 @@ abstract class CpsIntegrationSpecBase extends Specification { ModuleSyncService moduleSyncService @Autowired - BlockingQueue moduleSyncWorkQueue + BlockingQueue moduleSyncWorkQueue @Autowired JsonObjectMapper jsonObjectMapper -- cgit 1.2.3-korg