Breadcrumbs

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.

SELF_SIGNED_CERTIFICATES

true


UMM_USER

admin


UMM_PSWD

admin123!


DB_CONNECTOR_API_PATH

https://database-connector:8443


MRE_MICROSERVICE_PATH

https://mre-microservice:8443


SYNC_WITH_MRE_MICROSERVICE

false


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_HTTPS

8443

Port 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_PATH

https://reporting-connector:8443

MRE 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_DURATION

90000

Time-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.jks

Default keystore of MRE.

JKS_KEY_STORE_PSWD

password

Password of JKS_KEYSTORE

JKS_KEY_MANAGER_PSWD

password

Password of key manager of JKS_KEYSTORE

PREFERRED_ROUTING

0/1/2

0 - Task will be queued, it will not be routed to last agent / preffered agent

1 - Task will not be queued and system will try to route that task to last/preferred agent. The task will be queued if last/preferred agent is not available

2 - Task will be queued even if the preferred agent is available. Upon task's turn in queue, task will be assigned to preferred agent if available, otherwise it will be assigned to any available agent.