kie

how to update rules dynamically in drools rule engine

女生的网名这么多〃 提交于 2020-12-11 04:41:18
问题 i am working on drools rule engine got this scenario to change the values in when block from 1000 to 2000 ,changing the signs from > to <, can we achieve this using a form to edit the value rule "payment" when account:Paymentinfo(transaction < 1000) then 来源: https://stackoverflow.com/questions/51178210/how-to-update-rules-dynamically-in-drools-rule-engine

how to update rules dynamically in drools rule engine

自古美人都是妖i 提交于 2020-12-11 04:40:56
问题 i am working on drools rule engine got this scenario to change the values in when block from 1000 to 2000 ,changing the signs from > to <, can we achieve this using a form to edit the value rule "payment" when account:Paymentinfo(transaction < 1000) then 来源: https://stackoverflow.com/questions/51178210/how-to-update-rules-dynamically-in-drools-rule-engine

how to update rules dynamically in drools rule engine

南楼画角 提交于 2020-12-11 04:40:55
问题 i am working on drools rule engine got this scenario to change the values in when block from 1000 to 2000 ,changing the signs from > to <, can we achieve this using a form to edit the value rule "payment" when account:Paymentinfo(transaction < 1000) then 来源: https://stackoverflow.com/questions/51178210/how-to-update-rules-dynamically-in-drools-rule-engine

how to update rules dynamically in drools rule engine

人盡茶涼 提交于 2020-12-11 04:39:46
问题 i am working on drools rule engine got this scenario to change the values in when block from 1000 to 2000 ,changing the signs from > to <, can we achieve this using a form to edit the value rule "payment" when account:Paymentinfo(transaction < 1000) then 来源: https://stackoverflow.com/questions/51178210/how-to-update-rules-dynamically-in-drools-rule-engine

how to update rules dynamically in drools rule engine

时光总嘲笑我的痴心妄想 提交于 2020-12-11 04:38:09
问题 i am working on drools rule engine got this scenario to change the values in when block from 1000 to 2000 ,changing the signs from > to <, can we achieve this using a form to edit the value rule "payment" when account:Paymentinfo(transaction < 1000) then 来源: https://stackoverflow.com/questions/51178210/how-to-update-rules-dynamically-in-drools-rule-engine

How to load rules from a string in Drools 6.5

ε祈祈猫儿з 提交于 2020-06-08 13:11:13
问题 I have a set of rules in the form of a String that are passed as an argument to my function, which is not stored in any file. From what I read so far, there are many solutions to this for versions before 6, where I am guessing APIs were very different. (They suggest using KnowledgeBase, which is deprecated in 6.5) This is my solution so far: KieFileSystem kfs = kService.newKieFileSystem(); Resource drlResource = ResourceFactory.newByteArrayResource(rules.getBytes()); drlResource

How to load rules from a string in Drools 6.5

我是研究僧i 提交于 2020-06-08 13:10:28
问题 I have a set of rules in the form of a String that are passed as an argument to my function, which is not stored in any file. From what I read so far, there are many solutions to this for versions before 6, where I am guessing APIs were very different. (They suggest using KnowledgeBase, which is deprecated in 6.5) This is my solution so far: KieFileSystem kfs = kService.newKieFileSystem(); Resource drlResource = ResourceFactory.newByteArrayResource(rules.getBytes()); drlResource

How to load rules from a string in Drools 6.5

拥有回忆 提交于 2020-06-08 13:10:10
问题 I have a set of rules in the form of a String that are passed as an argument to my function, which is not stored in any file. From what I read so far, there are many solutions to this for versions before 6, where I am guessing APIs were very different. (They suggest using KnowledgeBase, which is deprecated in 6.5) This is my solution so far: KieFileSystem kfs = kService.newKieFileSystem(); Resource drlResource = ResourceFactory.newByteArrayResource(rules.getBytes()); drlResource

Drools 6.3.0: Old ZiPKieModules remain in the heap after upgrading (executing scanNow in kiescanner JMX bean)

[亡魂溺海] 提交于 2020-04-30 08:11:53
问题 We are using drools 6.3.0 and implemented our kiemodule as a deployable maven artifact (kjar). Our application uses this kiemodule and runs in Wildfly-10. In production, newer version of the kiemodule are automatically detected and loaded in the application by a kieScanner that runs at regular intervals. If the scanner sees a new version of the kiemodule it will load it on-the-fly and at runtime. This is very cool functionality, but recently we discovered that every time a new ZipKieModule is

Drools 6.3.0: Old ZiPKieModules remain in the heap after upgrading (executing scanNow in kiescanner JMX bean)

跟風遠走 提交于 2020-04-30 08:11:30
问题 We are using drools 6.3.0 and implemented our kiemodule as a deployable maven artifact (kjar). Our application uses this kiemodule and runs in Wildfly-10. In production, newer version of the kiemodule are automatically detected and loaded in the application by a kieScanner that runs at regular intervals. If the scanner sees a new version of the kiemodule it will load it on-the-fly and at runtime. This is very cool functionality, but recently we discovered that every time a new ZipKieModule is