Migrate from Services module Review
Migrate from Services is a new contributed module available for download and use in its 1.0.0 stable version. It is an interesting module with a very specific functionality, related to Drupal migrations.
Migrate from Services is a βmigration launcherβ, which allows to execute a migration from a JSON with a suitable structure and formats. For now the module has minimal functionalities in its use; some of its most outstanding features are:
- Execute migrations from a handwritten JSON from a textarea.
- Execute migrations from a JSON that provides a URL or service.
- Execute migrations manually, configuring each key of the migration execution.
It is important to note that Migrate from Services does not create migrations, it actually executes existing migrations. Those migrations must be enabled and available, in addition to having Migrate and Migrate Tools enabled on your Drupal website, as they are direct dependencies.
The JSON structure that the βmigration executorβ prepares must have the following keys and values:
migration_id (required): specifies the migration plugin ID (YAML file).
options (optional): is a key containing the following optional values:
idlist: allows you to specify the ids of each item to be migrated.
limit: sets a limiter of items to migrate in total.
update: if TRUE, migrate will check and modify migrations that require an update.
force: if TRUE, migrate will continue the migration despite encountering errors.
Migrate from Services is a module that can be very useful for specific cases of data migration. It is a module that has a lot of potential to continue offering very interesting functionalities. What do you think?