Git Product home page Git Product logo

junit-drools's People

Contributors

jeichler avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

junit-drools's Issues

Not working with Drools 7 version

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.

GLobal Variable

Hi,

In my drools file i must use Global variable, are this a way to use a setGlobal withe your DroolsStatefulSession.

Thank you !

Stateful Session Not Working

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.