Integrating Drools

Highlighted
Four Stars

Integrating Drools

Hello,

 

I'm currently attempting to integrate Drools into my Talend project.  I am using Talend Cloud 7.1.  I've successfully installed drools on jboss locally and have created and deployed some business rules.  My issues is that I'm unable to connect to the rules repository through a tBRMS component.  When attempting to retrieve modules in tBRMS from drools it defaults to an artifact repository url that doesn't exist.  This url does not appear to be editable in Talend.

 

The documentation for Talend Cloud 7.1 states that TAC / drools integration is deprecated since version 7 but then proceeds to explain how to integrate using TAC, this is somewhat confusing.

 

My questions are as follows:

 

1.  Is TAC required to use drools?

2.  How can I point Talend to the proper artifact repository on Jboss/Drools workbench?

3.  Is there an official version compatibility document between Talend Cloud and Drools?  i.e. what versions of drools are supported on talend 7.1

4.  Is there a definitive setup guide for Talend Cloud 7.1 and a Jboss drools installation?

 


Accepted Solutions
Employee

Re: Integrating Drools

Hi,

 

a bit more information:

The "Drools Workbench url" depends on your installation. The url should point to the installation of the web application.

For instance,
1.with JBoss BRMS 6.2 on Tomcat, the default url is http://localhost/kie-drools-wb-distribution-wars-6.2.0.Final-tomcat7
2.with Redhat BRMS 6.2 on JBoss EAP, the default url is http://localhost:8080/business-central
3.with Talend TAC integrated BRMS, the url is http://localhost:8080/kie-drools-wb

But those may change according to your installation.

 

hope this helps,

Best regards,

Sebastiao


All Replies
Employee

Re: Integrating Drools

Hi,

 

To answer to your questions:

1. TAC is not required. In Talend Studio 7.1, you may connect to an external RedHat BRMS or JBoss BRMS. Moreover, the user of the BRMS embedded in TAC is deprecated now and we will remove it in the future. See https://help.talend.com/reader/7CTMGJsgNFAKZ5SP7BC5mA/cIuq2yZYlmDHlGzwZnhHWQ for more details. 

 

2. you should be able to set the appropriate URL of your Drools Workbench in the component properties. See https://help.talend.com/reader/7CTMGJsgNFAKZ5SP7BC5mA/b7oSF9pYR1KOeLHr6n911g

 

3. The 7.1 Studio is compatible with JBoss Drools 6.2.0Final.  See https://help.talend.com/reader/Nws6Zw7wuA_15bxnM1UoBg/sCR1BND3ZUUPkA_HuIgDMQ
The compatible BRMS version is the one distributed by Talend, or Redhat Decision Manager 6.1.0 GA (containing Drools 6.2.0 library)

It should also be ok with Redhat DM 6.2 that embeds Drools 6.3.

4. Have you found this page: https://help.talend.com/reader/Nws6Zw7wuA_15bxnM1UoBg/45NlHjBtyCjHWvBxrjlFpA ?

 

I hope this helps.

Best regards,

Sebastiao

 

 

Employee

Re: Integrating Drools

Hi,

 

a bit more information:

The "Drools Workbench url" depends on your installation. The url should point to the installation of the web application.

For instance,
1.with JBoss BRMS 6.2 on Tomcat, the default url is http://localhost/kie-drools-wb-distribution-wars-6.2.0.Final-tomcat7
2.with Redhat BRMS 6.2 on JBoss EAP, the default url is http://localhost:8080/business-central
3.with Talend TAC integrated BRMS, the url is http://localhost:8080/kie-drools-wb

But those may change according to your installation.

 

hope this helps,

Best regards,

Sebastiao

Four Stars

Re: Integrating Drools

Sebastiao,

 

Many thanks for your detailed reply.  I have seen the documentation for the various links you provided.  I believe I have the correct workbench url as I can access it via curl.  My issue is that I receive a 401 error when using that url in a tBRMS component.  Adding to my confusion that url does work when I try to create a BRMS embedded rule in the metadata repository (however I get a different error that it can not download the jars but I am at least able to see the available packages in the workbench).

 

Any idea why I would be getting a 401 error in tBRMS?  The user account being used is the same as accessing that url through other channels (curl or talend metadata).

 

Thanks,

Paul

Four Stars

Re: Integrating Drools

Sorry for the multiple posts but I now got past the 401 error.  I still get the "Fail to download jars from drools server" message when selecting my package.  Any guidance on that issue would be appreciated. 

Four Stars

Re: Integrating Drools

I was able to resolve this by redeploying the project in drools.  Thank you for your help, I've accepted the last response.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend Cloud Developer Series – Deploying First Job to Cloud

This video will show you how to run a job in Studio and then publish that job to Talend Cloud

Watch Now

Talend Cloud Developer Series – Fetching Studio License

This video will help someone new to using Talend Studio get started by connecting to Talend Cloud and fetching the Studio License

Watch Now

Talend Cloud Developer Series - Introduction

The Talend Cloud Developer Series was created to give you a solid foundational understanding of Talend’s Cloud Integration Platform

Watch Now