Skip to content

Dataset Data Updates #401

@Foxcapades

Description

@Foxcapades

Description

Add the ability for users to revise their datasets by uploading replacement data.

Implementation plan overview: https://veupathdb.atlassian.net/wiki/spaces/UI/pages/1293090817/Implementation+Plan

New Feature Process Flow

On PUT

  1. Load the original dataset meta JSON from MinIO
  2. Patch the meta json with the new revision and any other field updates
  3. Submit the patched meta json and upload file to the normal upload process
  4. Import / Install data through normal means
  5. Copy shares from the previous revision to the new dataset
  6. Insert a new link record in the cache db link table.
  7. Uninstall the old dataset.
  8. Hard purge the old dataset from MinIO (as opposed to the normal soft-delete)

Subtasks

  • Update WDK (link to WDK ticket(s) here)
  • Update Client (link to client ticket(s) here)

Additional Notes

Impacted By

Ref #209 Cache DB migrations
Ref #222 Uninstall status reporting

Sub-issues

Metadata

Metadata

Assignees

Labels

app dbChanges to the VDI app db schemacache dbChanges to the VDI internal cache db schema.internalsChanges to VDI internals that are not visible to any external system.rest apiChanges that impact the public-facing REST API

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions