Configure RS Gateway and Event Loader

You configure RS Gateway and the Event Loader to connect to the Event Repository with changes in the values.yaml file.

About this task

The changes you make in the Helm values file in this task have the effect of the following direct configurations:
  • The Event Repository REST APIs return Event Detail Records (EDRs) and notifications in the Event Repository and in-memory event database for subscribers and groups. The connection credentials would be directly configured in the /opt/mtx/conf/rsgateway.yaml file.
    mongodb:
     # MongoDB server address
     serverAddress: mtx-0.mtx-svc.mongodb.svc.cluster.local:27017, mtx-1.mtx-svc.mongodb.svc.cluster.local:27017
     # MongoDB user id
     userName: MtxApp
     # MongoDB user password
     password: xxxxxxxx
  • The Event Loader would be configured by the following questions and answers in the create_config.info file:
    • EventLoader:Do you want to enable MATRIXX event loader (y/n)? y
    • EventLoader:What is the address or connection string for the Event Repository? connectionString: mongodb://mtx-0.mtx-svc.mongodb.svc.cluster.local:27017,​mtx-1.mtx-svc.mongodb.svc.cluster.local:27017/MtxEventDatabase?replicaSet=mtx
    • EventLoader:What is the username for the Event Repository? MtxEventLoader
    • EventLoader:What is the password for the Event Repository? password

See the discussion about administering the Event Repository in MATRIXX Integration for information about Event Repository configuration and password configuration.

Procedure

Configure RS Gateway and Event Loader with the following changes in your Helm values file, including an encoded password.
global:
  features:
    # enable eventLoader feature
    eventLoader: true
 
  # MongoDB connection details used by Event Loader - also requires 'features: eventLoader: true'
  mongodb:
    # set of MongoDB addresses
    connectionString: mongodb://mtx-0.mtx-svc.mongodb.svc.cluster.local:27017,​mtx-1.mtx-svc.mongodb.svc.cluster.local:27017/MtxEventDatabase?replicaSet=mtx
    # MongoDB event loader username
    username: MtxEventLoader
    # MongoDB event loader password (base64 encoded)
    password: "password"
    # MongoDB event query username
    queryUsername: MtxApp
    # MongoDB event loader password (base64 encoded)
    queryPassword: "password"