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

POST:metadata must create MetaDatumRecords for all MetaDataSets #413

Open
3 tasks
lkuchenb opened this issue May 31, 2021 · 0 comments
Open
3 tasks

POST:metadata must create MetaDatumRecords for all MetaDataSets #413

lkuchenb opened this issue May 31, 2021 · 0 comments

Comments

@lkuchenb
Copy link
Member

Data schema integrity requires that all MetaDataSets have exactly one MetaDatumRecord per MetaDatum associated. This is currently violated during metadata addition / modification. The following changes have to be implemented:

  • POST:metadata must create corresponding MetaDatumRecords for all metadatasets for the new metadatum. If the metadatum is mandatory, a default value that passes the specified constraints must be specified
  • DELETE:metadata must remove all corresponding MetaDatumRecords (maybe that's already cascaded by SQLalchemy)
  • PUT:metadata must take into account the same constraints as POST

Service MetaDatumRecords have to be filled with defaults only for those metadatasets which have a corresponding service execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant