Migration Mapper

Component ID

2907467

Component name

Migration Mapper

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Migration Mapper aims to be, an easy way to create custom migration scripts from different data sources eg. JSON or CSV. Aiming to take some of the guess work out of migration API.

This is a work in progress, so any suggestions/comments are welcome.

Why it Will be good

This will help to take some of the guess work out of creating custom migration scripts by providing a UI to allow mapping of different data sources to your entity fields then creating an export configuration to copy and paste in to your module, and provide examples and drush commands to run to get get your migrations to run.

This module Depends on migrate_plus and migrate_tools.

Development Road Map

There's quite alot to do, only the basic framework has been added.
- Json data source plugin maybe vary in success depending on the data supplied.
- Allow ability for adding multiple processors.
- Add more field processors.
- Tests :|
- And more stuff. :)

This Module should be uninstalled and removed from sites after migration.

How To Use

  1. install this module in the normal way (drush / drupal console)
  2. go to admin/config/development/migration-admin
  3. select data source type
  4. fill in necessary information
  5. select entity type and paste raw data
  6. Map Field keys
  7. generate your config
  8. create a custom module (drupal console grm) OR use a previously created custom module
  9. paste the config in modules config/install folder
  10. make sure data file is in the required folder (set in source section of Migration Mapper)
  11. enable module
  12. run drush ms
  13. run drush mi (your export name)
  14. Party.