Kie Work Bench integration in Web Application to Edit assets

1,051 views
Skip to first unread message

ramesh...@gmail.com

unread,
Jan 6, 2015, 7:57:53 AM1/6/15
to drools...@googlegroups.com
Dear Team,

Am new to Drools.  I  have  gone through the use guide and able to generate rules manually and using KIE-Work bench web project  and execute the same.

I need to integrate the KIE-Work Bench in our Web application to provide editing capability of rule(Guided Rule Template and Guided Decision table).

Could you please send an example to integrate the work bench in web application to edit guided rules, templates and decision tables.

am using KI 6.1 final Wild fly version. 

Could you please also send the link to download Advanced User Guide.


Thanks & Regards
Ramesh

Michael Anstis

unread,
Jan 6, 2015, 1:48:47 PM1/6/15
to drools...@googlegroups.com

Can you clarify that you want to embed Drools Workbench editors in your own web application?

Sent on the move

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/d44f5394-b281-4ebf-b397-f9c97e72d59e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ramesh...@gmail.com

unread,
Jan 7, 2015, 8:08:44 AM1/7/15
to drools...@googlegroups.com
Hi,

Thanks for the reply.

yes, I need to embed Drools Workbench editors in my web application with rules editing and deploying capability.

I partial solved this. I Manged to embed the rule in a html page, but it needs authentication for every visit of the embedded page.

I need to know how to embed  an by pass the authentication in standalone mode.


Thanks & Regards
Ramesh

ramesh...@gmail.com

unread,
Jan 8, 2015, 8:43:48 AM1/8/15
to drools...@googlegroups.com
Hi,

Can you please let me know how to embed a rule template in a html page with out authentication in standalone mode.


Thanks & Regards
Ramesh

Michael Anstis

unread,
Jan 8, 2015, 9:03:51 AM1/8/15
to drools...@googlegroups.com
What do you mean by "without authentication"?

I assume the IFRAME containing the "standalone" editor is prompting for authentication before showing the screen?



ramesh...@gmail.com

unread,
Jan 8, 2015, 2:58:09 PM1/8/15
to drools...@googlegroups.com
Dear Friend,

Without authentication means, without prompting for user name and password. 

below is my IFrame code.

Anand Kuppast

unread,
Apr 18, 2017, 5:57:29 AM4/18/17
to Drools Usage
Hi Ramesh,

Were you able to solve the problem of displaying the Drool web console in your web application.
Is there any way that we can authenticate using password from my web application.

Ramesh C

unread,
Apr 18, 2017, 12:39:02 PM4/18/17
to drools...@googlegroups.com
Yes. I solved the same. We can call authentication service in Java script.


Thanks and regards
Ramesh

--
You received this message because you are subscribed to a topic in the Google Groups "Drools Usage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drools-usage/3_ZqbCMsCFA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drools-usage+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

shashank patel

unread,
Apr 5, 2018, 7:47:00 AM4/5/18
to Drools Usage
Hi Ramesh/Michel,

I am  new to Drools  workbench ,i am  working  on standalone application(not  web) .i want  to integrate Workbench in my appication.

Can you plz  help me out  for  this?

Thanks
Shashank


On Tuesday, 18 April 2017 22:09:02 UTC+5:30, Ramesh C wrote:
Yes. I solved the same. We can call authentication service in Java script.


Thanks and regards
Ramesh
On 18-Apr-2017 3:27 PM, "Anand Kuppast" <anan...@gmail.com> wrote:
Hi Ramesh,

Were you able to solve the problem of displaying the Drool web console in your web application.
Is there any way that we can authenticate using password from my web application.

On Tuesday, January 6, 2015 at 6:27:53 PM UTC+5:30, Ramesh C wrote:
Dear Team,

Am new to Drools.  I  have  gone through the use guide and able to generate rules manually and using KIE-Work bench web project  and execute the same.

I need to integrate the KIE-Work Bench in our Web application to provide editing capability of rule(Guided Rule Template and Guided Decision table).

Could you please send an example to integrate the work bench in web application to edit guided rules, templates and decision tables.

am using KI 6.1 final Wild fly version. 

Could you please also send the link to download Advanced User Guide.


Thanks & Regards
Ramesh

--
You received this message because you are subscribed to a topic in the Google Groups "Drools Usage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drools-usage/3_ZqbCMsCFA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drools-usage...@googlegroups.com.

Toni Rikkola

unread,
Apr 10, 2018, 2:21:30 AM4/10/18
to drools...@googlegroups.com
Hi,

For web applications you can use the embed mode in an iframe.

But for non-web apps you need to do something more complicated.

In a situation where you have the Workbench running:
#1 Clone the repository
#2 Open the file you want to edit in the cloned repository (You need to create your own editors or use a text editor)
#3 git commit and push back to Workbench

