thanks a lot for your answers.
indeed, as Michael figured out, I need to be able to save rules, as well as query rules
using the repository service, and retrieving all the details about rules from the
repository.
I'll take a look at Drools server just in case it can be extended.
thx,
Patricia
--- On Mon, 10/18/10, Michael Anstis <michael.anstis(a)gmail.com> wrote:
From: Michael Anstis <michael.anstis(a)gmail.com>
Subject: Re: [rules-users] Can Guvnor's repository functionality be exposed as a web
service? [was: Drools API]
To: "Rules Users List" <rules-users(a)lists.jboss.org>
Date: Monday, October 18, 2010, 5:07 PM
Yes, thank-you.
This example appears to expose RuleAgent operations as a web-service.
Unfortunately it does not provide the granularity to individual rules, categories,
versioning etc that I thought the original poster may have wanted.
It is none-the-less an interesting article.
2010/10/18 Xinhua Zhu <xhzhu(a)it.uts.edu.au>
Seems you can use drools server to do it.
http://alesaudate.com/2010/05/24/hot-deploy-de-regras-utilizando-drools-g...
Xinhua
2010/10/19 Michael Anstis <michael.anstis(a)gmail.com>
I know of the following (but not used) which might help point you in the right direction.
There is org.drools.guvnor.server.GuvnorAPIServlet (drools-guvnor) which provides a narrow
API for dealing with repository artifacts. There is also a narrow REST-ful API in
org.drools.repository.remoteapi.RestAPI (drools-repository, which is the backend to which
you refer). Class org.drools.guvnor.server.RepositoryServiceServlet is the
"meat" of Guvnors actions but it is tightly coupled to GWT and hence less useful
as a generic external service. Unfortunately I doubt any will be entirely useful for your
use-case without extensive enhancement. If you do end up creating a generic web-service
exposing RepositoryService please consider giving back to the community.
On 18 October 2010 18:00, Wolfgang Laun <wolfgang.laun(a)gmail.com> wrote:
[I'm re-posting this as a new thread with an apt subject on behalf of Patricia]
This is the scenario that I am looking for:
I am using Drools Guvnor as the central rule repository. I also have
an external application, that has a custom rule editor in place, and
users can create rules. This custom rule editor will take care of
Conditional Elements and Consequence actions. I would like to be able
to save the rule back in Guvnor, as that is the rule repository.
In the docs, there says that Guvnor has 2 parts: front-end and
backend. The backend includes the repository access as well. My
question is if the Guvnor backend exposes the repository functionality
as web service, or if it can be easily exposed.
Thanks,
Patricia
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-----Inline Attachment Follows-----
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users