Provider configuration

Introduction

This sample demonstrates how you can utilize the ProviderConfigurationModule to compose your own configuration UI.

To configure the Demo provider in the next section you first need to define the URLs for your definitions and configuration endpoints. To do this you need to provide the URLs in the configuration object passed to the config method of the ProviderConfigurationModule in the imports array of provider-configuration/provider-configuration.module.ts:


Once you have configured the endpoints you can proceed to the Demo provider section. In the Demo provider (you can additionally configure custom labels and messages for your UI) dropdown you will see the list of providers returned by your definitions endpoint. After you select a provider a form will be shown displaying the fields configured in the JSON Schema for the provider. If there is an existing configuration for the selected provider, it will be displayed. The form provides options to create, update and delete provider configurations. Currently only one active configuration is supported.