Closed shirey closed 3 months ago
@shirey Should trigger methods do the following?
superseded_associated_processed_component_uuids
array is itself a Multi-Assay Dataset, by verifying none have their own superseded_associated_processed_component_uuids
array?superseded_associated_processed_component_uuids
array is already a part of another Multi-Assay Dataset, by verifying none have their new_associated_multi_assay_uuid
set?Also, Multi-Assay Datasets can only be POSTed, with all of the component Datasets specified? There is no notion of PUTting later, particularly to add or delete component Datasets?
Per Bill's feedback, I will make sure the Dataset POSTed does not specify both superseded_associated_processed_component_uuids
and new_associated_multi_assay_uuid
, but will not navigate submitted UUIDs for deeper verification at this time.
I will limit setting superseded_associated_processed_component_uuids
to POST call which create a Multi-Assay Dataset, and reject any PUT that modifies it.
POST and PUT calls which set new_associated_multi_assay_uuid
will only be allowed when new_associated_multi_assay_uuid
and superseded_associated_processed_component_uuids
are not set.
Add two new attributes to Dataset which will be used to track Multi-Assay datasets that are constructed from existing data:
superseded_associated_processed_component_uuids
array of strings holding the uuids of older Datasets that were used to construct a new Multi-Assay dataset, this will be set on new Multi-Assay datasetsnew_associated_multi_assay_uuid
a single string holding the uuid of a new Multi-Assay dataset which was, in part, created using an old/existing dataset. This will be set on the old, existing component datasets which are "reorganized" into new Multi-Assay datasets.These new attributes will allow tracking of old existing, processed datasets that are associated with newly created Multi-Assay datasets. Instead of creating a link/edge in Neo4j we will just store ids in the associated datasets. This will allow us to track the links shown in yellow in the drawing at the top of Multi-Assay Reorg