[ARVADOS] updated: 904989797f0e70dad2d4a2da8ed05693ad1619bd

git at public.curoverse.com git at public.curoverse.com
Tue Jan 14 11:39:39 EST 2014


Summary of changes:
 sdk/cli/bin/arv                                    |    2 +-
 .../controllers/arvados/v1/schema_controller.rb    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

       via  904989797f0e70dad2d4a2da8ed05693ad1619bd (commit)
       via  ccd618998410873f09444c1fb121e3f9decddc8a (commit)
      from  ceddd030ffb6d11d0fc4244d45fd7b8e17d337e6 (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 904989797f0e70dad2d4a2da8ed05693ad1619bd
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Jan 14 08:37:50 2014 -0800

    Lowercase model name in discovery document, like the real parameter name.
    
    closes #1869

diff --git a/services/api/app/controllers/arvados/v1/schema_controller.rb b/services/api/app/controllers/arvados/v1/schema_controller.rb
index 1d50daa..0baa865 100644
--- a/services/api/app/controllers/arvados/v1/schema_controller.rb
+++ b/services/api/app/controllers/arvados/v1/schema_controller.rb
@@ -243,7 +243,7 @@ class Arvados::V1::SchemaController < ApplicationController
               request: {
                 required: false,
                 properties: {
-                  k.to_s => {
+                  k.to_s.underscore => {
                     "$ref" => k.to_s
                   }
                 }
@@ -277,7 +277,7 @@ class Arvados::V1::SchemaController < ApplicationController
               request: {
                 required: false,
                 properties: {
-                  k.to_s => {
+                  k.to_s.underscore => {
                     "$ref" => k.to_s
                   }
                 }

commit ccd618998410873f09444c1fb121e3f9decddc8a
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Jan 14 08:35:29 2014 -0800

    Fix sending resource body to server.
    
    Resolves "Error: #<ArgumentError: No {model} hash provided with request>"
    
    refs #1869

diff --git a/sdk/cli/bin/arv b/sdk/cli/bin/arv
index 3f0f252..4db95c8 100755
--- a/sdk/cli/bin/arv
+++ b/sdk/cli/bin/arv
@@ -275,7 +275,7 @@ request_parameters = {}.merge(method_opts)
 resource_body = request_parameters.delete(resource_schema.to_sym)
 if resource_body
   request_body = {
-    resource_schema => JSON.parse(resource_body)
+    resource_schema => resource_body
   }
 else
   request_body = {}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list