...
Info |
---|
Automation Center is only available in the CSM ISM Service Management edition. This feature is not available in the CSM ISM Service Desk edition. |
App Connector
...
You can navigate to this tab by clicking WORKSPACES, AUTOMATION, Automation Center, C onnector Library, WORKSPACES> AUTOMATION> Automation Center> C onnector Library> New App Connector.
The process of creating an App connector consists of the following steps:
...
Set up the basic properties of your app connector.
Follow these steps:
- Navigate to WORKSPACES, AUTOMATION, Automation Center, WORKSPACES> AUTOMATION> Automation Center> Connector Library.
- Click New APP Connector.
- Provide the basic details about the connector in the Basic Properties section. Basic details include the following:
- The App connector name.
- The API Version. An App Connector is built for a specific API version that is published by the target application. Input/output parameters, operations may change across API versions. If you have multiple connectors for the same app for different versions, you can use this field.
- The connector description explains what the connector does.
- The connector type. Your connector could be available on cloud or on-premise.
- The Base URL for the connector. This URL is used by ServiceAide Cloud Serviceaide Intelligent Service Management (CSM) to connect to the service. Select the type of user authentication that you want to use for your connector. CSM Intelligent Service Management supports Basic and Advanced authentication.
- The API format. ReST API request/response formats (content type) can be JSON or XML.
- Set up the connector operations.
- Click Save.
Configure Authentication Parameters and Validate
CSM Intelligent Service Management supports, None, Basic, and Advanced authentication. Every HTTP rest call needs authentication. After you fill in the basic properties you can configure authentication parameters for your connector.
...
Follow these steps:
- Navigate to WORKSPACES, AUTOMATION, Automation Center, Connector WORKSPACES> AUTOMATION> Automation Center> Connector Library.
- Click New APP Connector
- Select the type of user authentication that you want to use for your connector.
- Click the link View test output and select parameters.
A pop-up appears which contains an authentication call response in JSON/XML format. - Select token from the response output to pass the parameters to the next operation call. Click Select Parameters.
- Automatically the parse string appears in the text box as an Output parameter in the Output Parameters tab.
- Select the parameters that the connector passes from the authentication call to the next operation calls.
Note: You can provide a user-friendly name to this parameter in the Name to identify box which can be used in subsequent operation calls. - Click Save.
- (Optional) Click Validate.
- In case of basic authentication, validation is automatic if the username and password are input accurately.
- In case of advanced authentication, a popup is displayed with the JSON/XML response output. An Accept and Reject button is displayed. Click Accept and the status changes to Validated
- (Optional) Click Use Basic Authentication, if an advanced authentication needs Basic authentication too.
- (Optional) Click Send Cookies, if an advanced authentication requires to send cookies.
...
Follow these steps:
- Navigate to WORKSPACES, AUTOMATION, Automation Center, Connector Library, WORKSPACES> AUTOMATION> Automation Center> Connector Library> New App Connector.
- Click New Operation.
A new operation is added in the left pane. You can define the properties of the operation in the right pane. A default name is automatically assigned to the operation. You can edit this name in the Operation Name field. - Provide a description of the operation in the Description field.
- Provide the Sub URL for the operation. Every ReST API is identified using a unique URI. This URI is captured as Sub URL. Example: /ReST/v1_1/templates
- Select the HTTP method that the operation invokes. Example: GET, POST, PUT, and DELETE.
- Click Next.
- Define the input parameters and output parameters for the operations.
- Input Parameters: Provide the keys that are required by the API. Provide values for the URL query parameter and the HTTP header field. Select how the HTTP Body data is treated. In the Body drop-down select Form data or Raw Data.
Each URL Parameter has three fields. First two fields capture key, value pairs of a URL parameter and the third field is for providing user readable name for the key. This value is used when this field is displayed in the service request. Click the + to add more parameters.- Select Form data and enter the Key, Value, and user Identifiable Name, in the key value payload form.
- Select Raw Data and enter the JSON/XML payload information.
- Provide all the test values of the API in the Value text box. The value in the User Identifiable name creates an input parameter for the connector. The input parameter appears in the data mapping. Provide the actual URL Parameter or Header key in the URL Parameter or Header text box.
- To customize the content of the sub URL or payload and create input parameter values which are provided at the workflow creation time then use format {{VARIABLE_NAME:VALUE}}
- Output Parameters: Provide the keys and values for the output of the operation.
- Click View test output and select parameters the XML/JSON. You receive a response in tree format. You can use this response to create output parameters by expanding the tree and by selecting a value.
- Every output parameter has a Name to identify, which could be a user-defined name for that connector operation. You can use this user-defined name in a workflow, if you need to send an output of step, as an input to the other step.
- Input Parameters: Provide the keys that are required by the API. Provide values for the URL query parameter and the HTTP header field. Select how the HTTP Body data is treated. In the Body drop-down select Form data or Raw Data.
- At any point, click Save to save your operation details only. To save the new connector, click Save at the top of the page. Click Next to move to the next tab. Click Reset to clear all details.
- Add more operations as necessary.
- Click Save at the top of the page
...