diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2024-03-26 10:10:22 +0000 |
---|---|---|
committer | Francesco Fiora <francesco.fiora@est.tech> | 2024-04-02 08:50:29 +0000 |
commit | 344d1f00bd96c63df96a2bbf8be8a8386ba4ef73 (patch) | |
tree | 0b9eed918b24dc45ee9656141ad49f5205513c6d /participant | |
parent | 1cf51a2280fb2f9a0435b8a3f2c64492cb7e6659 (diff) |
Fix properties issue during migrate in ACM-participant
Issue-ID: POLICY-4953
Change-Id: I83cb4879faff050d21f16ef285cdccd528231062
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant')
-rw-r--r-- | participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/api/impl/AcElementListenerV1.java | 6 |
1 files 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()); } |