Adapter Services
To use Adapter for Terracotta DB, you create adapter services. Adapter services allow you to connect to the adapter's resource and initiate an operation on the resource from Integration Server
You call adapter services from flow or Java services to interact with TCStore. The adapter services perform dataset operations by calling TCStore Client jar API.
Integration Server then uses adapter connections that you defined earlier to execute the adapter services. For details, see
Adapter Service Processing.
Adapter services are based on templates provided with Adapter for Terracotta DB. Each template represents a specific operation on a resource, such as using the Insert service template to inserts specified information to the dataset.
An adapter service template contains all the code necessary for interacting with the resource but without the data specifications. You provide these specifications when you create a new adapter service.
Creating a new service from an adapter service template is straightforward. Using Software AG Designer, you assign the service a default adapter connection.
After you select the connection for the adapter service, you select the adapter service template and supply the data specifications using Designer. Some familiarity with using Designer is required. For more information, see the webMethods Service Development Help for your release.
Adapter for Terracotta DB provides the following adapter service templates:
Adapter Service Template | Description |
Insert Service | Inserts the record into a dataset and includes a mapping for an output field stores the result of service execution. |
Update Service | Updates the existing record in a dataset like updating the value of an existing cell, inserting new cells or removing existing cells for the given Key and includes a mapping for an output field that stores the result of service execution. |
Delete Service | Deletes the record from a dataset and includes a mapping for an output field stores the result of service execution. |
Query Service | Retrieves the records from a dataset. |