Adapters Configuration

File Structure

Below is a sample adapters configuration file. As stated, the file uses the JSON format to define the adapter class names.

[
"com.kineticdata.calendar.adapters.ars.ArsAdapter",
"com.kineticdata.calendar.adapters.exchange.ExchangeAdapter"
]

This example shows two adapters defined in the file. The first adapter is the class name of the BMC Remedy ARS adapter. This adapter is used to connect to BMC Remedy servers (version 7.0 or higher). The second adapter is the class name of the Microsoft Exchange adapter. This adapter is used to connect to Microsoft Exchange server (version 2007 or higher).

On line 1, there is a opening bracket. Since Kinetic Calendar supports multiple connections, it expects a list of adapters in the configuraton file, even if only one adapter will ever be used. The opening bracket indicates this is the start of a list of items.

Line 2 defines the class name of the first adapter. In this example we listed the BMC Remedy ARS adapter, so we need to indicate the class for this adapter. Please consult the adapter configuration page to determine the class name expected for your adapter. This class name is used in the Kinetic Calendar application to load the adapter.

🚧

IMPORTANT

Notice that line 2 has a comma at the end of the line. This indicates there are more items that belong in the list.

Line 3 defines the class name of the second adapter. In this example, we listed the Microsoft Exchange adapter so the class name for this adapter is listed.

Also notice, line 3 does NOT have a comma at the end of the line. This indicates it is the last item in the list. The last item in a list cannot contain a comma at the end of the line, this would make the file contain an invalid syntax.

Line 4 contains a closing bracket, indicating the end of a list.


Did this page help you?