9964: Update schema revision to 20240502 for output_glob feature
[arvados.git] / services / api / app / controllers / arvados / v1 / schema_controller.rb
index e200870da5f2cc5e17a43df24840f83724b5ca54..0a0e664b0995762c0ee4a0573762c82d3967214a 100644 (file)
@@ -36,7 +36,7 @@ class Arvados::V1::SchemaController < ApplicationController
       # format is YYYYMMDD, must be fixed width (needs to be lexically
       # sortable), updated manually, may be used by clients to
       # determine availability of API server features.
-      revision: "20220510",
+      revision: "20240502",
       source_version: AppVersion.hash,
       sourceVersion: AppVersion.hash, # source_version should be deprecated in the future
       packageVersion: AppVersion.package_version,
@@ -57,13 +57,6 @@ class Arvados::V1::SchemaController < ApplicationController
       maxRequestSize: Rails.configuration.API.MaxRequestSize,
       maxItemsPerResponse: Rails.configuration.API.MaxItemsPerResponse,
       dockerImageFormats: Rails.configuration.Containers.SupportedDockerImageFormats.keys,
-      crunchLogBytesPerEvent: Rails.configuration.Containers.Logging.LogBytesPerEvent,
-      crunchLogSecondsBetweenEvents: Rails.configuration.Containers.Logging.LogSecondsBetweenEvents,
-      crunchLogThrottlePeriod: Rails.configuration.Containers.Logging.LogThrottlePeriod,
-      crunchLogThrottleBytes: Rails.configuration.Containers.Logging.LogThrottleBytes,
-      crunchLogThrottleLines: Rails.configuration.Containers.Logging.LogThrottleLines,
-      crunchLimitLogBytesPerJob: Rails.configuration.Containers.Logging.LimitLogBytesPerJob,
-      crunchLogPartialLineThrottlePeriod: Rails.configuration.Containers.Logging.LogPartialLineThrottlePeriod,
       crunchLogUpdatePeriod: Rails.configuration.Containers.Logging.LogUpdatePeriod,
       crunchLogUpdateSize: Rails.configuration.Containers.Logging.LogUpdateSize,
       remoteHosts: remoteHosts,
@@ -72,7 +65,6 @@ class Arvados::V1::SchemaController < ApplicationController
       workbenchUrl: Rails.configuration.Services.Workbench1.ExternalURL.to_s,
       workbench2Url: Rails.configuration.Services.Workbench2.ExternalURL.to_s,
       keepWebServiceUrl: Rails.configuration.Services.WebDAV.ExternalURL.to_s,
-      gitUrl: Rails.configuration.Services.GitHTTP.ExternalURL.to_s,
       parameters: {
         alt: {
           type: "string",
@@ -484,6 +476,7 @@ class Arvados::V1::SchemaController < ApplicationController
 
     Rails.configuration.API.DisabledAPIs.each do |method, _|
       ctrl, action = method.to_s.split('.', 2)
+      next if ctrl.in?(['job_tasks', 'jobs', 'keep_disks', 'nodes', 'pipeline_instances', 'pipeline_templates', 'repositories'])
       discovery[:resources][ctrl][:methods].delete(action.to_sym)
     end
     discovery