A migration path has been provided in order to facilitate migration from configuration file formats from 1.2.x and previous versions.
The migration code supports two methods of migration from version 1.2.x and earlier, namely file-based and REST service-based.
Data must be in previous formats for migration to succeed.
File-based Migration
The file-based method reads from the files in a standard 1.2.x or earlier configuration, transforms the metadata, and writes them in their new format in the specified target location. Recall that prior to 1.3.x, OpenCDS required a specific layout for configuration files in addition to a directory/folder layout for the files. File-based configuration for version 1.3.x also requires a similar layout, but this is handled by the migration program.
<migration example here>
REST Service-based Migration
The REST Service-based migration reads from the files in a standard 1.2.x or earlier configuration, transforms the metadata, and uploads them to the OpenCDS service. The storage locations of these files are handled by OpenCDS; all files must be updated through the REST Configuration Service.
<migration example here>