mercredi 17 juillet 2019

Dynamic rules management dictionary

My use case is the following:

I have to create a rules dictionary, a kind of key value store, that would be called by springboot functions.

Example:

I have the following:

IF

PRODUCT_COMMAND = PRODUCT_BILL

DO AN ACTION

ELSE

DO ANOTHER ACTION

The other requirement is : The rules must be changed dynamically, i.e: I don't want to redeploy the application.

I was thinking about creating an HMI, and develop spring application. The user would create, read, update, delete rules through the HMI. The rule would be stored in a database, postgres for example, and spring application will manage this.

What do you think about my solution ? Do you know any tool that do this automatically ?

Aucun commentaire:

Enregistrer un commentaire