Update the MDC Definitions for RS Gateway

After extending an MATRIXX Data Container (MDC) definition with custom fields or upgrading the MATRIXX Engine schema, follow this procedure to update the MDC definitions for RS Gateway. This enables applications that communicate with the engine to operate on the new fields and revert to previous service provider versions, if necessary.

About this task

Important: If you are performing this task after a schema upgrade, you must wait until the target cluster is in an HA STANDBY state. This ensures all MDC definitions have already been transformed into the new schema. If you are upgrading to a new version of MATRIXX, upgrade all engines before updating the MDC definitions for RS Gateway.

Procedure

  1. Create any necessary MDC extensions.
  2. Copy mdc_config_custom.xml to the directory in your configuration source mapped to the /opt/mtx/conf directory in the container.
    For more information about configuring MATRIXX gateways and web apps, including using configuration sources and config maps instead of a configuration source, see the discussion about configuring MATRIXX gateways and web apps in MATRIXX Configuration.
  3. Rebuild the image and upload it to your image repository.
  4. Update values for rsgateway.configuration.container.configmap and rsgateway.sideloadImages in your Helm values file to apply the updated configuration, in this case your new MDC definitions for RS Gateway.
  5. Apply the MDC definitions with the helm upgrade command. For example, the following command applies the contents of the configuration source specified in matrixx-webapps-gateways_values.yaml to the matrixx-webapps-gateways Kubernetes namespace:
    helm upgrade ag1 matrixx/matrixx --namespace matrixx-webapps-gateways -f matrixx-webapps-gateways_values.yaml --version 5260