Project

General

Profile

Actions

Bug #16141

closed

[controller] Missing collection's new fields on responses

Added by Lucas Di Pentima about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

There're some fields missing on the golang SDK, and the controller isn't including them on the responses.

OTOH, Workbench2 seems to get some of those fields when asking for group's contents.

Below is an example of asking the railsAPI vs controller on an arvbox instance:

root@6c2d65fcba97:/# curl -k -H "Authorization: OAuth2 <token>" http://localhost:8004/arvados/v1/collections/xz8sq-4zz18-00kn5pa4uizijr8 | jq .file_count
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1932k    0 1932k    0     0  8541k      0 --:--:-- --:--:-- --:--:-- 8553k
39354
root@6c2d65fcba97:/# curl -k -H "Authorization: OAuth2 <token>" https://localhost:8000/arvados/v1/collections/xz8sq-4zz18-00kn5pa4uizijr8 | jq .file_count
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1932k    0 1932k    0     0  4865k      0 --:--:-- --:--:-- --:--:-- 4868k
null
root@6c2d65fcba97:/# 


Subtasks 1 (0 open1 closed)

Task #16142: Review 16141-gosdk-missing-fieldsResolvedLucas Di Pentima02/07/2020Actions
Actions

Also available in: Atom PDF