You can save an integration service to a new version. Saving a new version of an integration service unlinks the current version of the service from the Kony Fabric application, and links the new version. A Kony Fabric app can be associated with only one version of an integration service.
Note: For more details on API Versioning Use Cases, refer to Kony Fabric API Versioning
To create a new version of an Integration service, follow these steps:
The Service Definition tab appears.
The Save as dialog appears.
You can use major.minor numbering for versions. Kony Fabric supports major versions from 1 through 999, and minor versions from 0 through 99. Kony Fabric supports version numbers from 1.0 to 999.99. Note that the dot '.' is a separator for version numbers and does not function as a decimal.
Kony Fabric links the new version of the service to the Kony Fabric app, and unlinks the previous version.
To use a different version of an integration service, follow these steps:
The Service Definition tab appears.
Select a version of the service.
The Alert dialog appears. The Alert warns you that you are unlinking the current associated version of the service from the application.
Click OK.
Kony Fabric links the version that you selected to the Kony Fabric application.
Kony Fabric allows you to use an existing integration service. You can add or clone more than one service at a time from existing services.
To use an existing integration service, follow these steps:
The Existing services dialog appears with a list of existing services.
Note: If a service is a part of a published app, you can rename that service only after the app is unpublished.
Kony Fabric allows you to clone, unlink, or delete one or more existing integration services from the Integration list page. You can add or clone one or more services at a time from existing services.
To clone, unlink, or delete multiple existing integration services, follow these steps:
By default, the check box is cleared for each service in the services list page.
Note: If you want to use an unlinked service, select the service from the Use Existing Integration Service dialog.
Note: If a service is a part of a published app, you can delete that service only after you unlink the service from all the published app.
To perform various actions on an existing service, click the contextual menu of the required service.
The contextual menu contains the following options:
Note: To know more about publishing an app, refer to Publish an app.
Note: If a service is part of a published app, you can rename that service only after the app is unpublished.
Note: If you want to use an unlinked service, select the service from the Use Existing Integration Service dialog.
Note: If a service is a part of a published app, you can delete that service only after you unlink the service from all the published app.
Audit Logs helps you to capture all the user activities performed in a service. Object Name, Object Type and Modified On fields are prepopulated with the Service Name, Services, and Last 7 Days respectively.
For more information on Audit Logs, refer to Audit Logs documentation.
Console Access Control: Controls the access to the applications and services of apps.
When you are defining an operation for an integration service, you can request that Kony Fabric fetch the response to the operation. If the integration service uses an OAuth 2.0 identity service for authorization, you must log in to the identity service before Kony Fabric can fetch the response from the back end.
When you first request that Kony Fabric fetch the response, the service does not yet have the required token. You can then authorize Kony Fabric to generate the token. Kony Fabric then pops up the sign in for the OAuth 2.0 identity provider. After you successfully sign in to the identity service, Kony Fabric sends the request with the identity to the OAuth 2.0 back end. Kony Fabric gets the token and stores it in a cookie for Kony Fabric on the browser. Kony Fabric sends the token to the back end, and because the back end has the valid OAuth 2.0 token, the back end sends its response. The back end populates the identity backend response, the backend response, and the output result.
For the lifetime of the session, you can test an operation and you are not required to sign in again. In the identity backend response, you can view the token and clear the token if you want to test the login again.
To test the log in for an identity service, do the following:
The Identity Backend Response tab appears. Kony Fabric identifies that the integration service is linked to an OAuth identity service. A message informs you that the service needs a backend token. If the message does not appear, the integration service has the backend token.
The sign in screen for the identity service appears.
The backend response is populated in the response pane.
In the Identity Backend Response tab, you can click Copy to copy the results of the response to the clipboard. Click Expand to open the Identity Backend Response in its own window.
Important: If a custom integration service (for example, MongoDB or RAML) is linked to an OAuth2 identity service, while testing an operation of the integration service from Kony Fabric Console, you must pass the x-kony-oauth2-access-token
as header and access_token
as header value.
Also, If a custom integration service (for example, MongoDB or RAML) is linked to an OAuth2 identity service, while testing an operation of the integration service from Admin Console, you must pass the x-kony-oauth2-access-token
as header and access_token
as header value.
For example:
Copyright © 2020 Kony, Inc. All rights reserved. |