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-tp3224198p32...
Sent from the Drools: User forum mailing list archive at
Nabble.com.