Improve migration script (MGNLMIGRATION-8)

[MGNLMIGRATION-9] Improve migration script: Create java Merge-Utility functions Created: 16/Mar/12  Updated: 02/Apr/12  Resolved: 28/Mar/12

Status: Closed
Project: Migration 4.4 to 4.5 (closed)
Component/s: None
Affects Version/s: 1.0.1
Fix Version/s: 1.1

Type: Sub-task Priority: Neutral
Reporter: Eric Hechinger Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:

 Description   

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).



 Comments   
Comment by Eric Hechinger [ 26/Mar/12 ]

The merge methods are moved from core to migration module.

Generated at Mon Feb 12 10:16:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.