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