Skip to main content

Annotation Service

Here you can view all available configuration options for annotation service.

Authentication & Core Settings

Env VariableDescriptionRequiredDefault ValueExample
IDP_ISSUER_URIKeycloak realm URL string.Yes-http://<keycloak-hostname>:<port>/realms/<realm-name>
SECURITY_AUDIENCEKeycloak client scope that security is intended for.Yes-<keycloak-client-scope>
CORS_ALLOWED_ORIGINString that contains allowed origin for this server.Yes-http://<hostname>:<port>

Database Configuration

Env VariableDescriptionRequiredDefault ValueExample
DB_CONNECTION_STRINGDatabase connection string.Yes-jdbc:postgresql://<opencdmp-postgres-hostname>:<port>/<database-name>
DB_USERDatabase username string.Yes-<opencdmp-user>
DB_PASSWORDDatabase password string.Yes-<opencdmp-password>

RabbitMQ Configuration

Env VariableDescriptionRequiredDefault ValueExample
QUEUE_APP_IDRabbitMQ application id string.Yes-<opencdmp-app-id>
QUEUE_NAMERabbitMQ queue name string.Yes-<rabbit-mq-queue-name>
QUEUE_EXCHANGERabbitMQ exchange name string.Yes-<rabbit-mq-queue-exchange>
RABBIT_HOSTRabbitMQ connection host name.Yes-<hostname>
RABBIT_PORTRabbitMQ connection port.Yes-<port>
RABBIT_USERRabbitMQ username string.Yes-<rabbit-mq-username>
RABBIT_PASSRabbitMQ password string.Yes-<rabbit-mq-password>

Logging Configuration

Env VariableDescriptionRequiredDefault ValueExample
LOGGING_CONFIG_PATHXml file that stores logging configuration.Noclasspath:logging/logback.xmlclasspath:logging/<file-name>.xml
LOGGING_DEFAULT_LOG_LEVELLevel of error to store. Only 4 values can be assigned: INFO, DEBUG, WARN, ERRORNo-WARN
LOGGING_PATHFile path to store logging.No-logs/

See Also