I want to know if there are any tools like Flyway which can assist in database initialization / migration for mongodb. Some of the thoughts I had is
What I am looking for is a mix of both of the above, an embedded mongo which works not only with JUnit and can prefill data from a given json(similar to V1__init.sql in Flyway)
Is there any such tool ?
Finally, I developed this simple version of data prefill for Mongo. Here is the code.
https://github.com/pvpkiran/mongoprefill
Given seed data, this Autoconfiguration fills up mongo.