X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cf1dcfb8715822f7ac5fe4fce067197dd84bad54..d235817fee3a904eeff85381c1a5227474900852:/services/api/config/arvados_config.rb diff --git a/services/api/config/arvados_config.rb b/services/api/config/arvados_config.rb index 669beb16e5..c114bb95a3 100644 --- a/services/api/config/arvados_config.rb +++ b/services/api/config/arvados_config.rb @@ -107,7 +107,7 @@ arvcfg.declare_config "Collections.PreserveVersionIfIdle", ActiveSupport::Durati arvcfg.declare_config "Collections.TrashSweepInterval", ActiveSupport::Duration, :trash_sweep_interval arvcfg.declare_config "Collections.BlobSigningKey", NonemptyString, :blob_signing_key arvcfg.declare_config "Collections.BlobSigningTTL", Integer, :blob_signature_ttl -arvcfg.declare_config "Collections.BlobSigning", Boolean, :permit_create_collection_with_unsigned_manifest +arvcfg.declare_config "Collections.BlobSigning", Boolean, :permit_create_collection_with_unsigned_manifest, ->(cfg, k, v) { ConfigLoader.set_cfg cfg, "Collections.BlobSigning", !v } arvcfg.declare_config "Containers.SupportedDockerImageFormats", Array, :docker_image_formats arvcfg.declare_config "Containers.LogReuseDecisions", Boolean, :log_reuse_decisions arvcfg.declare_config "Containers.DefaultKeepCacheRAM", Integer, :container_default_keep_cache_ram @@ -172,7 +172,7 @@ dbcfg = ConfigLoader.new dbcfg.declare_config "PostgreSQL.ConnectionPool", Integer, :pool dbcfg.declare_config "PostgreSQL.Connection.Host", String, :host -dbcfg.declare_config "PostgreSQL.Connection.Port", Integer, :port +dbcfg.declare_config "PostgreSQL.Connection.Port", String, :port dbcfg.declare_config "PostgreSQL.Connection.User", String, :username dbcfg.declare_config "PostgreSQL.Connection.Password", String, :password dbcfg.declare_config "PostgreSQL.Connection.DBName", String, :database