[ARVADOS] created: 4d26f92c806e36c4dcfcb4809c854d5081c86fff

git at public.curoverse.com git at public.curoverse.com
Tue Mar 3 11:35:25 EST 2015


        at  4d26f92c806e36c4dcfcb4809c854d5081c86fff (commit)


commit 4d26f92c806e36c4dcfcb4809c854d5081c86fff
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Mar 3 11:39:03 2015 -0500

    4956: Add 'maxRequestSize' to discovery document

diff --git a/services/api/app/controllers/arvados/v1/schema_controller.rb b/services/api/app/controllers/arvados/v1/schema_controller.rb
index c108fb8..8dc90e1 100644
--- a/services/api/app/controllers/arvados/v1/schema_controller.rb
+++ b/services/api/app/controllers/arvados/v1/schema_controller.rb
@@ -33,6 +33,7 @@ class Arvados::V1::SchemaController < ApplicationController
         servicePath: "arvados/v1/",
         batchPath: "batch",
         defaultTrashLifetime: Rails.application.config.default_trash_lifetime,
+        maxRequestSize: Rails.application.config.max_request_size,
         parameters: {
           alt: {
             type: "string",
diff --git a/services/api/config/application.default.yml b/services/api/config/application.default.yml
index 1e8d79f..952ed2e 100644
--- a/services/api/config/application.default.yml
+++ b/services/api/config/application.default.yml
@@ -249,3 +249,7 @@ common:
   # Default replication level for collections. This is used when a
   # collection's replication_desired attribute is nil.
   default_collection_replication: 2
+
+  # Maximum size (in bytes) allowed for a single API request.  Is included in
+  # the discovery document for use by clients.
+  max_request_size: 134217728

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list