Skip to content

Conversation

@dbutenhof
Copy link
Member

@dbutenhof dbutenhof commented Jul 5, 2023

PBENCH-1204

This stems from a request from the UI to help optimize a partial refresh after using the relay upload dialog, by providing identification of the new dataset. Although a client using the traditional PUT /upload already knows the name and MD5, the returned information may be helpful.

This also reports the tarball download URI (which is the best encapsulation of the results "identity") in the response location header to make it easy to retrieve.

@dbutenhof dbutenhof added Server Dashboard Of and relating to the Dashboard GUI API Of and relating to application programming interfaces to services and functions labels Jul 5, 2023
@dbutenhof dbutenhof self-assigned this Jul 5, 2023
dbutenhof added 2 commits July 6, 2023 07:25
PBENCH-1204

This stems from a request from the UI to help optimize a partial refresh after
using the relay upload dialog, by providing identification of the new dataset.
Although a client using the traditional `PUT /upload` already knows the name
and MD5, the returned information may be helpful.

This is a DRAFT partly because I added a validation of the new information to
the functional test, which I've renamed in distributed-system-analysis#3473 ... I'll do that merge here
after it's gone in.

It's also DRAFT because while I like the idea of including URIs (and in
particular this addresses a certain request regarding accessibility of the
tarball), I'm not really sure which URIs to include or in what form. I'm
certain that one or two people might possibly have opinions on this subject!
Improve `contents` functional test to verify the URI values. Use `location`
response header to return the tarball URI in upload, and verify that.
@dbutenhof dbutenhof marked this pull request as ready for review July 6, 2023 14:49
@dbutenhof dbutenhof requested review from MVarshini, ndokos and webbnh July 6, 2023 14:51
Copy link
Member

@webbnh webbnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dbutenhof dbutenhof merged commit ec6f42b into distributed-system-analysis:main Jul 8, 2023
@dbutenhof dbutenhof deleted the upinfo branch July 8, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Of and relating to application programming interfaces to services and functions Dashboard Of and relating to the Dashboard GUI Server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants