Kony Fabric console User Guide: Publish > Reconfiguration at Publish > Use Case

Service Reconfiguration

In an Enterprise, as a best practice, the development enterprise backend systems are maintained separately from the production enterprise backend systems. Fabric supports the ability to follow the best practice by providing DEV, QA and PROD environments. DEV and QA environments are typically configured to communicate with development enterprise backend and PROD is configured to communicate with Production enterprise backend.

Service Reconfiguration lets you use the same service against different environments by providing the ability to change the connection parameters to a backend while publishing an app to an environment.

Use Case

You can use service reconfiguration based on the following scenarios:

A developer can use an app configuration in the current workspace and publish the reconfigured app to another environment. A developer can reconfigure only a few entities (such as base URL, User ID, and password).

For example, currently, an endpoint URL of an integration service of the app is configured as https://qa.sample.com, which is a QA environment. But after an app is published in a PROD environment, a developer wants the integration service to communicate to a production endpoint - for example, https://sample.com. In such cases, a developer can reconfigure the endpoint URL from http://sample.test.com  to  https://sample.com, and publish the app to a PROD environment. 

Reconfiguring a Service

To reconfigure a service from the Publish tab, do the following:

  1. From the Services and Web Client tab, select the required environment.
  2. Click Configure and Publish. The Configuration page is displayed.
  3. Select the required service type from the list. You can also configure the app related information from here. The service types available in the list are as follows:
    • Identity Services
    • Integration Services
    • Object Service
  4. The app displays the selected service details with default connection parameters and configurable connection parameters.

The list of the configurable connection parameters vary for each service type. Following is the list of configurable connection parameters with respect to each service type and adapter.

The service details page displays the following fields:

Number Section Description
1 Identity Service Configuration Displays the Identity Services configuration details for app reconfiguration.
1. a Work area

Displays the configurable properties of all the services such as Client ID, Client Secret and Domain Name.

You can edit the values of the properties and click Save. An undo icon appears next to the value field until you publish the app. You can reset the new value to default value by selecting one of the options in the Reset to Default Values drop-down list.

Note:  Based on a combination of selected conditions in the View By and Show Content sections, the system displays services, entities for all services, and edited values.

You can select the following combinations in the View By and Show Content section:
   -  Service Name and All Values
   -  Service Name and Edited Values
   -  Service Type and All Values
   -  Service Type and Edited Values

1. b View By

Displays services based on conditions such as service name or service type.

  • Service Name: Displays services and their entities.
  • Service Type: Displays the headers of service types. To view content in a service type, click the Plus (+) icon.
1. c Show Content

Displays content in services based on conditions such as all values or edited values.

  • All Values: Displays services and their entities.
  • Edited Values: Displays services and their edited entities.
1. d Sort By Sorts the services in the work area in A to Z  or  Z or A order.
1. e Search by Service Name Filters the services based on service name.
1. f Configurations Compares the reconfigured services.
1. g

Reset to Default Values

  • Reset to Default Value
  • Reset to Current Env. Config

Resets the values of reconfigured services.

2 SAVE & PUBLISH Saves and publishes the reconfigured app to an environment.

 

You can do the following from the service details page to configure the connection parameters:

You can also do the following tasks from the service details page:

Reconfigure the Schema Name in Relational Database Connectors

In Integration Service Configuration, you can reconfigure the schema name in Relational Database Connectors using JSON. To reconfigure the schema name, follow these steps:

Compare Reconfigured Services

In the service details page, after you reconfigure values of services, you can compare the details of all services. You cannot edit any fields in the compare dialog.

  1. In the App configuration page, click Configurations on the required service configuration row.

    The system displays the Current Environment Configuration Vs Definition Values dialog box.

  2. Click the Close button at the top-right corner to exit the dialog.

Reset Values for Reconfigured Services

In the service details page, after you reconfigure values of services, you can reset the values to the default configuration or to the current environment configuration.

Important:  When you modify a field and save the service, the system overrides old values with the new values in the current environment clipboard.

To reset to default values, follow these steps:

Copyright © 2020 Kony, Inc. All rights reserved.