At the moment, at migrate time, the addition of add or remove elements is not allowed - only the update of properties within the existing elements is allowed.
Breakdown
- ACm-Runtime: Change the in validation in migrate POST to allow new elements. If a UUID element id do not match, it will be insert into the instance as new element, it will allow to add and remove elements. ACM-runtime will understand new and removed elements matching with the element-id of the migration with the old instance.
- Participant-intermediary: in migrate merge, If a UUID element id do not match, it will be insert into the instance as new elementit will merge properly elements and properties
- Participant: participant has the responsibility to deploy the new element elements and undeploy the removed elements during migration
Unresolved question:
- Participant may needs a flag to understand when an element is new.
- It will possible to understand new and removed elements matching with the element-id of the migration with the old instance
- this functionally could be implemented after new/old properties functionality