arvados.git
4 years agoMerge branch '15209-python-arv-deps-pinned'
Lucas Di Pentima [Thu, 27 Jun 2019 18:59:53 +0000 (15:59 -0300)]
Merge branch '15209-python-arv-deps-pinned'
Closes #15209

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15209: Fixes pysdk dependency strings on pam, fuse & nodemanager.
Lucas Di Pentima [Thu, 27 Jun 2019 18:14:10 +0000 (15:14 -0300)]
15209: Fixes pysdk dependency strings on pam, fuse & nodemanager.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoMerge branch '14287-controller-structure'
Tom Clegg [Thu, 27 Jun 2019 17:34:08 +0000 (13:34 -0400)]
Merge branch '14287-controller-structure'

refs #14287

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years agoMerge branch 'master' into 15209-python-arv-deps-pinned
Lucas Di Pentima [Thu, 27 Jun 2019 17:28:46 +0000 (14:28 -0300)]
Merge branch 'master' into 15209-python-arv-deps-pinned

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15209: Makes python components packages ask for current PySDK version.
Lucas Di Pentima [Thu, 27 Jun 2019 14:54:21 +0000 (11:54 -0300)]
15209: Makes python components packages ask for current PySDK version.

This make arvados-cwl-runner, arvados-nodemanager, arvados-fuse and arvados-pam
to ask for the current arvados-python-client version when building packages.
Ask pip to look for packages on the PySDK sdist directory, so that current and
not yet uploaded versions can be asked as dependency.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago14287: Merge branch 'master'
Tom Clegg [Thu, 27 Jun 2019 14:50:58 +0000 (10:50 -0400)]
14287: Merge branch 'master'

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years agoMerge branch '15026-cloudtest'
Tom Clegg [Wed, 26 Jun 2019 18:55:31 +0000 (14:55 -0400)]
Merge branch '15026-cloudtest'

refs #15026

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Don't delete non-writable attrs in create/update reqs.
Tom Clegg [Wed, 26 Jun 2019 17:40:36 +0000 (13:40 -0400)]
14287: Don't delete non-writable attrs in create/update reqs.

This is already handled by clients and/or RailsAPI anyway.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15026: Treat bad-tags and boot-timeout as deferred errors.
Tom Clegg [Tue, 25 Jun 2019 20:24:28 +0000 (16:24 -0400)]
15026: Treat bad-tags and boot-timeout as deferred errors.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15026: Remove redundant TagVerifier use.
Tom Clegg [Tue, 25 Jun 2019 20:23:08 +0000 (16:23 -0400)]
15026: Remove redundant TagVerifier use.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years agoMerge branch '15396-trgm-docs'
Eric Biagiotti [Tue, 25 Jun 2019 18:44:31 +0000 (14:44 -0400)]
Merge branch '15396-trgm-docs'

Refs #15396

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years agoMerge branch '14874-post-merge-fixes'
Lucas Di Pentima [Tue, 25 Jun 2019 18:30:41 +0000 (15:30 -0300)]
Merge branch '14874-post-merge-fixes'
Refs #14874

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago14287: Support federated requests for /used_by and /provenance.
Tom Clegg [Tue, 25 Jun 2019 18:10:19 +0000 (14:10 -0400)]
14287: Support federated requests for /used_by and /provenance.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14874: Fixed missing config sync.
Lucas Di Pentima [Tue, 25 Jun 2019 17:46:50 +0000 (14:46 -0300)]
14874: Fixed missing config sync.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago14874: Capitalizes managed properties keys, updates documentation.
Lucas Di Pentima [Tue, 25 Jun 2019 17:08:01 +0000 (14:08 -0300)]
14874: Capitalizes managed properties keys, updates documentation.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago14874: Adds Collections.ManagedProperties to Go SDK.
Lucas Di Pentima [Tue, 25 Jun 2019 16:20:24 +0000 (13:20 -0300)]
14874: Adds Collections.ManagedProperties to Go SDK.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15396: Improves trgm update and installation docs
Eric Biagiotti [Tue, 25 Jun 2019 15:42:44 +0000 (11:42 -0400)]
15396: Improves trgm update and installation docs

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago14287: Clean up context key usage.
Tom Clegg [Tue, 25 Jun 2019 15:39:41 +0000 (11:39 -0400)]
14287: Clean up context key usage.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years agoMerge branch '14874-protected-collection-properties'
Lucas Di Pentima [Tue, 25 Jun 2019 14:29:13 +0000 (11:29 -0300)]
Merge branch '14874-protected-collection-properties'
Closes #14874

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoMerge branch '15345-kill-container-api'
Tom Clegg [Mon, 24 Jun 2019 22:55:55 +0000 (18:55 -0400)]
Merge branch '15345-kill-container-api'

