gunjana / migrationtodrupal

Drupal Migration assignment
0 stars 0 forks source link

Address all the points of The Migration Exercise PDF #4

Closed JayKandari closed 6 months ago

JayKandari commented 6 months ago

There are few Technical Points and Deliverables not covered.

Kindly refer to the PDF shared in email and cover all the points.

Thank you!

JayKandari commented 6 months ago

I see you have done migration using the example cities.json.

Now, the only pending items is to perform a migration using mongodb. So to achieve this, can do pls do the following:

  1. Setup mongodb in your system. (you will have to do some research around it if not already setup).
  2. Import the dump.zip collections in your existing mogodb. (make sure some data is there, if not comfortable with zip contents, then create few data similar to cities.json in mongodb)
  3. Write a new migration in your custom module to import that mogodb collection.. (anyone collection you can migration), Understand how we can migration directly from mongodb -> use any module you find to conenct with mongodb or if needed create the code by yourself.
  4. Run migrations successfully (import/rollback etc) with mongodb.
  5. Update the steps in Readme.

Thanks!

JayKandari commented 6 months ago

Few issues: image I can see the migrate_mongo source plugin you created, I think instead of custom_source (which is an sql based source) should be replaced with migarte_mongo source plugin.

I don't see any major issues with migrate_mongo source plugin so I am considering this task as done.

Thanks!