Quantum SAP Gateway Adapter
With Quantum Fabric, you can access external Quantum SAP services by using the Quantum SAP Gateway adapter. Based on your Quantum SAP Gateway authentication, you can use Quantum SAP libraries and objects along with the supported HTTP methods in your app.
Configure Quantum SAP Gateway Endpoint Adapter
To configure Quantum SAP Gateway service in the Integration Service Definition tab, follow these steps:
- In the Name field, provide a unique name for your service.
- From the Service Type list, select Quantum SAP Gateway.
- Provide the following details to create the Quantum SAP Gateway service:
-
For additional configuration of your service definition, provide the following details in the Advanced section:
Field Description Throttling API throttling enables you to limit the number of request calls within a minute. If an API exceeds the throttling limit, it will not return the service response.
- To specify throttling in Quantum Fabric Console, follow these steps:
-
In the Total Rate Limit text box, enter a required value. With this value, you can limit the number of requests configured in your Quantum Fabric console in terms of Total Rate Limit.
- In the Rate Limit Per IP text box, enter a required value. With this value, you can limit the number of IP address requests configured in your Quantum Fabric console in terms of Per IP Rate Limit.
-
- To override throttling in App Services Console, refer to Override API Throttling Configuration.
NOTE: In case of On-premises, the number of nodes in a clustered environment is set by configuring the
KONY_SERVER_NUMBER_OF_NODES
property in the Admin Console. This property indicates the number of nodes configured in the cluster. The default value is 1.
Refer to The Runtime Configuration tab on the Settings screen of App Services.
The total limit set in the Quantum Fabric Console will be divided by the number of configured nodes. For example, a throttling limit of 600 requests/minute with three nodes will be calculated to be 200 requests/minute per node.
This is applicable for Cloud and On-premises.NOTE: All the fields in the Advanced section are optional.
- To specify throttling in Quantum Fabric Console, follow these steps:
-
In the Description field, provide a suitable description for the service.
-
To enable the proxy, select the Use proxy from settings check box. By default, the check box is cleared.
The Use proxy from settings check box dims when no proxy is configured under the Settings > Proxy. - Click Save to save your service definition.
Create Operations for Quantum SAP Gateway
The Operations List tab appears only after the service definition is saved.
NOTE: Click Operations List tab > Configure Operation. The Configured Operations list appears.
Based on your Quantum SAP Gateway authentication, the system loads all tables such as libraries and objects along with supported HTTP methods.
To create operation, follow these steps:
- Click SAVE & ADD OPERATION in your service definition page to save your service definition and display the NewOperation tab for adding operations.
OR
Click Add Operation to add a new operation or from the tree in the left pane, click Add > Add New Operation.Click to View imageNOTE: To use an existing integration service, refer to How to Use an Existing Integration Service.
- Under Operations List tab, from the Libraries list, select a library - for example, CRM. The system loads available objects and operations for the selected library.
- From the Object list, select an object.
- From the Operations (HTTP Methods) list, select the required check boxes for each operation.
-
To configure more operations for your Quantum SAP Gateway integration service, repeat Steps a through b. You can select a new library and object, and supported operations.
-
Click ADD OPERATION. The system adds your operation to the Operations List page, and it also adds your new Quantum SAP Gateway service into the Integration page.
- To edit an operation, either click on the required operation name or click Edit from the Settings in the Operations List screen. The operation details page is displayed.
- To configure an operation, provide the following details:
- Authenticated App User – It restricts the access to clients who have successfully authenticated using an Identity Service associated with the app.
- Anonymous App User – It allows the access from trusted clients that have the required App Key and App Secret. Authentication through an Identity Service is not required.
- Public – It allows any client to invoke this operation without any authentication. This setting does not provide any security to invoke this operation and you should avoid this authentication type if possible.
- Private - It blocks the access to this operation from any external client. It allows invocation either from an Orchestration/Object Service, or from the custom code in the same run-time environment.
-
For additional configurations of request (or) response operations, provide the following details in the Advanced section:
Field Description Front End API It allows you map your endpoint (or) backend URL of an operation to a front-end URL. Server Events Using Server Events you can configure this service to trigger or process server side events. For detailed information, refer Server Events. NOTE: All options in the Advanced section are optional.
Field | Description |
---|---|
Name | Enter a unique name for your operation. |
Operation Security Level |
It specifies how a client must authenticate to invoke this operation. Select one of the following security operations in the Operation Security Level field.
|
Front End HTTP Method |
Select a HTTP method that you want to invoke on the integration server. By default, the field is set to Post method. NOTE: The front-end HTTP methods are used for all non-SDK clients such as API Management users. |
Target HTTP Method | Select a HTTP method that you want to invoke on the back-end service from integration server. |
Operation Path |
Modify the path if required. NOTE: If you provide incorrect Salesforce endpoint details, the Object list will contain only _Login object. |
Configure Request Operation for Quantum SAP Gateway
Integration services accept only form-url-encoded
inputs for all the input parameters provided in the service input parameters (request input).
You can perform the following actions in Request Input tab:
-
Click Add Parameter to add an entry (if the entries for input and the output tabs does not exist).
-
To make duplicate entries, select the check box for the entry, click Copy and Paste.
-
To delete an entry, select the check box for an entry and click Delete .
-
Under the Body tab, provide the following details:
Field Description Name It Contains a Unique Identifier. Change the name if required. Test Value Enter a value. A test value is used for testing the service. Default Value Enter the value, if required. The default value will be used if the test value is empty. Scope Select Request or Session. It is set to Request by default.
- Request indicates that the value must be retrieved from the HTTP request received from the mobile device.
- Session indicates that the value must be retrieved from the HTTP session stored on Quantum Fabric.
Datatype Select one of the following data types.- String - A combination of alpha-numeric and special characters. Supports all formats including UTF-8 and UTF-16 with no maximum size limit.
- Boolean - A value that can be true or false.
- Number - An integer or a floating number.
- Collection - A group of data, also referred as data set.
Encode Select the check box to enable encoding of an input parameter. For example, the name New York Times would be encoded as New%20York%20Times when the encoding is set to True. The encoding must also adhere to the HTML URL encoding standards.
- Under the Header tab, provide the Custom HTTP Headers. For example, POST or GET. The following Custom HTTP Headers are required by the external source:
ID: The rows are created based on the selected operation. Change the value if required.
- TEST VALUE: Enter a value. A test value is used for testing the service.
- Scope: Select request or session. By default, this field is set to Request.
-
To validate the operation details, click Save and Test. For more details, refer to Test a Service Operation.
Configure Response Operation for Quantum SAP Gateway
- Click the Response Output tab to view the output test values, such as name, scope, data type.
NOTE: If you define parameters inside a record as the session, the session scope will not get reflected for the parameters.
- To validate the operation details, click Save and Test. For more details, refer to Test a Service Operation.
- Click SAVE OPERATION to save the operation.
NOTE: You can view the service in the Data Panel feature of Quantum Visualizer. By using the Data Panel, you can link back-end data services to your application UI elements seamlessly with low-code to no code. For more information on Data Panel, click here.
How to Edit or Test an Existing Quantum SAP Gateway Adapter
If you want to edit an existing Quantum SAP service, you can edit details such as service name, authentication service information, operations.
Each operation contains four tabs, including input, attributes, output, and advanced. If you want to test an existing operation for Quantum SAP service - for example, get or put - enter necessary test values in the input and the advanced tabs. The results are displayed in the JSON format. The input values can be data types, test values, and session keys.
To edit or test an existing Quantum SAP integration service, follow these steps:
- In the Integration page, click one of your SAP services.
- Make the necessary changes in the Service Definition and Operations sections. You can test an operation by inputting values. To test an operation, refer to How to configure Quantum SAP Gateway Operations.
- Click Done to save the changes. The system displays the Integration page.