drools with csv files in spring boot code example
Example 1: decision tree drools using spring boot
KieServices kieServices = KieServices.Factory.get();
Example 2: decision tree drools using spring boot
public class Customer {
private CustomerType type;
private int years;
private int discount;
// Standard getters and setters
public enum CustomerType {
INDIVIDUAL,
BUSINESS;
}
}