[rules-users] Scanning changeset changes
Esteban Aliverti
esteban.aliverti at gmail.com
Thu Aug 4 01:40:24 EDT 2011
Knowledge Agent doesn't listen on changeset changes. What you can do is to
create a new changeset and apply it into the agent whenever you want to add
a new resource.
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Thu, Aug 4, 2011 at 4:31 AM, varces <varces78 at yahoo.com.ar> wrote:
> I need to scan changes in the changset.xml file, when I add a new
> resource
> entry in the changeset.xml file, I need to update the knowledgebase with
> the new package.
> If I have this changeset.xml whent startup the drools engine:
>
> <change-set xmlns="http://drools.org/drools-5.0/change-set"
> xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
>
>
> xs:schemaLocation="http://drools.org/drools-5.0/change-set
> change-set-1.0.0.xsd" >
>
> <add>
>
> <resource
> source='
> http://myguvnor/guvnor/org.drools.guvnor.Guvnor/package/ar.com.urgencias/LATEST
> '
>
> type='PKG'/>
>
> </add>
>
>
>
> </change-set>
>
> Later (in runtime) I need to add a new package from guvnor
> <change-set xmlns="http://drools.org/drools-5.0/change-set"
> xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
>
>
> xs:schemaLocation="http://drools.org/drools-5.0/change-set
> change-set-1.0.0.xsd" >
>
> <add>
>
> <resource
> source='
> http://myguvnor/guvnor/org.drools.guvnor.Guvnor/package/ar.com.urgencias/LATEST
> '
>
> type='PKG'/>
>
> <resource
> source='
> http://myguvnor/guvnor/org.drools.guvnor.Guvnor/package/ar.com.alertas/LATEST
> '
>
> type='PKG'/>
>
> </add>
>
>
>
> </change-set>
>
> Can Drools update the knowledge base automatically with the agent detecting
> the change in the changeset.xml file?
> Is there any way to update the knowledge base with a new package in
> runtime
> from guvnor?
> Thanks
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Scanning-changeset-changes-tp3224198p3224198.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/20110804/7eec6570/attachment.html
More information about the rules-users
mailing list