x-atlas-consortia / data-ingest-board

The UI App for HuBMAP and Sennet Data Publishing Dashboard
MIT License
1 stars 0 forks source link

Libpitt/189 bulk edit #198

Closed maxsibilla closed 5 months ago

maxsibilla commented 6 months ago

Change log:

  1. Add ability to bulk edit status, ingest_task and assigned_to_group_name for both datasets and uploads
  2. Update endpoints to facilitate showing of cached data time

Requires:

NEXT_PUBLIC_PRIVS_WRITE_GROUPS = $NEXT_PUBLIC_PRIVS_GROUP_URL/user-write-groups
NEXT_PUBLIC_INGEST_BULK_EDIT_DATASETS_URL = $NEXT_PUBLIC_API_BASE/datasets
NEXT_PUBLIC_INGEST_BULK_EDIT_UPLOADS_URL = $NEXT_PUBLIC_API_BASE/uploads

Or disable: NEXT_PUBLIC_BULK_EDIT_ENABLED = 0

maxsibilla commented 5 months ago

@yuanzhou This PR requires 2 updates on the Ingest API:

  1. New endpoints (PUT /datasets and /uploads) to handle the bulk updating of entities - https://github.com/sennetconsortium/ingest-api/pull/449/files#diff-dbbd81613f45e75c24d247a0a00eaf8bc018218b14771a16b30b182368852c6e
  2. Modifying the results from the /data-status endpoints to add a last_updated property to Redis. The new return format from these endpoints will look like
    {"data": <data>, "last_updated": <last_updated>}

    https://github.com/sennetconsortium/ingest-api/pull/450/files

yuanzhou commented 5 months ago

Thanks @maxsibilla. We may not be able to get the HuBMAP backend support ready this sprint. Please feel free to proceed with the SenNet DEV test and release without waiting on us. I'll hold off on any Data Ingest Board deployment updates on our end.