Skip to main content

Notification Service

Env VariableDescriptionDefault ValueExample
IDP_ISSUER_URIKeycloak realm URL string.-http://<keycloak-hostname>:<port>/realms/<realm-name>
SECURITY_AUDIENCEKeycloak client scope that security is intended for.-<keycloak-client-scope>
CORS_ALLOWED_ORIGINString that contains allowed origin for this server.-http://<hostname>:<port>
DB_CONNECTION_STRINGDatabase connection string.-jdbc:postgresql://<opencdmp-postgres-hostname>:<port>/<database-name>
DB_USERDatabase username string.-<opencdmp-user>
DB_PASSWORDDatabase password string.-<opencdmp-password>
MAIL_HOSTMail server host.-<hostname>
MAIL_PORTMail server port.-<port>
MAIL_ADDRESSMail andress string.-opencdmp@example.com
MAIL_AUTHBoolean value to enable authentication.falsetrue
MAIL_TLSBoolean value to enable TLS.falsefalse
MAIL_USERNAMEMail username string.-<username>
MAIL_PASSWORDMail password string.-<user-password>
QUEUE_ENABLEDBoolean value to enable queue RabbitMQ server. It must be enabled if we want the notification service communicate with OpenCDMP.truetrue
QUEUE_APP_IDRabbitMQ application id string.-<opencdmp-app-id>
QUEUE_NAMERabbitMQ name string.-<rabbit-mq-queue-name>
QUEUE_EXCHANGERabbitMQ name string.-<rabbit-mq-queue-exchange>
RABBIT_HOSTRabbitMQ connection host name.-<hostname>
RABBIT_PORTRabbitMQ connection port.-<port>
RABBIT_USERRabbitMQ username string.-<rabbit-mq-username>
RABBIT_PASSRabbitMQ password string.-<rabbit-mq-password>
LOGGING_CONFIG_PATHXml file that stores logging confiiguration.classpath:logging/logback.xmlclasspath:logging/<file-name>.xml
LOGGING_DEFAULT_LOG_LEVELLevel of error to store. Only 4 values can be assigned: INFO, DEBUG, WARM, ERROR-WARN
LOGGING_PATHFile path to store logging.-logs/