From 344d1f00bd96c63df96a2bbf8be8a8386ba4ef73 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Tue, 26 Mar 2024 10:10:22 +0000 Subject: Fix properties issue during migrate in ACM-participant Issue-ID: POLICY-4953 Change-Id: I83cb4879faff050d21f16ef285cdccd528231062 Signed-off-by: FrancescoFioraEst --- .../acm/participant/intermediary/api/impl/AcElementListenerV1.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/api/impl/AcElementListenerV1.java b/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/api/impl/AcElementListenerV1.java index f91a2a180..5d4e1fe7c 100644 --- a/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/api/impl/AcElementListenerV1.java +++ b/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/api/impl/AcElementListenerV1.java @@ -245,9 +245,9 @@ public abstract class AcElementListenerV1 implements AutomationCompositionElemen public void migrate(CompositionElementDto compositionElement, CompositionElementDto compositionElementTarget, InstanceElementDto instanceElement, InstanceElementDto instanceElementMigrate) throws PfModelException { var element = new AcElementDeploy(); - element.setId(instanceElement.elementId()); - element.setDefinition(compositionElement.elementDefinitionId()); - element.setProperties(instanceElement.inProperties()); + element.setId(instanceElementMigrate.elementId()); + element.setDefinition(compositionElementTarget.elementDefinitionId()); + element.setProperties(instanceElementMigrate.inProperties()); migrate(instanceElementMigrate.instanceId(), element, compositionElementTarget.compositionId(), element.getProperties()); } -- cgit 1.2.3-korg