How to build Decision Microservices with OpenRules, SpringBoot, and Docker

Nowadays, when microservices quickly overcome the legacy style of monolithic applications, it’s only natural to deploy Business Decision Models as Decision Microservices. We’ve just published a new tutorial that in a step-by-step manner explains how to convert OpenRules-based decision models, created and tested by business users, to decision microservices with Spring Boot and then containerize them with Docker. Following the tutorial you will learn how to:

  • “Mavenize” the standard OpenRules configuration
  • Create a simple Maven project in Eclipse which will be used to invoke OpenRules-based service “Vacation Days” with business logic represented in Excel decision tables
  • Test it from Java
  • Convert this decision service to a simple REST web application built using Spring Boot and test it with POSTMAN using JSON and Java
  • Containerize this decision service using Docker and test it using POSTMAN and/or a Java-based client.
  • Add more decision services.

In the end, you will be ready to create and containerize your own OpenRules decision services. For your convenience, we added a new workspace “openrules.services” to the standard evaluation version. Link

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.