X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2508b089d2369bf57811f9f96c14c2ee22dd664f..8746c9e0df6054198e9ec210f8e330c93f00ec91:/services/api/app/controllers/arvados/v1/schema_controller.rb diff --git a/services/api/app/controllers/arvados/v1/schema_controller.rb b/services/api/app/controllers/arvados/v1/schema_controller.rb index e200870da5..0a0e664b09 100644 --- a/services/api/app/controllers/arvados/v1/schema_controller.rb +++ b/services/api/app/controllers/arvados/v1/schema_controller.rb @@ -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