Each storage system component has an application.yml
configuration file in the codebase whose properties can be overridden using Spring Boot mechanisms such as specifying Java system properties when running the jar or by specifying an external config file (i.e. java -Dspring.config.location=/path/to/config.properties
).
The various configuration properties used by each component are documented next.
Auth-server Configuration Profiles and Properties
Auth-server Configuration Profiles
Uses a local database of users and their credentials and scopes.
NOT FOR NON-ICGC USE. Uses the ICGC production auth database.
Disables scope validation; any valid user in the auth database can access/do anything with any of the storage system data
Auth-server Configuration Properties
e.g. SUPERUSER
e.g. /admin
e.g. 127.0.0.1
The port on which the management server listens e.g. 8444
Port on which auth server listens for normal requests. See the Spring Documentation for details.
e.g. 8443
Specifies the relative path of the keystore to use. HTTPS will be served implicitly. See the Spring Documentation for details.
e.g. ssl-conf/
Specifies the password to the keystore file specified by server.ssl.key-store. See the Spring Documentation for details.
Specifies the keystore type (JKS is recommended). See the Spring Documentation for details.
e.g. JKS
e.g. PKCS12
Specifies the path to the local H2 database file that will be created if the "dev" profile is enabled.
e.g. ./target/data/database
Specifies the directory where backups should be placed when a backup is triggered via the auth server management interface backup endpoint. See the Spring Documentation for details.
e.g. /tmp/backups
Path to database file.
e.g. jdbc:h2:/path/to/database;AUTO_SERVER=TURE
Username for accessing database.
Password for accessing database.
TODO
e.g. true
SQL script to execute on database intialization.
e.g. "classpath:sql/auth-schema.sql"
Metadata Server Configuration Profiles and Properties
Metadata Server Configuration Profiles
Metadata Server Configuration Properties
Port number that server will listen on
e.g. 8444
Port number that management server will listen on
e.g. 8544
Specifies the relative path of the keystore to use. HTTPS will be served implicitly. See the Spring Documentation for details.
e.g. ssl-conf/
Specifies the password to the keystore file specified by server.ssl.key-store. See the Spring Documentation for details.
Specifies the keystore type (JKS is recommended). See the Spring Documentation for details.
e.g. JKS
e.g. PKCS12
URL where auth-server is listening
e.g. https://storage.ucsc-cgl.org:8443
Principle name that metadata-server should use to authenticate to auth-server
e.g. metadata
Password that metadata-server should use to authenticate to auth-server
e.g. password
URI where mongodb is running with dcc-metadata database
e.g. mongodb://localhost:27017/dcc-metadata
Storage Server Configuration Profiles and Properties
Storage Server Configuration Profiles
Storage Server Configuration Properties
e.g. /var/log/dcc/storage-server/storage-server.log
Port number that server shold listen on.
e.g. 5431
URL where auth-server is listening
e.g. https://storage.ucsc-cgl.org:8443
Principle name that storage-server should use to authenticate to auth-server
e.g. storage
Password that storage-server should use to authenticate to auth-server
e.g. password
URL where metadata-server is listening
e.g. https://storage.ucsc-cgl.org:8444
Endpoint URL used to connect to s3. See AWS Documentation for details.
e.g. https://s3-us-west-2.amazonaws.com (for bucket in Oregon)
AWS account access key
AWS account secret key
KMS master key ID
Specifies whether or not https should be used when making requests to S3
TODO
Specifies the relative path of the keystore to use. HTTPS will be served implicitly. See the Spring Documentation for details.
e.g. ssl-conf/
Specifies the password to the keystore file specified by server.ssl.key-store. See the Spring Documentation for details.
Specifies the keystore type (JKS is recommended). See the Spring Documentation for details.
e.g. JKS
e.g. PKCS12
TODO
TODO