Skip to content

deepak-kumbhar/spring-drools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

spring-drools

License

Minimal Spring Boot sample app.

Drools decision table implementation in spring boot

Requirements

For building and running the application you need:

Running the application locally

There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.drools.example.SpringDroolsApplication class from your IDE.

Alternatively you can use the Spring Boot Maven plugin like so:

mvn spring-boot:run

Requests

URL: http://localhost:9091/order Method: POST Request body:

{
	"name":"Mobile",
	"cardType":"HDFC",
	"price":15000
}

Response body:

{
    "name": "Mobile",
    "cardType": "HDFC",
    "discount": 10,
    "price": 15000
}

About

Drools decision table implementation in spring boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages