[ARVADOS] updated: 1.1.1-317-g693b1f4
Git user
git at public.curoverse.com
Wed Dec 20 05:26:24 EST 2017
Summary of changes:
sdk/R/R/Arvados.R | 2 ++
1 file changed, 2 insertions(+)
via 693b1f491499c33d82c3950aaa8f0b754a50c219 (commit)
from e72f801012e68e7a223a64d4e90bfa2cc66a9254 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 693b1f491499c33d82c3950aaa8f0b754a50c219
Author: Fuad Muhic <fmuhic at capeannenterprises.com>
Date: Wed Dec 20 11:25:47 2017 +0100
Added a fix to project create and project update.
Arvados-DCO-1.1-Signed-off-by: Fuad Muhic <fmuhic at capeannenterprises.com>
diff --git a/sdk/R/R/Arvados.R b/sdk/R/R/Arvados.R
index 2c9d003..b521026 100644
--- a/sdk/R/R/Arvados.R
+++ b/sdk/R/R/Arvados.R
@@ -160,6 +160,7 @@ Arvados <- R6::R6Class(
"Content-Type" = "application/json")
names(body) <- c("group")
+ body$group <- c("group_class" = "project", body$group)
body <- jsonlite::toJSON(body, auto_unbox = T)
serverResponse <- private$http$POST(projectURL, headers, body)
@@ -197,6 +198,7 @@ Arvados <- R6::R6Class(
headers <- list(Authorization = paste("OAuth2", private$token))
names(filters) <- c("groups")
+ filters[[length(filters) + 1]] <- list("group_class", "=", "project")
serverResponse <- private$http$GET(projectURL, headers, filters, limit, offset)
projects <- private$httpParser$parseJSONResponse(serverResponse)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list