protected ViewDataMigrationContextImpl getViewDataMigrationContext(ViewInstanceEntity targetInstanceDefinition,
                                                                            ViewInstanceEntity sourceInstanceDefinition) {
    return new ViewDataMigrationContextImpl(sourceInstanceDefinition, targetInstanceDefinition);
  }
Create the data migration context for DataMigrator to access data of current
and origin instances.
@param targetInstanceDefinition target instance definition
@param sourceInstanceDefinition source instance definition
@return data migration context
ambari-server/src/main/java/org/apache/ambari/server/view/ViewDataMigrationUtility.java