hubmapconsortium / entity-api

A set of web service calls to return information about HuBMAP entities
https://entity.api.hubmapconsortium.org
MIT License
3 stars 1 forks source link

Derek furst/sync component datasets #646

Closed DerekFurstPitt closed 3 months ago

DerekFurstPitt commented 3 months ago

Changed the status property in provenance schema yaml. Now, its after update trigger method is update_status, which calls set status history, and then calls a new function sync_component_dataset_status. this works by creating new PUT calls to entity on each of the component datasets, updating their status to whatever the multi-assay dataset was. A new validator was also created that disallows directly updating the status of component datasets.

DerekFurstPitt commented 3 months ago

@yuanzhou I applied the requested fixes. Take a look when you get a chance