Kony Fabric console User Guide: Publish > Use Case

Managing Service Profiles

The Service Configuration Profile Import and Export capability enables you to exchange service configuration parameters of an app between two environments.

Every service profile includes configuration parameters of all the services that are linked to an app. The details of the service profile are available in the form of a JSON file. You can export a service profile from one environment, edit the required service parameters in the JSON file, and then import the updated service profile to another environment.

Service profiles can be versioned in a Git repository and these versions can be used for app upgrades. This provides full portability of a service profile to deploy the profile to new clouds.

Service profiles support is available for Kony Fabric Console and MFCLI. The Export and Import features are in the Publish > Service & Web Client > CONFIGURE and PUBLISH page.

Use Cases

You can use service reconfiguration based on the following scenario:

Export/Import Service Profiles using Kony Fabric

To export or import a service configuration profile from the Publish tab, do the following:

  1. In the Publish > Service & Web Client page, select the required environment.
  2. Click CONFIGURE & PUBLISH.

  1. In Service Configuration, click the More Options button. The Import Service Profile and Export Service Profile options are shown in the list.

    • To export the service profile, click the Export Service Profile option. The service profile details are downloaded in a JSON file.
  1. Click SAVE & PUBLISH to start publishing the updated details in the service profile to the selected environment. The process of publishing the app begins.

Export/Import Service Profiles using MFCLI

You can export or import service profiles by using MFCLI commands for continuous integration.

export-config command

The export-confighelps you to export the Service Profile for the existing services (Integration, Identity and Object), for a given app and an environment. The profile is downloaded as per the specified .json file.

 

import-config command

The import-config command helps you to import the specified Service Profile in a .json file into the given app and in an environment.

Copyright © 2020 Kony, Inc. All rights reserved.