Working with nJAMS Client for ADADB

Contents

Working with nJAMS Client for ADADB#

This chapter describes basic topics to work with nJAMS Client for ADADB, like enabling Tracing or creating Extracts. For more details see also nJAMS Server User Guide.

Tracing#

Enable Tracing allows you to monitor more details with regards to a specific activity. You can use nJAMS UI to configure Tracing. Select an activity from process diagram and click on the light bulb icon.

Enable Tracing

Additional settings regarding Tracing can be configured by opening the Tracing combo box and selecting Trace settings:

Trace settings

In the following dialog you can define a period of time for Tracing or you can activate “Deeptrace”, which enables Tracing on all activities of subsequent processes. Please refer to nJAMS Server User Guide for more information.

Trace settings dialog

Alternatively you can modify nJAMS Client for ADADB configuration file <adapter_service>_njams4.json in <TIBCO_ADADB_HOME>/plugins/conf and add or update Tracing without using the User Interface. This is an example for enabling Tracing:

{
  "ADADB_START": {
    "tracepoint" : {
      "starttime" : "2018-12-19T09:57:43.610",
      "endtime" : "2018-12-19T10:12:43.610",
      "iterations" : 0,
      "deeptrace" : false
    }
    }
}

Note

After modifying nJAMS Client for ADADB configuration file, you have to restart TIBCO Adapter for Database Service instance to make the settings become effective.

Extracts#

An Extract is a non-invasive way to add nJAMS events with regards to specific activities. You can use nJAMS UI to configure an Extract:

Create Extract

The following dialog allows you to configure an Extract:

Edit Extract

You can also modify nJAMS Client for ADADB configuration file <adapter_service>_njams4.json in <TIBCO_ADADB_HOME>/plugins/conf and create, update, or delete Extracts without using the nJAMS User Interface.

This is an example for creating an Extract:

{
    "ADADB_START": {
        "extract": {
            "name": "ExtractruleType",
            "extractRules": [{
                    "attribute": "SQLstatement",
                    "attributeType": "attribute",
                    "ruleType": "xpath",
                    "rule": "//*:SQL__STRING",
                    "inout": "out"
                }, {
                    "attribute": "eventType",
                    "attributeType": "event",
                    "ruleType": "value",
                    "rule": "info",
                    "inout": "out"
                }
            ]
        }
    }
}

Note

After modifying nJAMS Client for ADADB configuration file, you have to restart TIBCO Adapter for Database Service instance to make the settings become effective.