virusseq / portal-ui

Canadian VirusSeq Data Portal
https://virusseq-dataportal.ca/
GNU Affero General Public License v3.0
8 stars 8 forks source link

Update metadata for Lineage fields and observe system reaction #328

Closed ghost closed 1 year ago

ghost commented 1 year ago

The Current schema [https://github.com/cancogen-virus-seq/metadata-schemas/blob/main/schemas/consensus_sequence.json#L1283] contains some of the Lineage Analysis fields. The goal of this ticket is to update the values in the field and observe how the system reacts to them.

Following are some of points test cases to focus:

ghost commented 1 year ago

Updated metadata added metadata for samples with analysis_version < 13
Steps: Unpublish, Update, Publish analysis. Observation: the ES get re-indexed itself. no error due to schema or added lineage values reference analysis_id: 02e1979c-30cf-48c4-a197-9c30cf48c46e additional note : this update only works for data uploaded on the dev portal , this update doesnt work for the mass dump from prod done in July . Gives object not found error

scottcain commented 1 year ago

@leoraba this can be closed too, right?

leoraba commented 1 year ago

Maestro version 4.3.0 implements an "upsert" ES script to get re-indexed on any update.

All checks passed. Closing ticket.