In a situation where you do not have Workbench running:
#1 Look for an easier project or change the company you work in
#2 If #1 is not an option, in theory it is possible to run the workbench headless. Nobody has done this and setting it up will hurt you and each update with the latest Drools version will hurt you.
#3 - #infinite Quite a lot to do here and if you go this way, you really need to dig deep into the code and any pointers here are not worth it.

Toni


--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

shashank patel

unread,
Apr 10, 2018, 3:17:56 AM4/10/18
to Drools Usage
Hi Everyone,
i    deployed   kie-drools-wb-distribution-wars-6.4.0.Final-wildfly8.war    in wildfly and i am  able  to open the  gui page "http://localhost:8080/kie-drools-wb-distribution-wars-6.4.0.Final-wildfly8/"  .
when i am  creating rule  *.drl file  is saving  in some  location.
I want  to  change location of drl file  storage(some  physical path).

So i can  make  changes.

Plz  help me  out  on this.


Thanks
Shashank
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

shashank patel

unread,
Apr 10, 2018, 3:21:39 AM4/10/18
to Drools Usage
Hi Everyone,
i    deployed   kie-drools-wb-distribution-wars-6.4.0.Final-wildfly8.war    in wildfly and i am  able  to open the  gui page "http://localhost:8080/kie-drools-wb-distribution-wars-6.4.0.Final-wildfly8/"  .
when i am  creating rule  *.drl file  is saving  in some  location.
I want  to  change location of drl file  storage(some  physical path).

So how   should i work for  storage  location change.

Plz  help me  out  on this.


Thanks
Shashank



On Tuesday, 10 April 2018 11:51:30 UTC+5:30, Toni Rikkola wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

Toni Rikkola

unread,
Apr 10, 2018, 5:29:16 AM4/10/18
to drools...@googlegroups.com
There is a .index folder. Most likely in the wildfly bin folder or where ever you started the wildfly from. In that folder git stores the git repository. You can change the location where this folder is stored in, check the manual on how to do this.

The folder contains the git repository file. So you can not directly see the .drl file there, you need to clone the your_repository.git, do your changes and then push the changes back in.

Toni

To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

shashank patel

unread,
Apr 11, 2018, 1:27:16 AM4/11/18
to drools...@googlegroups.com
Hi Toni,
Thanks .
what is  your_repository.git ?

Actually i have  to  integrate  my standalone application and kieworkbench   gui.
my application loading    drl  files  on some path that is  is working  fine .
Now  i want   from workbench web  i can  modify rules  kin that drl  files.
so is  it  possible?
If yes how  can  i do.

Toni Rikkola

unread,
Apr 11, 2018, 3:26:44 AM4/11/18
to drools...@googlegroups.com
your_repository.git is the git repository file where you store the projects you use in workbench. The name can be something different, but the ending is .git.

You can also clone this repository with an URL. Check the documentation for details about this.

You might also want to check you Git basics if your not familiar with it. Git is what you need to use to get the files in and out of the Workbench.

Toni

shashank patel

unread,
Apr 12, 2018, 1:12:38 AM4/12/18
to drools...@googlegroups.com
Hi,

Should  i deploy drools  project in kie workbench?


Neetu Joshi

unread,
Aug 4, 2018, 2:53:11 PM8/4/18
to Drools Usage
Hi Ramesh,

can you please elaborate how you did it.?

I have iframe in my html page  but evry time when ever I login to KIE standalone work bench i need to do Login,
Please tell me how to bypass it.. or would be appreciable if you can provide some example code.


On Tuesday, April 18, 2017 at 10:09:02 PM UTC+5:30, Ramesh C wrote:
Yes. I solved the same. We can call authentication service in Java script.


Thanks and regards
Ramesh
On 18-Apr-2017 3:27 PM, "Anand Kuppast" <anan...@gmail.com> wrote:
Hi Ramesh,

Were you able to solve the problem of displaying the Drool web console in your web application.
Is there any way that we can authenticate using password from my web application.

On Tuesday, January 6, 2015 at 6:27:53 PM UTC+5:30, Ramesh C wrote:
Dear Team,

Am new to Drools.  I  have  gone through the use guide and able to generate rules manually and using KIE-Work bench web project  and execute the same.

I need to integrate the KIE-Work Bench in our Web application to provide editing capability of rule(Guided Rule Template and Guided Decision table).

Could you please send an example to integrate the work bench in web application to edit guided rules, templates and decision tables.

am using KI 6.1 final Wild fly version. 

Could you please also send the link to download Advanced User Guide.


Thanks & Regards
Ramesh

--
You received this message because you are subscribed to a topic in the Google Groups "Drools Usage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drools-usage/3_ZqbCMsCFA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drools-usage...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages