X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/79aeb557d94681fb7e55321aeee2e20df1430b30..ee53a267ded17bc50eaf4dfebba5ff4a3273753c:/services/ws/config.go diff --git a/services/ws/config.go b/services/ws/config.go index 79c2f232da..ead1ec20c6 100644 --- a/services/ws/config.go +++ b/services/ws/config.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package main import ( @@ -8,7 +12,7 @@ import ( type wsConfig struct { Client arvados.Client - Postgres pgConfig + Postgres arvados.PostgreSQLConnection PostgresPool int Listen string LogLevel string @@ -17,6 +21,8 @@ type wsConfig struct { PingTimeout arvados.Duration ClientEventQueue int ServerEventQueue int + + ManagementToken string } func defaultConfig() wsConfig { @@ -24,7 +30,7 @@ func defaultConfig() wsConfig { Client: arvados.Client{ APIHost: "localhost:443", }, - Postgres: pgConfig{ + Postgres: arvados.PostgreSQLConnection{ "dbname": "arvados_production", "user": "arvados", "password": "xyzzy",