closes #15345

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15345: Merge branch 'master' into 15345-kill-container-api
Tom Clegg [Mon, 24 Jun 2019 15:25:49 +0000 (11:25 -0400)]
15345: Merge branch 'master' into 15345-kill-container-api

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Extract inline func.
Tom Clegg [Mon, 24 Jun 2019 15:21:30 +0000 (11:21 -0400)]
14287: Extract inline func.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Specify response Content-Type.
Tom Clegg [Mon, 24 Jun 2019 15:20:55 +0000 (11:20 -0400)]
14287: Specify response Content-Type.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add comments to request param parsing.
Tom Clegg [Mon, 24 Jun 2019 15:20:25 +0000 (11:20 -0400)]
14287: Add comments to request param parsing.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years agoMerge branch 'master' into 14874-protected-collection-properties
Lucas Di Pentima [Mon, 24 Jun 2019 13:22:52 +0000 (10:22 -0300)]
Merge branch 'master' into 14874-protected-collection-properties

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago14287: Comment and rename checker.go.
Tom Clegg [Mon, 24 Jun 2019 13:21:08 +0000 (09:21 -0400)]
14287: Comment and rename checker.go.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14874: Simplifies example scripts and expands documentation.
Lucas Di Pentima [Fri, 21 Jun 2019 22:14:51 +0000 (19:14 -0300)]
14874: Simplifies example scripts and expands documentation.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoMerge branch '15340-error-counters'
Tom Clegg [Fri, 21 Jun 2019 20:37:46 +0000 (16:37 -0400)]
Merge branch '15340-error-counters'

refs #15340

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15340: Fix uncounted Destroy ops.
Tom Clegg [Fri, 21 Jun 2019 20:12:56 +0000 (16:12 -0400)]
15340: Fix uncounted Destroy ops.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15026: Add comments.
Tom Clegg [Fri, 21 Jun 2019 20:01:38 +0000 (16:01 -0400)]
15026: Add comments.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15026: Add cloudtest command.
Tom Clegg [Fri, 21 Jun 2019 18:09:20 +0000 (14:09 -0400)]
15026: Add cloudtest command.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14874: Adds admin script examples on documentation.
Lucas Di Pentima [Fri, 21 Jun 2019 15:34:39 +0000 (12:34 -0300)]
14874: Adds admin script examples on documentation.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago14874: Renames DefaultProperties to ManagedProperties. Fixes documentation.
Lucas Di Pentima [Wed, 19 Jun 2019 20:28:44 +0000 (17:28 -0300)]
14874: Renames DefaultProperties to ManagedProperties. Fixes documentation.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoKeep relative URL when switching between versions in our documentation.
Ward Vandewege [Wed, 19 Jun 2019 19:02:10 +0000 (15:02 -0400)]
Keep relative URL when switching between versions in our documentation.

refs #15138

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>

4 years agoMerge branch '15296-cwl-cancel-procs' closes #15296
Peter Amstutz [Wed, 19 Jun 2019 18:07:35 +0000 (14:07 -0400)]
Merge branch '15296-cwl-cancel-procs' closes #15296

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years agoMerge branch '15295-keep-ref-check' closes #15295
Peter Amstutz [Wed, 19 Jun 2019 16:59:36 +0000 (12:59 -0400)]
Merge branch '15295-keep-ref-check' closes #15295

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years agoTidy up error checks in govendor test.
Tom Clegg [Tue, 18 Jun 2019 20:37:46 +0000 (16:37 -0400)]
Tidy up error checks in govendor test.

No issue #

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years agoCheck for up-to-date govendor as a test rather than a setup task.
Tom Clegg [Tue, 18 Jun 2019 20:03:37 +0000 (16:03 -0400)]
Check for up-to-date govendor as a test rather than a setup task.

