Kony Fabric console User Guide: How to Create an Identity Service in API Management > APIs

APIs - API Management

A Kony Fabric app comprises a group of services, shared and non-shared services. With API Management, you can manage (create, edit, and delete) shared services (identity, integration, orchestration, objects, and logic for Node.js services) without linking or configuring them within an app. After configuring the services in the APIs page, you can edit, clone, view a sample code, and delete a service. When you create the services in the APIs page, the services are not linked to apps automatically. You can link the services across any apps created for that account in Kony Fabric Console. The APIs page also allows you to view the list of apps or services that are using or referencing a given service. When you make changes to the services in the APIs page, the changes will be reflected in the services associated with other apps.

Note:  You can edit a service. When you make a change to the service, the changes will be reflected in the services associated with other apps.

You cannot delete a service if it is associated with an app or a service.

To create services through the APIs page, follow these steps:

  1. In the Kony Fabric Console, in the left-pane, click the API Management tab to display the services tabs such as APIs, Custom Code, and Custom Data Adapters. By default the Identity service tab is selected under the APIs tab.

    Under the APIs page, the Identity, Integration, Orchestration, Objects, and Logic tabs appear and display list the existing services (if any). Under the APIs, the Identity, Integration, Orchestration, and Objects views display the following columns:

    ColumnDescription
    NAMEDisplays the Name of the service.
    URL

    Displays the URL of the service.

    Note: The URL column is displayed only for identity service.

    ENDPOINT TEYnPdEp / SERVICE TYPE

    Displays the type of the service. The TYPE column is displayed only for identity service.

    Note:  The SERVICE TYPE column is displayed only for integration service.

    ASSOCIATED APPSDisplays the View hyperlink. When you click the View link, the system displays the Associated Apps page.

    The Associated Apps page displays the number of apps associated with a particular service. For more details, refer to Associated Apps
    MODIFIED BYDisplays the name of the user.
    MODIFIED ONDisplays the date and time of the modified service.
  2. From the APIs page, follow these steps to create services:

Identity Service

Kony Fabric identity services help you secure your application by adding an authentication layer.

How to Create an Identity Service in APIs

  1. In Kony Fabric Console, select API Management from the left navigation panel. The Identity page in the API tab appears by default. The Identity page appears and lists the existing identity services (if any). The fields for an identity service are displayed such as NAME, URL, TYPE, ASSOCIATED APPS, MODIFIED BY, and MODIFIED ON.
  2. Click CONFIGURE NEW. A new identity service is added.
  3. Configure the details for the identity service. For more details, refer to Identity.
Note:

Integration Service

An Integration Service is an application component that represents the application interaction with an external system or data source.

How to Create an Integration Service in APIs

  1. In Kony Fabric Console, select API Management from the left navigation panel.
  2. In the APIs page, click the Integration tab.
    The Integration page appears and lists the existing integration services (if any). The fields for an integration service are displayed such as NAME, SERVICE TYPE, ASSOCIATED APPS, VERSION, MODIFIED BY, and MODIFIED ON.
  3. Click CONFIGURE NEW. A service definition tab is added.
  4. Configure the details for the integration service. For more details, refer to Integration.

    Note:  After creating an integration service in the APIs, you can perform different actions on an existing service such as edit, clone, view a sample code, delete all versions of a service, manage versions of a service, and export an integration service. For more details, refer to Context Based Options.
    Services created under the APIs page are not linked to apps. You can link or unlink services to an app only through the Existing Services dialog while you are adding apps.

Orchestration Service

An Orchestration service leverages the concept of combining multiple integration services into a single orchestration service to reduce the complexity and number of calls from the app to the backend.

How to Create an Orchestration Service in APIs

  1. In Kony Fabric Console, select API Management from the left navigation panel.
  2. In the APIs page, click the Orchestration tab.
    The Orchestration page appears and lists the existing orchestration services (if any). The fields for an orchestration service are displayed, such as NAME, ASSOCIATED APPS, VERSION, MODIFIED BY, and MODIFIED ON.
  3. Click CONFIGURE NEW. A service definition tab is added.
  4. Configure the details for the orchestration service. For more details, refer to Orchestration.

    Note:  After creating an orchestration service in the APIs, you can perform different actions on an existing service such as edit, clone, view a sample code, delete all versions of a service, manage versions of a service, and export an orchestration service. For more details, refer to Context Based Options.

    Services created under the APIs page are not linked to apps. You can link or unlink services to an app only through the Existing Services dialog while you are adding apps.

Object Service

Kony Fabric Object Services enable model-driven application design and development by following a microservices architectural approach to create reusable components and link them to fit into your solution.

How to Create an Object Service in APIs

  1. In the APIs page, click the Objects tab.
    The Objects page appears and lists the existing objects services (if any). The fields for an object service are displayed, such as NAME, ENDPOINT TYPE, VERSION, MODIFIED BY, and MODIFIED ON.
  2. Click CONFIGURE NEW. A service definition tab is added.
  3. Configure the details for the object service. For more details, refer to Objects.

    Note:  After creating an object service in the APIs, you can perform different actions on an existing service such as edit, clone, clone app data model, sample code, unlink an object service or delete a specific version of a service. For more details, refer to Context Based Options.

    Services created under the APIs page are not linked to apps. You can link or unlink services to an app only through the Existing Services dialog while you are adding apps.

Logic Service

Kony Fabric logic services help you import and integrate Node.js services (APIs) directly into Kony Fabric for developing server-side and networking applications.

How to Integrate Node.js Services into Kony Fabric Apps using API Management

  1. How to Publish Node.js Package into Node.js Runtime Server in API Management. This section details how to import a Node.js package into Kony Fabric Console and publish the package to the Node.js Runtime Server.
  2. How to Integrate Node.js Services into Kony Fabric Apps. This section details how to integrate Node.js services to Kony Fabric apps.

    Note: For more details on how to Publish Node.js Package into Node.js Runtime Server in API Management, prerequisites, use case, limitations, and Node.js package structure, refer Logic - API Management

How to View Associated Apps in APIs

After you link services (identity, integration, orchestration, and objects) created in the APIs page, you can view the list of apps that are associated to the services through the Associated Apps page. From the Associated Apps page, you can edit the app and unlink the app from the service.

To view associated apps, follow these steps:

  1. In the APIs page, click the service (identity, integration, orchestration, objects) tab to display the service details page.

  2. Click the View link under the ASSOCIATED APPS column to view the apps associated to the service. The Associated Apps dialog appears with the list of apps linked to the service for the current version. You can change the version of the service if required.

    From the Associated Apps page, you can perform operations such as edit the app and unlink the app from the service. For identity services, from the Associated Apps page you can also enable SSO for the application.

    • To edit the app through the Associated Apps page, hover your cursor over the required service, click the Settings button, and then click Edit.
    • To enable SSO for the app through the Associated Apps page, hover your cursor over the required service, click the Settings button, and then click Enable SSO. You must republish the app for this new setting to take effect. For more information about SSO for applications, refer to Application SSO.
    • To unlink the app through the Associated Apps page, hover your cursor over the required service, click the Settings button, and then click Unlink app. When you click the Unlink app button, the app is disassociated from a particular service.

Context Based Options

You can perform various actions on an existing service from the API Management page.

In the API Management page, click the contextual menu of the required service. It contains the following options:

Copyright © 2020 Kony, Inc. All rights reserved.