Feature #18215
closed
Use 'select' on collection updates to avoid returning manifest_text
Added by Peter Amstutz about 3 years ago.
Updated about 3 years ago.
Estimated time:
(Total: 0.00 h)
Release relationship:
Auto
Description
On the wb2 collection service, use select so that the update only returns the uuid field and not the manifest_text field in the response.
- Target version set to 2021-10-27 sprint
- Category deleted (
Workbench2)
- Target version changed from 2021-10-27 sprint to 2021-11-10 sprint
- Target version changed from 2021-11-10 sprint to 2021-11-24 sprint
- Related to Bug #18122: Support 'select' on 'get', 'update', and 'delete' calls to limit what fields are returned in update response added
- Description updated (diff)
- Assigned To set to Lucas Di Pentima
- Status changed from New to In Progress
Updates at commit:a969c0d3e - branch 18215-select-param-update-create
Test run: developer-run-tests: #2794
- Makes controller to just respond with selected field on create & update calls.
18215-select-param-update-create LGTM - maybe worth adding Create and Update calls to (*RouterIntegrationSuite) TestSelectParam()
?
Updates at arvados-workbench2|e3655d66 - branch 18215-collection-update-without-manifest
Test run: developer-tests-workbench2: #510
- Updates
commonResourceService.update()
so that it accepts an optional select
param.
- Updates
collectionService.update()
so that it automatically passes a select
parameter with the list of updated fields, plus some other interesting ones like version
& modified_at
.
- Modifies code handling the collection
update()
responses so that it updates the stored cache data instead of replacing it.
- Adds test.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF