...
For seeding data, since each Independent Service manages its own data in its own logical data store, it is in charge of seeding data. (The physical data store information would be in the Reference Distribution configuration, most likely pointing to an external PostgreSQL database.) There will be some sort of script or task (in each Independent Service) that seeds data.
Each Independent Service will have two build tasks for migration–one for structural migrations and another for implementation-specific migrations. Seed migrations are part of the second type.
Configuration will be managed in the Reference Distribution repository.
...
In this case, the implementer would get new versions of the images of each Independent Service that needs to be updated. The new images may have migration scripts structural migrations that need to be run against their respective logical data stores. Implementation-specific (including seed) migrations will not be run on an update.
Use Case 2:Â Project creates new Independent Service, deploys as part of Reference Distribution
...
In this case, the implementer would create a new Independent Service image, based on a provided template in a separate repository, most likely forking the repository. They would add any necessary database migrations and structural and implementation-specific migrations (including seed data) to their own logical data store. If other projects would want to obtain and leverage the module, they the original implementer can publish their repository and/or publish their image.
Since the new Independent Service follows the same form as the ones in the Reference Distribution, other projects that use it will run the structural migrations, but ignore the implementation-specific migrations.
If the new Independent Service has a UI component to it, create a new UI module, based on a provided template. Add code to the module to add any new UI necessary. Fork the Reference UI (which is just a framework to compose UI modules), and add the new UI module to its configuration.
...