MRE Environment Variables

Following are the environment variables used in the mre service.

Config Parameter

Expected Value

Notes

ACTIVEMQ

<fqdn>:61617

This is URL and port of ActiveMQ service. Use port 61616 if ENABLE_SSL parameter in mre configuration is false

UMM

https://umm:8443

Internal URL of UMM service

USER_TYPE

CC/DB

Set this value to 'CC' if solution is being deployed with contact center integration. Otherwise set this value to 'DB'

ENABLE_SSL

true/false

Set this value to 'true'  to enable SSL. Otherwise set this value to 'false'. Use ACTIVEMQ <fqdn>:61617 if true, 61616 otherwise

KEYSTORE_PATH

/src/app/client.ks

Custom Keystore: This keystore contains following certificates:
   - ActiveMQ client certificate

   - Umm https certificate
Only applicable when ENABLE_SSL set to true.

The path of of default self signed certificate key store.Do not change this value unless you are using valid domain signed certificate.

TRUSTSTORE_PATH

/src/app/client.ts

Custom Trust store: This trust store contains following certificates:
   - ActiveMQ broker certificate

   - Umm https certificate
Only applicable when ENABLE_SSL set to true.

The path of of default self signed trust key store.

KEYSTORE_PWD

password

Key store password

TRUSTSTORE_PW

password

Trust store password

ENABLE_REPORTING

true/false

Set value to "true" if you want to publish  agent state change and task state CDRs on ActiveMQ queue for reporting. Otherwise set value to "false".

STATUS_API_PORT

8080

Port on which other services can can the liveness of this service.

API_PORT_HTTPS8443Port on which other services can can the liveness of this service on https.

IS_UMM_CERT_SELF_SIGNED

True or false

This is true when umm self signed certificate is used by MRE

REPORTING_CONNECTOR_API_PATHhttps://reporting-connector:8443MRE fetches average talk time from reporting database upon startup for calculation of EWT based on historical data. This time is set in REPORTING_DURATION environment variable
REPORTING_DURATION90000Time-period to get average talk time of chats from historical data. This is used by MRE at startup to calculate EWT for future chats. This value is in seconds
CORS_ORIGIN*Allow origin, default is *. Check here for possible values.
JKS_KEYSTORE_PATH/src/app/keystore.jksDefault keystore of MRE.
JKS_KEY_STORE_PSWDpasswordPassword of JKS_KEYSTORE
JKS_KEY_MANAGER_PSWDpasswordPassword of key manager of JKS_KEYSTORE