No issue #

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15345: Add .../containers/kill management API to dispatcher.
Tom Clegg [Tue, 18 Jun 2019 19:25:20 +0000 (15:25 -0400)]
15345: Add .../containers/kill management API to dispatcher.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago15296: Shutdown cancels processes unless running inside a container
Peter Amstutz [Tue, 18 Jun 2019 17:28:40 +0000 (13:28 -0400)]
15296: Shutdown cancels processes unless running inside a container

Suppress errors in cancel request (such as a double-cancel race).

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago14287: Unit-test router with stubbed API.
Tom Clegg [Tue, 18 Jun 2019 14:52:45 +0000 (10:52 -0400)]
14287: Unit-test router with stubbed API.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14874: Adds protected properties error handling to wb's tag editor.
Lucas Di Pentima [Tue, 18 Jun 2019 14:29:10 +0000 (11:29 -0300)]
14874: Adds protected properties error handling to wb's tag editor.

The tag editor notifies the user which tags are protected and restores their
state in the editor so they can be saved.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoMerge branch '15106-trgm-text-search'
Eric Biagiotti [Tue, 18 Jun 2019 14:06:43 +0000 (10:06 -0400)]
Merge branch '15106-trgm-text-search'

refs #15106

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago15295: Fix test
Peter Amstutz [Mon, 17 Jun 2019 21:08:50 +0000 (17:08 -0400)]
15295: Fix test

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago15295: Make "lock by different token" a PermissionDeniedError
Peter Amstutz [Mon, 17 Jun 2019 19:56:16 +0000 (15:56 -0400)]
15295: Make "lock by different token" a PermissionDeniedError

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago15295: Check that keep references are well formed
Peter Amstutz [Mon, 17 Jun 2019 19:08:53 +0000 (15:08 -0400)]
15295: Check that keep references are well formed

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago15106: Adds trigram support for "like" queries
Eric Biagiotti [Mon, 17 Jun 2019 18:58:17 +0000 (14:58 -0400)]
15106: Adds trigram support for "like" queries

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago15295: Fix updating and checking lock_count when updating state
Peter Amstutz [Mon, 17 Jun 2019 18:28:53 +0000 (14:28 -0400)]
15295: Fix updating and checking lock_count when updating state

Previously lock_count was only updated on explicit lock or unlock
calls.  Now updates to state will correctly update or check
lock_count.

Also tweak row locking for containers, remove redudant reload, also
make sure lock and unlock take a lock.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years agoMerge branch '15087-wb-queued-containers' closes #15087
Peter Amstutz [Mon, 17 Jun 2019 15:20:15 +0000 (11:20 -0400)]
Merge branch '15087-wb-queued-containers' closes #15087

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago15106: Fixes arvbox to update an existing arvados user to superuser
Eric Biagiotti [Mon, 17 Jun 2019 15:19:57 +0000 (11:19 -0400)]
15106: Fixes arvbox to update an existing arvados user to superuser

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago"arvbox run test" is --interactive if not run with any other arguments.
Peter Amstutz [Mon, 17 Jun 2019 14:53:56 +0000 (10:53 -0400)]
"arvbox run test" is --interactive if not run with any other arguments.

no issue #

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago14287: Update test to new config struct.
Tom Clegg [Fri, 14 Jun 2019 18:45:45 +0000 (14:45 -0400)]
14287: Update test to new config struct.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add EnableBetaController14287 to config whitelist map.
Tom Clegg [Thu, 13 Jun 2019 21:00:34 +0000 (17:00 -0400)]
14287: Add EnableBetaController14287 to config whitelist map.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Move federation.Interface to arvados.API.
Tom Clegg [Thu, 13 Jun 2019 20:58:43 +0000 (16:58 -0400)]
14287: Move federation.Interface to arvados.API.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: ARVADOS_EXPERIMENTAL=14287 enables EnableBetaController14287.
Tom Clegg [Mon, 10 Jun 2019 19:24:26 +0000 (15:24 -0400)]
14287: ARVADOS_EXPERIMENTAL=14287 enables EnableBetaController14287.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Skip database reset between tests.
Tom Clegg [Mon, 10 Jun 2019 13:28:43 +0000 (09:28 -0400)]
14287: Skip database reset between tests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Make collection name "" equivalent to null.
Tom Clegg [Wed, 5 Jun 2019 19:00:53 +0000 (15:00 -0400)]
14287: Make collection name "" equivalent to null.

