[rules-users] Drools Rules Mysql Configuration

kavitha sethu kavithasethu at gmail.com
Wed Jan 11 12:48:38 EST 2012


Hi Mike,

Can you tell me how to Use Rest API to retreive the plain text rules.
Because when i went to
http://localhost:8081/guvnor/rest/packages/edu.arizona/assets/Lowers am
able to see some xml but not the exact rule to parse. How can i accomplish
it?

Thanks,
Kavitha.

On Mon, Jan 9, 2012 at 2:10 PM, kavitha sethu <kavithasethu at gmail.com>wrote:

> Thanks for the reply Mike &  Esteban Aliverti. Using the webdav i was able
> to see the xml format of the rule through
> http://localhost:8081/guvnor/org.drools.guvnor.Guvnor/webdav/packages/edu.arizona/Lowers.brl.
> Can anyone provide me simple example of how to pass this URL to Grails
> Application Or any of the similar example..
>
> Thanks.
>
>
> On Mon, Jan 9, 2012 at 1:06 PM, Michael Anstis <michael.anstis at gmail.com>wrote:
>
>> Guvnor uses JCR (Jackrabbit or Modeshape).
>>
>> JCR can be configured to store it's binary data in a database.
>>
>> The configuration you make to Guvnor to use a database configures JCR.
>>
>> The resulting tables are of JCRs requirements and needs. As you have
>> discovered JCR has no knowledge of "rules".
>>
>> You cannot therefore expect to find plain-text rules in a database table
>> used by JCR.
>>
>> Other people use the RSS feed and REST API to retrieve plain-text rules
>> from Guvnor.
>>
>> With kind regards,
>>
>> Mike
>>
>>
>> On 9 January 2012 19:03, kavita <kavithasethu at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I want to write the rules from drools to my mysql database. Using
>>> Repository
>>> configuration, i have configured my drools guvnor to write to mysql
>>> database. But, i am not seeing any tables which has rules in a readable
>>> format? Can anyone tel me which table and field to look for?
>>>
>>> Am a beginner to drools guvnor. Please help.
>>>
>>> Thanks,
>>> Kavitha.
>>>
>>> --
>>> View this message in context:
>>> http://drools.46999.n3.nabble.com/Drools-Rules-Mysql-Configuration-tp3645470p3645470.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
>>>
>>
>>
>> _______________________________________________
>> 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/20120111/fa49c74f/attachment.html 


More information about the rules-users mailing list