[rules-users] Can we point to db repository url directly in ChangeSet.xml

Suk Fung suk_f at yahoo.com
Tue Mar 22 18:33:49 EDT 2011


Thanks for all your info.  I got Guvnor configured to use external database 
repository using mysql.  But just wonder if the client application can point to 
the database repository directly, not depending on Guvnor application up 
running.

Suk




________________________________
From: Michael Anstis <michael.anstis at gmail.com>
To: drools-user <rules-users at lists.jboss.org>
Sent: Tue, March 22, 2011 3:21:59 PM
Subject: Re: [rules-users] Can we point to db repository url directly in 
ChangeSet.xml

hehe, I guess this is a classic example of a circular dependency ;)

Can you confirm you're using a changeset to retrieve the rules rather than a URL 
to simply download the binary package?

If so you should be able to include credentials in that file. Google for "drools 
changeset" and you should see some examples.

With kind regards,

Mike


On 22 March 2011 22:15, SathyaPrakash<prakashagarval at gmail.com> wrote:

Hi Mike,
> 
>JbossESB documentation states refer Drools documentation 
> 
>Kindly let me know how to pass credentials in Drools so that i can try with 
ESB.
> 
>Regards,
>Sathya
>
>
>On Wed, Mar 23, 2011 at 2:08 AM, Michael Anstis<michael.anstis at gmail.com> 
wrote:
>
>Hi Sathya,
>>
>>This is by design.
>>
>>Any consumer of the "Guvnor service" will need to provide authentication 
>>parameters in the HTTP request.
>>
>>This sounds like it could be an issue with ESB, perhaps you can pose a question 
>>to their support forums asking how you can include authorisation credentials in 
>>their configuration?
>>
>>Please direct your emails to the drools-user mailing list as any information 
>>could be of value to others in the future.
>>
>>If I've mis-understood something please let me know :)
>>
>>With kind regards,
>>
>>Mike 
>>
>>
>>
>>On 22 March 2011 22:00, SathyaPrakash<prakashagarval at gmail.com> wrote:
>>
>>Hi Mike,
>>> 
>>>If Drools guvnor is password protected then package url can not be accessed 
>>>directly.
>>> 
>>>In esb we can specific url or dir location. I have specified url i need to pass 
>>>credentials. as of now its throwing 401 hhtp code.
>>> 
>>>regards,
>>>sathyaprakash
>>>
>>>
>>>On Wed, Mar 23, 2011 at 1:55 AM, Michael Anstis<michael.anstis at gmail.com> 
>>wrote:
>>>
>>>I'm not familiar with JBossESB Drools integration.
>>>>
>>>>However, AFAIK, the file is not password protected but the (Guvnor hosting) 
>>>>web-server authenticates HTTP requests to "close" access.
>>>>
>>>>Can you please explain more what you mean by restricting access to a particular 
>>>>server?
>>>>
>>>>Thanks,
>>>>
>>>>Mike 
>>>>
>>>>
>>>>
>>>>On 22 March 2011 21:39, SathyaPrakash<prakashagarval at gmail.com> wrote:
>>>>
>>>>Hi,
>>>>> 
>>>>>If package file is password protected, then how to restrict to particular 
>>>>>server. I am using JBOSSESB drools integration.
>>>>> 
>>>>> 
>>>>> 
>>>>>Regards,
>>>>>SathyaPrakash.
>>>>>
>>>>>
>>>>>2011/3/23 Michael Anstis<michael.anstis at gmail.com>
>>>>>
>>>>>The repository used by Guvnor is not a database but an implementation of JCR 
>>>>>(Content Repository for Java Technology).
>>>>>>
>>>>>>We currently support Apache Jackrabbit and IIRCJBossModeshape from 5.2.0.M1 as 
>>>>>>an option (if not in an earlier version). Whilst it is possible to configure 
>>>>>>either of these JCR implementations to persist to a RDBMS instead of a 
>>>>>>FileSystem, I believe the table content is a (proprietary) binary form at not 
>>>>>>easily integrated. Consequentially we only expose the facility to download rule 
>>>>>>packages through the channels you state.
>>>>>>
>>>>>>With kind regards,
>>>>>>
>>>>>>Mike
>>>>>>
>>>>>>
>>>>>>2011/3/22 Suk Fung <suk_f at yahoo.com>
>>>>>>
>>>>>>All,
>>>>>>>To consume the rules in the application, we can either use package URI or 
>>>>>>>download a binary .pkg file from guvnor.  I just wonder if the application can 
>>>>>>>connect to the database repository directly?
>>>>>>>
>>>>>>>Thanks for any information in advance.
>>>>>>>
>>>>>>>Suk
>>>>>>>
>>>>>>>
>>>>>>>_______________________________________________
>>>>>>>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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>-- 
>>>>>
>>>>>Cheers,
>>>>>SathyaPrakash.
>>>>>సత్య ప్రకాష్.
>>>>>
>>>>
>>>
>>>
>>>-- 
>>>
>>>Cheers,
>>>SathyaPrakash.
>>>సత్య ప్రకాష్.
>>>
>>
>
>
>-- 
>
>Cheers,
>SathyaPrakash.
>సత్య ప్రకాష్.
>



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110322/a3feedbc/attachment.html 


More information about the rules-users mailing list