[rules-users] Can Guvnor's repository functionality be exposed as a web service? [was: Drools API]

Michael Anstis michael.anstis at gmail.com
Mon Oct 18 17:07:04 EDT 2010


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 at 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-guvnor-parte-2/
>
> Xinhua
>
> 2010/10/19 Michael Anstis <michael.anstis at 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 at 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 at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101018/a6cdeea2/attachment.html 


More information about the rules-users mailing list