blobSignatureTtl: Rails.configuration.Collections.BlobSigningTTL,
maxRequestSize: Rails.configuration.API.MaxRequestSize,
maxItemsPerResponse: Rails.configuration.API.MaxItemsPerResponse,
- dockerImageFormats: Rails.configuration.Containers.SupportedDockerImageFormats,
+ dockerImageFormats: Rails.configuration.Containers.SupportedDockerImageFormats.keys,
crunchLogBytesPerEvent: Rails.configuration.Containers.Logging.LogBytesPerEvent,
crunchLogSecondsBetweenEvents: Rails.configuration.Containers.Logging.LogSecondsBetweenEvents,
crunchLogThrottlePeriod: Rails.configuration.Containers.Logging.LogThrottlePeriod,
remoteHostsViaDNS: Rails.configuration.RemoteClusters["*"].Proxy,
websocketUrl: Rails.configuration.Services.Websocket.ExternalURL.to_s,
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: {
end
end
end
- Rails.configuration.API.DisabledAPIs.each do |method|
- ctrl, action = method.split('.', 2)
+ Rails.configuration.API.DisabledAPIs.each do |method, _|
+ ctrl, action = method.to_s.split('.', 2)
discovery[:resources][ctrl][:methods].delete(action.to_sym)
end
discovery