Update Adapter Configuration
The Update Adapter Configuration workflow updates the specified adapter, including name, description, and configuration.
The following table describes the input elements for the Update Adapter Configuration workflow.
Input elements for the Update Adapter Configuration workflow
Input element | Type | Description | Required |
---|---|---|---|
authentication token | String | Specifies the authentication token generated by running the Login workflow. | Yes |
url | String | Specifies the URL to the TrueSight Orchestration peer in the following format: https://<hostname>:<port>/<name of the peer> For example, https://clm-aus-123456:58080/baocdp | Conditional; required if not specified in the module configuration |
adapter name | String | Specifies the name of the adapter for which you want to update the configuration | Yes |
input | String | Specifies the input for updating adapter configuration in a json format Example format { "name": "WebServiceAdapter_New", "description":"This is a test description", "adapterType": "ro-adapter-ws", "version":"20.17.01.00", "revision": "1", "configuration":"<config></config>", "configurationDataType":"xml" } For the supported body elements, see Update adapter configuration REST API call in TrueSight Orchestration Platform documentation. | Yes |
The following table describes the output elements for the Update Adapter Configuration workflow.
Output elements for the Update Adapter Configuration workflow
Output element | Description |
---|---|
remediation message | Contains the resolution if an error occurs |
error number | Contains more information about the error |
status reason | Indicates the reason for success or failure Example: OK |
response in XML doc | Contains the XML response for the request |
error message | Contains the error message if the request fails |
status code | Contains the response code for the request Example: 200 For more information about status codes, see HTTP response codes |
adapter response | Contains the XML adapter response |
response message | Contains the message included in the adapter response Example: Requested module/s successfully activated. |
response status | Indicates whether the adapter response is generated successfully Valid values: Success, Failure |
status | Indicates whether the workflow is run successfully Valid values: success, failure |