ClinGen / clincoded

This GCI/VCI 1.0 platform has now been retired, and replaced with our new 2.0 platform:
https://github.com/ClinGen/gene-and-variant-curation-tools/issues
MIT License
25 stars 9 forks source link

Publish events to the Data Exchange when a GDM ownership changes #2301

Closed wrightmw closed 2 years ago

wrightmw commented 3 years ago

Summary of GeneTracker/GCI data flow The data compromising a curation spans both the GeneTracker and GCI. GeneTracker pre-curation records for which there is a corresponding GDM in the GCI are linked via the GCI’s gdm_uuid.

Because the lifecycle can be generally summarized as 1. Precuration (in the GeneTracker) 2. Creation of a GDM in the GCI 3. Classification of the GDM in the GCI we propose unidirectional data-flow once a GDM has been created that corresponds to a pre-curation record. That is, once a GDM for a curation has been created, only precuration data that does not have analogous data in the GCI should be updated in the GeneTracker. At that time all status, classification, and ownership changes will be streamed from the GCI to the GeneTracker via the DataExchange.

NOTE: This issue does not include work on the GeneTracker necessary for the transfer of GT curation records.

Requirement(s) When ownership of a GCI GDM record changes the GCI should publish an event to the gene_validity_events topic on the DataExchange.

Payload of the event should include the GDM's uuid, the affiliation_id of the new owner affiliation, and the affiliation_id of the old affiliation.

JIRA ticket: https://broadinstitute.atlassian.net/browse/CSP-153

wrightmw commented 2 years ago

Replaced by https://github.com/ClinGen/gene-and-variant-curation-tools/issues/20