Schema/RefData data-provisioning/initialization automation
RAFS requires external and custom reference data and schemas, these are needed to be uploaded beforehand to be able to properly test and use rafs-ddms, would be nice to automate this task.
2 Options that I can think of:
- Use
POST /api/rafs-ddms/data-provisioning
(similar to the tenant provisioning on the entitlements service). - Use Sidecar container or pre/post-cicd/kubernetes-job to upload proper ref data and custom schemas.
- Create
rafs-cli
to run the dataprovisioning step somewhere.
I would suggest to go with option 1 it looks to me more OSDU alike, and we don't need to add complexity to the RAFS deployment, which has being as of today as lean as possible.