jeichler / junit-drools Goto Github PK
View Code? Open in Web Editor NEWJUnit Runner for Drools6
License: Apache License 2.0
JUnit Runner for Drools6
License: Apache License 2.0
Will there be any update on this library to make it working for latest version of Drool?
As for now it is not working with Drools 7 version and giving "Stream Closed" runtime exception. Thanks.
Hi,
In my drools file i must use Global variable, are this a way to use a setGlobal withe your DroolsStatefulSession.
Thank you !
The first thing to note is that the 'isStatefulSession' variable in the DroolsAnnotationProcessor class is not appropriately set so the implementation will always be a DroolsStatelessSession. To resolve this I added logic to set the variable in the constructor of the DroolsAnnotationProcessor so that a stateful session could be instantiated. I understand that I may have misunderstood proper usage and this change could be related to the issues I'm experiencing. However, now that I was able to have a reference to a stateful session, I ran into issues with firing the rules where no rules are fired and I cannot figure out what the reason is. When I use stateless, rules are fired as expected but when using a stateful session, no rules are fired. I was able to check working memory via getFactHandles() and verified the facts are in memory. Queries do not work either leading me to believe it is something with the rules file although the same file is used with the stateless session and works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.