You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

At the moment, at migrate time, there is a merge of the old and new properties helm by the instance. However, this merge of properties does not take account of nested maps that need to be recursively merged.

In order to apply the recursive update it needs to implement the recursive properties validation.
Using same methods for the validation, we can convert properly what is supposed to be a Map by definition.

Work Breakdown:

  • Create reusable methods to retrieve data structure of the properties
  • Implement validation in creation, update and migrate of the instance
  • Implement recursive merge and add eventually additional validations in migration
  • participant needs same recursive merge

Unresolved question:

  • How is suppose to merge two data if the structure is defined differently into the two composition definitions? is the migration valid?
  • Do we need same behavior in update functionality?
  • Can we add the default support defined into the composition definition?


  • No labels