Uploaded image for project: 'Migration 4.4 to 4.5 (closed)'
  1. Migration 4.4 to 4.5 (closed)
  2. MGNLMIGRATION-8 Improve migration script
  3. MGNLMIGRATION-9

Improve migration script: Create java Merge-Utility functions

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1
    • 1.0.1
    • None
    • None

      Create a Utility functions to be used by the migration scripts. This Utility should have the following functions:

      • (1)Merge Nodes
      • Rename Nodes
      • Merge&Rename Nodes
      • (2)Merge Node Properties

      (1)Merge Node functionality should be able to perform a deep merge, meaning:
      Having source:
      a/b/c/d
      a/e
      a/f/g
      a/f/i

      and dest:
      x/a/f/j

      Merge source to dest x should have the following result:
      x/a/b/c/d
      x/a/e
      x/a/f/g
      x/a/f/i
      x/a/f/j

      After the merge:

      • the source node has to be deleted.
      • In case of conflict, the dest wins (should be configurable)

      (2) Merge Properties
      Like for Merge Node, in case of conflict, the dest wins.
      Should not override the UUID.
      Should also merge MetaData Properties (should be configurable).

            ehechinger Eric Hechinger
            ehechinger Eric Hechinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: