Gateway for Message Bus ConfigMap

Learn about the structure of the ConfigMap for the Gateway for Message Bus. This ConfigMap is associated with the scala pod. Edit this ConfigMap to customize the properties of the Gateway for Message Bus, which defines which data is transferred from the Netcool®/OMNIbusObjectServer to the Operations Analytics - Log Analysis to support the Event Search capability.

Contents

The following table lists the data elements that are contained in the Gateway for Message Bus ConfigMap :
Table 1. Data elements in the Gateway for Message Bus ConfigMap
Data elements Description More information

xml-gate-props-append

Properties that are listed in this data element are appended to XML gateway properties file on pod startup.

Netcool/OMNIbus documentation: Gateway for Message Bus properties fileexternal link

xml-gate-map-replace

Properties that are listed in this data element replace the gateway map definition in the LA_GATE.map file on pod startup.

Netcool/OMNIbus documentation: Gateway for Message Bus map definition fileexternal link

xml-gate-tblrep-def-replace

Properties that are listed in this data element replace the table replication in the LA_GATE.tblrep.def file on pod startup.

Netcool/OMNIbus documentation: Gateway for Message Bus table replication definition fileexternal link

xml-gate-startup-cmd-replace

Properties that are listed in this data element replace the startup command definition in the LA_GATE.startup.cmd file on pod startup.

Netcool/OMNIbus documentation: Gateway for Message Bus startup command fileexternal link

Examples of each of the data elements in this ConfigMap are provided.

Data element: xml-gate-props-append

Properties that are listed in this data element are appended to XML gateway properties file on pod startup.
xml-gate-props-append: |
 MessageLevel: 'debug'

Data element: xml-gate-map-replace

Properties that are listed in this data element replace the gateway map definition in the LA_GATE.map file on pod startup.
xml-gate-map-replace: |CREATE LOOKUP SeverityLkTable
(
	{ 0, 'Clear'                                               },
	{ 1, 'Indeterminate'                                       },
	{ 2, 'Warning'                                             },
	{ 3, 'Minor'                                               },
	{ 4, 'Major'                                               },
	{ 5, 'Critical'                                            }
) DEFAULT = TO_STRING('@Severity');

CREATE LOOKUP TypeLkTable
(
	{ 0, 'Type Not Set'                                        },
	{ 1, 'Problem'                                             },
	{ 2, 'Resolution'                                          },
	{ 3, 'Visionary Problem'                                   },
	{ 4, 'Visionary Resolution'                                },
	{ 7, 'ISM New Alarm'                                       },
	{ 8, 'ISM Old Alarm'                                       },
	{ 11, 'More Severe'                                        },
	{ 12, 'Less Severe'                                        },
	{ 13, 'Information'                                        }
) DEFAULT = TO_STRING('@Type');

CREATE LOOKUP ClassLkTable
(
	{ 0, 'Default Class'                                       },
	{ 95, 'Fujitsu FLEXR+'                                     }
) DEFAULT = TO_STRING('@Class');

    # My test map 
    CREATE MAPPING StatusMap
    (
        'LastOccurrence'  =     '@LastOccurrence',
        'Summary'          =    '@Summary',
        'NmosObjInst'      =    '@NmosObjInst',
        'Node'             =    '@Node',
        'NodeAlias'        =    '@NodeAlias' NOTNULL '@Node',
        'LastOccurrence'   =    '@LastOccurrence',
        'Severity'         =    Lookup('@Severity', 'SeverityLkTable'),
        'AlertGroup'       =    '@AlertGroup',
        'AlertKey'         =    '@AlertKey',
        'Identifier'       =    '@Identifier',
        'Location'         =    '@Location',
        'Type'             =    Lookup('@Type', 'TypeLkTable'),
        'Tally'            =    '@Tally',
        'Class'            =    Lookup('@Class', 'ClassLkTable'),
        'OmniText'         =    '@Manager' + ' ' + '@Agent',
        'ActionCode'       =    ACTION_CODE,
        'ServerName'       =    '@ServerName',
        'ServerSerial'     =    '@ServerSerial'
    );

Data element: xml-gate-tblrep-def-replace

Properties that are listed in this data element replace the table replication in the LA_GATE.tblrep.def file on pod startup.
  xml-gate-tblrep-def-replace: |
    # My test table replication definition 
    REPLICATE FT_INSERT,FT_UPDATE FROM TABLE 'alerts.status'
        USING MAP 'StatusMap';

Data element: xml-gate-startup-cmd-replace

Properties that are listed in this data element replace the startup command definition in the LA_GATE.startup.cmd file on pod startup.
  xml-gate-startup-cmd-replace: |
    SHOW PROPS;