[rules-users] Custom UI to create rules and inserting them via REST API

Esteban Aliverti esteban.aliverti at gmail.com
Mon Jan 28 08:20:23 EST 2013


If you are not planning to use Guvnor to author your rules, there is no
need to store them in BRL format. You can store your rules as 'technical
rules' directly.

Best Regards,


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com


On Mon, Jan 28, 2013 at 2:10 PM, benq2188 <bengisaglam at gmail.com> wrote:

> Hi everyone,
>
> I would like to implement an Expert System which I can have my own UI to
> generate user defined rules, and I am planning to use REST API to
> insert/update/delete the rules,which are in the guvnor repository. Inside
> the guvnor, I would like to store my rules in .drl format. So I was
> wondering two thing:
>
> - Is that possible to create a brl file in XStream xml format as output of
> the UI, and store it in the repository as .drl format?. (I know the
> conversion from .brl to .drl is possible by using BRDRLPersistance object.)
> If it is possible then which object is the key point to create it from the
> "package org.drools.ide.common.client.modeldriven.brl"?
>
> -Another problem, by using REST API I can update and retrieve an asset in
> text/plain format, however I could not succeed to insert new asset into
> repository by using POST method. So how can I insert a new .drl rule into
> repository via REST.
>
> I will appreciate if you have some sample code for any of them and will be
> greatful for any help,
>
> Thanks,
>
> Bengi.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Custom-UI-to-create-rules-and-inserting-them-via-REST-API-tp4021848.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> 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/20130128/0227629f/attachment.html 


More information about the rules-users mailing list