drools

Drools session will not load after Wildfly Upgrade to 19.0.0

六眼飞鱼酱① 提交于 2021-01-29 20:19:31
问题 I have a drools implementation using Drools 7.12.0.Final that works perfectly under WildFly-10.1.0.FINAL. We are now trying to upgrade to WildFly-19.0.0.FINAL and the drools module will not load. I see this in the logs as Wildfly tries to start the Drools module; 2020-06-02 16:31:27,214 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (default task-1) Loading kie.conf from vfs:/C:/Users/roger.varley/Downloads/wildfly-19.0.0.Final/bin/content/blsAccountPlusDE-1.0.0-SNAPSHOT.ear/lib

Single inheritance in drools

折月煮酒 提交于 2021-01-29 11:55:45
问题 We are using drools 7.31 version. We have one big rule which must be reused in other rules. The basic functionality we need is to fire the SUPER rule when both SUPER rule and SUB rule conditions are true. It seems like older version had "extends" keyword using which this was possible. I was looking at this older post which is able to achieve this - drools rules inheritance When I tried on my end with 7.31 version, then both SUPER and SUB rules are firing independently. Here is an example of

Difference between Drools engine and Database

99封情书 提交于 2021-01-29 11:43:41
问题 I was going through Drools documentation and found it is not doing anything interesting / solving any problems (May be I'm wrong). In drools we specify the business rules (in .drl file) as, for example, when "type = jewellery" then setDiscount(25%) when "type = KidDress" then setDiscount(30%) What is the difference between the above vs using database? I can ALWAYS expose custom API's from which business rules can be specified and I can directly store it in RDBMS. Formally if required, I can

Deploy a KJAR to KIE execution server programmatically via REST API

﹥>﹥吖頭↗ 提交于 2021-01-29 08:41:21
问题 I want to know if it is possible to deploy a KJAR to the execution server programmatically (via API)? I can build a KJAR using the following: final KieServices kieServices = KieServices.Factory.get(); final KieFileSystem kieFileSystem = kieServices.newKieFileSystem(); kieFileSystem.write("src/main/resources/" + ClassUtils.convertClassNameToResourcePath(getPackageNameForRule(rule.getValue())) + "/" + rule .getCode() + ".drl", rule.getValue()); return kieServices.newKieBuilder(kieFileSystem)

Unable Register Kie Server (No Remote Servers) in Workbench (Kie-WB 6.4.0 in WildFly 8.2.1)

旧时模样 提交于 2021-01-29 02:19:06
问题 Problem with configuring kie-wb with kie-server. I've wildfly 8.2.1 with Kie-server installed to it on one machine. For this I've created two users using adduser.bat: Management User User :- alpha1 passwrod :- password@1 role :- admin,kie-server Application User User :- alpha2 password :- password@1 role :- admin,kie-server,rest-all I am running this server using this command :- standalone.bat --server-config=standalone-full.xml -Dorg.kie.server.id=wildfly-kieserver -Dorg.kie.server.location

Unable Register Kie Server (No Remote Servers) in Workbench (Kie-WB 6.4.0 in WildFly 8.2.1)

北城以北 提交于 2021-01-29 02:15:22
问题 Problem with configuring kie-wb with kie-server. I've wildfly 8.2.1 with Kie-server installed to it on one machine. For this I've created two users using adduser.bat: Management User User :- alpha1 passwrod :- password@1 role :- admin,kie-server Application User User :- alpha2 password :- password@1 role :- admin,kie-server,rest-all I am running this server using this command :- standalone.bat --server-config=standalone-full.xml -Dorg.kie.server.id=wildfly-kieserver -Dorg.kie.server.location

Rule development and deployment management with Drools Guvnor

不问归期 提交于 2021-01-28 20:22:21
问题 Introduction Drools Guvnor has it's own versioning system, that in production use allows the users of an application to modify the rules and decision tables in order to adapt to change in their business. Yet, the same assets continue to live on the development version control system, where new features to the app are developed. This post is for looking insight/ideas/experience on rule development and deployment when working with Drools rules and Guvnor. Below are some key concepts I've been

KieScanner not updating KieSessions at runtime

岁酱吖の 提交于 2021-01-28 08:02:24
问题 I'm using Drools with Eclipse and Maven for an application doing many-many pattern matching. I wanted to use KieScanner to automatically update the running KieSession without restarting the application. But this doesn't seem to be working. I am using 7.24.0.t043 for org.kie and org.drools. I'm only using my local Maven repo for this, so I've specified the path and set true in my settings.xml. I also verified that creating a new KieContainer with the most recent version registers the changed

规则引擎大比拼 Drools VS Easy-rules VS RuleBook

早过忘川 提交于 2020-12-14 19:23:35
在规则引擎市场上,存在着不少的开源规则引擎,这些规则引擎也有很多公司在用,然而却没有找到一篇对这些规则引擎进行比较的文章。于是乎,在网上检索了些资料,以下内容可作为规则引擎选型的一个参考报告。 Drools Easy Rules Rule Book 简介 可以执行复杂事件处理的规则引擎 简单轻量级的规则引擎 支持Lambda的轻量级规则引擎 流行度 8.7 ★★★★★ 8.0 ★★★★ 5.1 ★★★ 活跃度 9.4 ❤❤❤❤❤ 7.5 ❤❤❤❤ 4.4 ❤❤❤ 代码质量 L1( Lumnify 统计 ) L5( Lumnify 统计 ) - 当前版本 7.47.0.Final V 4.1 V 0.12 版本支持 7.x 版本已持续多年 仅支持 4.1.x,老版本不支持更新 2018年5月发布V 0.11,V 0.12发布时间不详 编程语言 Java Java Java 算法 RETE算法 - - 本想在更多表达式支持等方面再进行比较的,但当我看到 Easy Rules仅支持 V 4.1 时就放弃了,V 4.0也才仅仅发布半年,你说不支持就不支持了,真是❤大的很。我知道搞开源这玩意不挣钱,但既然决定开源了,起码得有点奉献精神,自己没精力维护不要紧,其他人提个Bug修复的issue合并一下并不过分吧。 最后,关于Drools说一句,很多人觉得这个东西太重了,这个东西确实功能复杂

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