Regardless of whether name is set/updated to "" or null, it is exempt
from the unique-name-in-project constraint, and returned as "" in API
responses.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Omit false boolean params from API requests.
Tom Clegg [Tue, 4 Jun 2019 15:39:59 +0000 (11:39 -0400)]
14287: Omit false boolean params from API requests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add include_trash param to GET options.
Tom Clegg [Thu, 30 May 2019 21:14:22 +0000 (17:14 -0400)]
14287: Add include_trash param to GET options.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add ensure_unique_name param to untrash options.
Tom Clegg [Thu, 30 May 2019 20:26:00 +0000 (16:26 -0400)]
14287: Add ensure_unique_name param to untrash options.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add cluster_id param to list options.
Tom Clegg [Thu, 30 May 2019 20:25:43 +0000 (16:25 -0400)]
14287: Add cluster_id param to list options.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix extra create attrs in test cases.
Tom Clegg [Thu, 30 May 2019 20:00:44 +0000 (16:00 -0400)]
14287: Fix extra create attrs in test cases.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add collection trash & untrash endpoints.
Tom Clegg [Tue, 21 May 2019 21:19:12 +0000 (17:19 -0400)]
14287: Add collection trash & untrash endpoints.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Use JSON body for 404 response.
Tom Clegg [Tue, 21 May 2019 21:18:35 +0000 (17:18 -0400)]
14287: Use JSON body for 404 response.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add debug logs.
Tom Clegg [Tue, 21 May 2019 15:40:39 +0000 (11:40 -0400)]
14287: Add debug logs.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Use ctxlog for httpserver logging.
Tom Clegg [Tue, 21 May 2019 14:23:09 +0000 (10:23 -0400)]
14287: Use ctxlog for httpserver logging.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Handle CORS OPTIONS requests.
Tom Clegg [Tue, 21 May 2019 13:38:57 +0000 (09:38 -0400)]
14287: Handle CORS OPTIONS requests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Enable readline history in run-tests.sh interactive mode.
Tom Clegg [Mon, 20 May 2019 20:04:02 +0000 (16:04 -0400)]
14287: Enable readline history in run-tests.sh interactive mode.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Ignore etag and unsigned_manifest_text in collection updates.
Tom Clegg [Fri, 17 May 2019 19:31:28 +0000 (15:31 -0400)]
14287: Ignore etag and unsigned_manifest_text in collection updates.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Use map instead of UpdateBody to update specific attrs.
Tom Clegg [Fri, 17 May 2019 19:30:20 +0000 (15:30 -0400)]
14287: Use map instead of UpdateBody to update specific attrs.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Include x-request-id in test suite nginx access log.
Tom Clegg [Fri, 17 May 2019 19:28:31 +0000 (15:28 -0400)]
14287: Include x-request-id in test suite nginx access log.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Propagate include_trash flag.
Tom Clegg [Thu, 16 May 2019 20:04:30 +0000 (16:04 -0400)]
14287: Propagate include_trash flag.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Propagate "distinct" param.
Tom Clegg [Thu, 16 May 2019 18:09:48 +0000 (14:09 -0400)]
14287: Propagate "distinct" param.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Don't send reader_tokens="[false]".
Tom Clegg [Thu, 16 May 2019 18:09:40 +0000 (14:09 -0400)]
14287: Don't send reader_tokens="[false]".

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Change test fixture so PDH is really not readable by active.
Tom Clegg [Thu, 16 May 2019 15:30:47 +0000 (11:30 -0400)]
14287: Change test fixture so PDH is really not readable by active.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Accept order param as string or array.
Tom Clegg [Thu, 16 May 2019 14:55:35 +0000 (10:55 -0400)]
14287: Accept order param as string or array.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Propagate reader_tokens to Rails API.
Tom Clegg [Thu, 16 May 2019 13:56:53 +0000 (09:56 -0400)]
14287: Propagate reader_tokens to Rails API.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix test fixture PDH.
Tom Clegg [Wed, 15 May 2019 18:41:23 +0000 (14:41 -0400)]
14287: Fix test fixture PDH.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fill in resp.items[].kind even if no uuid/pdh is selected.
Tom Clegg [Wed, 15 May 2019 16:04:19 +0000 (12:04 -0400)]
14287: Fill in resp.items[].kind even if no uuid/pdh is selected.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Handle collection/.../provenance and .../used_by requests.
Tom Clegg [Tue, 14 May 2019 15:20:49 +0000 (11:20 -0400)]
14287: Handle collection/.../provenance and .../used_by requests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Test request formatting variations.
Tom Clegg [Tue, 14 May 2019 15:20:10 +0000 (11:20 -0400)]
14287: Test request formatting variations.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Set controller log level=debug in tests if ARVADOS_DEBUG set.
Tom Clegg [Mon, 13 May 2019 19:58:43 +0000 (15:58 -0400)]
14287: Set controller log level=debug in tests if ARVADOS_DEBUG set.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Propagate etag in collection records in responses.
Tom Clegg [Mon, 13 May 2019 19:58:01 +0000 (15:58 -0400)]
14287: Propagate etag in collection records in responses.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Propagate where param in list requests.
Tom Clegg [Mon, 13 May 2019 19:57:36 +0000 (15:57 -0400)]
14287: Propagate where param in list requests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Remove extra zeroes from items[] entries too.
Tom Clegg [Mon, 13 May 2019 19:55:54 +0000 (15:55 -0400)]
14287: Remove extra zeroes from items[] entries too.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Remove zero/missing values when req uses select or count=none.
Tom Clegg [Mon, 13 May 2019 19:51:51 +0000 (15:51 -0400)]
14287: Remove zero/missing values when req uses select or count=none.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Add "kind" key to controller responses.
Tom Clegg [Fri, 10 May 2019 20:00:37 +0000 (16:00 -0400)]
14287: Add "kind" key to controller responses.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Avoid converting integer params to float and back.
Tom Clegg [Thu, 9 May 2019 19:29:47 +0000 (15:29 -0400)]
14287: Avoid converting integer params to float and back.

