Drools Fiddle is the fiddle for Drools, a business rule engine maintained by Redhat: https://www.drools.org/. The goal of this web tool is to allow technical or non technical users to play around with Drools. First, it allows you to build your business configuration by defining both fact models and business rules. Secondly, you can simulate the evaluation of your rule package by dynamically instanciating facts in the Drools working memory and trigger the fireAllRules method. A set of features have been implemented in order to enhance the user experience: step by step debugging, contribution, graphical visualization.
This project uses Jboss WildFly as Application Server.
In order to build and deploy this project you will need to fullfill those prerequisites:
mvn clean install
mvn clean verify -Parq-wildfly-managed
mvn clean install -Pdocker
Access drools-fiddle at http://localhost/drools-fiddle
mvn docker:stop -Pdocker
When you have already built images then it is possible to start the drools-fiddle without maven. You can call either docker directly or use docker-compose.
Start the stack:
docker-compose up [--detach]
Stop the stack
docker-compose down
declare Fact
value : int
end
rule "Rule"
when
f : Fact(value == 42)
then
modify( f ) {setValue( 41 )}
end
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Copyright 2016 Drools Fiddle
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.