With Kony Fabric API Proxy (pass-through proxy) integration service, you can forward the request and response without intermediate transformation (without affecting the actual request and response.)
For example:
If an organization has an existing set of APIs already exposed and wants to secure and throttle the APIs, it can use the API Proxy adapter. By enabling API Proxy, the input (body and headers) of a client's input request is forwarded to the back end and the output response from the back end is forwarded to the device with no changes in the input request and output response.
If your APIs are documented using an Open API Specification file (Swagger file), you can create a new API Proxy service and import the OAS(Swagger) file to automatically create Kony Fabric Operations.
You can configure API Proxy integration service for the following endpoints:
XML
To configure API Proxy service in the Integration Service Definition tab, follow these steps:
Field | Description |
---|---|
Base URL Configuration |
|
Web Service Authentication |
Web Service Authentication Select one of the following modes:
|
Identity Service for Backend Token | Select the Identity service associated with your app if this service needs backend token like access_token from that Identity service to access the backend server. |
Field | Description |
---|---|
Custom Code |
Custom Code enables you to specify dependent JAR. Important: Make sure that you upload a custom JAR file that is built on the same JDK version used for installing Kony Fabric Integration. |
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.
Note: In case of On-premises, the number of nodes in a clustered environment is set by configuring the |
URL Provider Class | Enter the qualified name of the URL Provider Class. For more information, refer URL Provider Support for XML, JSON, SOAP, and API Proxy. |
Note: All options in the Advanced section are optional.
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.
The Operations List tab appears only after the service definition is saved.
Note: Click Operations List tab > Configure Operation. The Configured Operations list appears.
Important: If you have imported an OAS (Swagger) file, the operations for your API proxy service are created automatically from that OAS (Swagger) file. The endpoint URL is also auto-generated based on the Swagger file. The auto-generated operations for a proxy service will not have request/response parameters.
Note: To use an existing integration service, refer to How to Use an Existing Integration Service.
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. Note: From SP3 onwards, the Front End HTTP Method is called as Resource Method. You can configure the Resource Method in the Advanced> Front End API section. |
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. |
Base URL and Target URL |
The Target URL field is prepopulated with the URL that you provided at the Base URL field. You can add the suffix, if required. For example, to the base URL, you can add suffix such as
|
Field | Description |
---|---|
Custom Code Invocation | You can add pre and post processing logic to services to modify the request inputs. When you test, the services details of various stages in the service execution are presented to you for better debugging. All options in the Advanced section are optional. For more details, refer to Preprocessor and Postprocessor. |
Properties |
Additional configuration properties (timeout, cachable, unescape embedded xml in response, response encoding, number of connection retries allows you to configure service call time out cache response |
Front End API | It allows you map your endpoint/back-end 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.
You can also configure the following pass-through proxy flags in operations for adapters such as XML, SOAP, and JSON:
Copyright © 2020 Kony, Inc. All rights reserved. |