I'm trying out Redhat Drools and I was able to deploy Drools Workbench in WildFly environment. And I'm trying to find out how to expose rules as services, but couldn't find an article on how to do it. Is it a restriction on the Drools Workbench or is there another way where this could be achieved?
Redhat BRMS just gives you a jar. To expose it as a rest api, you need to include it in a war and deploy that war on your server. Or as mentioned by Abhijit, you can use kie-server.war which serves the same purpose.
you can make use of kie-server.war which was included in Drools 6 release. Through kie-server.war you can execute rules through REST API. Go through document for more details about kie-server
Related
I am having Kie workbench and I am having seperate springboot application. Now i want to use certain rules created in that workbench from my local spring boot application....
What are the steps to be followed to interact with KIE Workbench and what are the configurations to be made on both sides(KIE WORKBENCH & Springboot application)
Do you have kie-server.war installed along with workbench?
If yes, then you can deploy your project into kie-server and use REST API or java client to fire rules from your application. Please refer documentation Kie-server installation to understand more about using kie-server to deploy projects and configurations.
We have been using Drools guvnor 5.5.0 on JBoss 7.0. Now we want to use drools 6.1 final version. We have deployed all the jar files but unable to access UI as could not find war file. We got war file for 5.5.0 version from http://mirrors.ibiblio.org/maven2/org/drools/guvnor-distribution-wars/5.5.0.Final/ but unable to find same for 6.1.final version. Tried to use kie-drools-wb-distribution but not working.
Can anyone tell the way to use drools 6.1 version or to get the UI to create rules?
Summarizing Goodbye Guvnor. Hello Drools Workbench.
Along with the functional and feature changes we have restructured the
Guvnor github repository to better reflect our new architecture.
Guvnor has historically been the web application for Drools. It was a
composition of editors specific to Drools, a back-end repository and a
simplistic asset management system.
Things are now different.
For Drools 6.0 the web application has been extensively re-written to
use UberFire that provides a generic Workbench environment, a Metadata
Engine, Security Framework, a VFS API and clustering support.
Guvnor has become a generic asset management framework providing
common services for generic projects and their dependencies. Drools
use of both UberFire and Guvnor has born the Drools Workbench.
Drools Workbench (drools-wb)
https://github.com/droolsjbpm/drools-wb
Drools Workbench is the end product for people looking for a web application that is composed of all Drools related editors, screens and services. It is equivalent to the old Guvnor.
You can download from http://download.jboss.org/drools/release/6.1.0.Final/kie-drools-wb-distribution-6.1.0.Final.zip
Se also: Workbench Installation
I hope this help.
I want to migrate EAR and WAR applications from WAS 8 to JBOSS AS 7.
Can any one provide any Check List for the same?
There's an automated pluggable rule-based migration tool JBoss Windup. Run the tool and get a report of what needs to be done to migrate.
You can also customize this tool to cover your specific code patterns you need to migrate. Sharing your custom rules back to the community is highly appreciated.
Have fun :)
WAS has tool Application Migration toolkit to check application being migrated from WebLogic /Jboss to WAS , not sure if such tool exist for JBOSS
http://www.ibm.com/developerworks/websphere/downloads/migtoolkit/compmig.htmlc
I have developed my rules application using drools and would like to deploy it to Tomcat along with my other webapplciation that invokes rules. How do I go ahead with this?
Im using Drools 6.0.
You need to download the kie-workbench from here
http://download.jboss.org/drools/release/6.0.1.Final/kie-drools-wb-distribution-6.0.1.Final.zip
and then put the tomcat war inside tomcat/webapps
I am trying to do the eclipse set up for writing the Business Rules and exporting them to repository
Can any one explain how to setup jboos Drools/BRMS in eclipse for Writing Business Rules and exporting them to the Guvnor repository.
Did you check the drools.org official documentation?
You need to install the drools plugin via the Eclipse Market place and then have a running instance of guvnor (I believe that with the 5.5 version it will work).