Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration Configuration File Inheritance #682

Closed
ClintonWB-EBSCO opened this issue Sep 19, 2023 · 0 comments · Fixed by #692
Closed

Migration Configuration File Inheritance #682

ClintonWB-EBSCO opened this issue Sep 19, 2023 · 0 comments · Fixed by #692
Labels
Tool enhancements New feature or request

Comments

@ClintonWB-EBSCO
Copy link
Member

ClintonWB-EBSCO commented Sep 19, 2023

Currently, migration files are a single file, containing both client metadata and configuration.

In order to support multi-tenant migrations, such as consortia migrations, we should support sharing configurations between clients, with customization per-client in IDs, URLs, and in some custom processing.

To this end, I propose that we allow a configuration file to support a block:

"inherits": [
   "relative/path/to/a",
   "relative/path/to/b"
]

Similar to other configurations (such as Terraform).

The behavior would be to simply Apply each object in turn, at full depth, combining and overwriting properties as they appear.

While this would reduce clarity a bit, and add a bit of processing, I believe it will be worth it in support - and will also help with keeping multiple configuration files for a single client, if desired, without duplicating information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tool enhancements New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant