Bug #16859

API should return collections when queried by PDH and they exist in a past version.

Added by Peter Amstutz about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Start date:
09/21/2020
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

Currently, when requesting a collection by PDH from the API server, if the PDH is only found in a past version, it will return 404 unless include_past_versions=true. Based on conversations with customers, this behavior should change so that past versions can be fetched by PDH, (include_past_versions is default true for that API call).

Rule is: GET operations for a specific PDH or UUID include_past_versions default true. List operations include_past_versions default false.


Subtasks

Task #16864: Review 16859-pdh-versionResolvedTom Clegg

Associated revisions

Revision e97a5d82
Added by Peter Amstutz about 1 year ago

Merge branch '16859-pdh-version' closes #16859

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

History

#1 Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)

#2 Updated by Peter Amstutz about 1 year ago

  • Target version changed from 2020-10-07 Sprint to 2020-09-23 Sprint
  • Description updated (diff)

#3 Updated by Peter Amstutz about 1 year ago

  • Assigned To set to Peter Amstutz

#4 Updated by Peter Amstutz about 1 year ago

16859-pdh-version @ arvados|56e2a953bff7183f19845415b5f8de36a664f5c4

CollectionsController#find_object_by_uuid defaults to include_old_versions: true for both PDH and UUID. Add test.

https://ci.arvados.org/view/Developer/job/developer-run-tests/2109/

#5 Updated by Tom Clegg about 1 year ago

LGTM, thanks!

#6 Updated by Peter Amstutz about 1 year ago

  • Status changed from New to Resolved

#7 Updated by Peter Amstutz about 1 year ago

  • Release set to 25

Also available in: Atom PDF