[ARVADOS] updated: 1.3.0-631-ga689825a3

Git user git at public.curoverse.com
Wed Apr 3 00:47:08 UTC 2019


Summary of changes:
 services/api/app/controllers/arvados/v1/schema_controller.rb | 8 ++++++++
 services/api/test/performance/permission_test.rb             | 1 -
 2 files changed, 8 insertions(+), 1 deletion(-)

       via  a689825a37a32ded05866937b60742da415ce1f3 (commit)
       via  265b94326ca8bcb69aea6915a549a4edfcaf0e28 (commit)
      from  97d2da2083d046057cb589115867eec430706d68 (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 a689825a37a32ded05866937b60742da415ce1f3
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Tue Apr 2 21:45:30 2019 -0300

    14873: Adds JSONB columns to discovery doc.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/services/api/app/controllers/arvados/v1/schema_controller.rb b/services/api/app/controllers/arvados/v1/schema_controller.rb
index fc13f893b..8ff2a97c4 100644
--- a/services/api/app/controllers/arvados/v1/schema_controller.rb
+++ b/services/api/app/controllers/arvados/v1/schema_controller.rb
@@ -134,6 +134,14 @@ class Arvados::V1::SchemaController < ApplicationController
             object_properties[col.name] = {
               type: k.serialized_attributes[col.name].object_class.to_s
             }
+          elsif k.attribute_types[col.name].is_a? JsonbType::Hash
+            object_properties[col.name] = {
+              type: Hash.to_s
+            }
+          elsif k.attribute_types[col.name].is_a? JsonbType::Array
+            object_properties[col.name] = {
+              type: Array.to_s
+            }
           else
             object_properties[col.name] = {
               type: col.type

commit 265b94326ca8bcb69aea6915a549a4edfcaf0e28
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Tue Apr 2 20:26:17 2019 -0300

    14873: Removes byebug debug call on test.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/services/api/test/performance/permission_test.rb b/services/api/test/performance/permission_test.rb
index e5c829787..4dbc81e81 100644
--- a/services/api/test/performance/permission_test.rb
+++ b/services/api/test/performance/permission_test.rb
@@ -48,7 +48,6 @@ class PermissionPerfTest < ActionDispatch::IntegrationTest
     (0..4).each do
       puts(Benchmark.measure do
              get '/arvados/v1/groups', params: {format: :json, limit: 1000}, headers: auth(:permission_perftest)
-             byebug
              assert json_response['items_available'] >= n
            end)
     end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list