Add Access over Guvnor
This commit is contained in:
parent
fbb4e68270
commit
a04888e7c8
1 changed files with 4 additions and 1 deletions
|
|
@ -37,10 +37,13 @@ public class ServiceCalculate implements IServiceCalculate {
|
|||
try {
|
||||
CoursHistoryContainer coursHistoryContainer = new CoursHistoryContainer();
|
||||
ruleBasePackage= RuleBaseBuilder.createPackageBasePackageWithListener(coursHistoryContainer, "File1.drl");
|
||||
//ruleBasePackage= RuleBaseBuilder.createGuvnorRuleBasePackageWithListener(coursHistoryContainer,"http://localhost:8080", "drools-guvnor", "mypackage","1.27.0-PROD",
|
||||
// "admin", "admin");
|
||||
} catch (DroolsChtijbugException e) {
|
||||
logger.error("Could not create RuleBase", e);
|
||||
}
|
||||
}
|
||||
|
||||
RuleBaseSession sessionStatefull = null;
|
||||
try {
|
||||
sessionStatefull = ruleBasePackage.createRuleBaseSession();
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue