CS Reporting Connector Environment Variables
Following are the environment variables used in the cs-reporting-connector service.
Config Parameter | Expected Value | Notes |
---|---|---|
DBURL | IP/Host name of machine where MSSQL server is hosted. | Contact with MSSQL DB administrator for this information. |
INSTANCE_NAME | MS SQL Server Instance name, leave empty if default instance is used | |
DBUSER | MSSQL user with read write privileges. | Contact with MSSQL DB administrator for this information. |
DBPWD | MSSQL user password with read write privileges. | Contact with MSSQL DB administrator for this information. |
DBNAME | ChatSolutionReporting | A new DB needs to be created in MSSQL Server, put db name in this parameter. |
AMQ_HOST_1 | activemq | This is URL of primary ActiveMQ service. |
AMQ_HOST_2 | activemq | This is URL of secondary ActiveMQ service. |
AMQ_PORT | 61615 | This is ActiveMQ service TCP port. 61613 if STOMP_TLS_ENABLED parameter is false. |
AMQ_CONSUMER_PRIORITY | 100 | Don't change this priority, max value is 127. |
STOMP_TLS_ENABLED | true/false | Set the value to true to enable SSL connection with ActiveMQ service. Use port 61615 if true, 61613 otherwise. |
AMQ_RETRIES | 30 | No of retries chat service should attempt if connection is lost with ActiveMQ service |
AMQ_DELAY | 1000 | Time in milliseconds chat service should wait between each try with reconnection to ActiveMQ service. |
ENABLE_HTTPS | true | If true, reporting connector will host its api via https over 8443 internal port. If false, the api will be hosted via http over 8080 internal port |
CERTIFICATE_PATH | https_things/localhost.cert | Certificate for https hosting |
CERTIFICATE_KEY_PATH | https_things/localhost.key | Certificate key for https hosting |
CERTIFICATE_AUTHORITY_PATH | https_things/chat-server.ca-bundle | Certificate authority path, it contains activemq stomp certificates |
CERTIFICATE_PASSPHRASE | Https certificate passphrase, empty by default | |
CERTIFICATE_AUTHORITY_PASSPHRASE | password | Certificate authority bundle passphrase. |
AMQ_CERTIFICATE_PATH | https_things/client.pem | ActiveMQ API certificate path |
AMQ_CERTIFICATE_KEY_PATH | https_things/client.key | ActiveMQ API certificate key |
SERVER_PUBLIC_URL | Public url of chat server to be included in reporting database | |
DATABASE_RETRIES | 3 |