Turns out int64(float64(MaxInt64)) was MinInt64, which is quite
different.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix debug log level.
Tom Clegg [Thu, 9 May 2019 17:04:56 +0000 (13:04 -0400)]
14287: Fix debug log level.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Remove omitempty tags so zeroes/nulls appear in responses.
Tom Clegg [Wed, 8 May 2019 15:45:22 +0000 (11:45 -0400)]
14287: Remove omitempty tags so zeroes/nulls appear in responses.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Ensure timestamps in responses have 9 digits of nanoseconds.
Tom Clegg [Wed, 8 May 2019 15:43:33 +0000 (11:43 -0400)]
14287: Ensure timestamps in responses have 9 digits of nanoseconds.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix accepting JSON-encoded params in request body.
Tom Clegg [Wed, 8 May 2019 15:36:29 +0000 (11:36 -0400)]
14287: Fix accepting JSON-encoded params in request body.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix PDH check to ignore additional hints.
Tom Clegg [Wed, 8 May 2019 15:34:58 +0000 (11:34 -0400)]
14287: Fix PDH check to ignore additional hints.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix PDHs and manifests in test fixtures.
Tom Clegg [Tue, 7 May 2019 19:49:57 +0000 (15:49 -0400)]
14287: Fix PDHs and manifests in test fixtures.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix unparsed formatting directive.
Tom Clegg [Tue, 7 May 2019 19:24:36 +0000 (15:24 -0400)]
14287: Fix unparsed formatting directive.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Propagate order param.
Tom Clegg [Tue, 7 May 2019 19:10:52 +0000 (15:10 -0400)]
14287: Propagate order param.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Test timestamp precision is maintained by response munging.
Tom Clegg [Tue, 7 May 2019 17:50:52 +0000 (13:50 -0400)]
14287: Test timestamp precision is maintained by response munging.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix token in container test.
Tom Clegg [Tue, 7 May 2019 13:47:01 +0000 (09:47 -0400)]
14287: Fix token in container test.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Accept rpc requests without tokens.
Tom Clegg [Tue, 7 May 2019 13:45:58 +0000 (09:45 -0400)]
14287: Accept rpc requests without tokens.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

4 years ago14287: Fix accepting nil as filter operand.
Tom Clegg [Tue, 7 May 2019 13:40:47 +0000 (09:40 -0400)]
14287: Fix accepting nil as filter operand.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>