Getting Started
Dynamic Processing Settings (DPS) provides the foundational building blocks designed to serve as a starting point for creating an application tailored to your needs. Such an application will manage the lifecycle of settings, which you can utilize based on your specific use case.
Two common reasons to manage a setting in your application are:
-
Exposing the setting to other services.
-
Using it as part of the business API you want to expose (e.g., CSM Reachability).
Adding Dependencies
Add the following Maven dependency to your project:
<dependency>
<groupId>com.iconsolutions.ipf.core.dynamicsettings.v2</groupId>
<artifactId>dynamic-processing-settings-management-starter</artifactId>
</dependency>
This dependency relies on Spring Boot Autoconfiguration to automatically configure the required components.
Database setup
Configuring your application to use a correct database mode, MongoDB connection URL and create indexes is covered on the database setup page.
Creating Settings
The Creating Settings page provides guidance on how to create your own settings.
DPS v2 API
When we run application, we can manage settings through the DPS v2 API
Client Implementation to Call DPS APIs
Define Ports, Adapters, and Connectors
The steps required to call the DPS APIs from your IPF application or flow are described on this page:
This page includes details on the Maven dependencies to add to your project, along with examples of defining the Client Port, Client Adapter (as the implementation of the Port interface), and connectors.
| Client implementation flows should not call DPS APIs provided by IPF Services directly. Flows should use the service APIs to use the features provided by the services and where needed, use domain APIs to secure the dynamic configurations. Service and domain APIs are versioned and can be kept backward compatible while DPS APIs on IPF services can be affected due to incremental data model changes. |
Settings notifications
DPS can send a kafka notification for each setting modification (create/update/delete) - DPS Notification Service
Consuming settings notifications
Each settings notification can be consumed by DPS Clients DPS Client Notification