I have 2 packages in Guvnor UI having different set of rule assets in it.
pkg1 -> UI rules
pkg2 -> Business rules
In the java application code base, is it mandatory to have 2 change set xmls
with different package contents?
[Java] // for UI rules
kagent.applyChangeSet(ResourceFactory.newClassPathResource("guvnor-tomcat-pkg1-changeset.xml"));
[/Java]
[Java] // for business rules
kagent.applyChangeSet(ResourceFactory.newClassPathResource("guvnor-tomcat-pkg2-changeset.xml"));
[/Java]
Can this be achieved having only one changeset holding multiple packaged
rules?
[change set]
<add>
<resource
source='http://server:8080/guvnor-tomcat/rest/packages/com.pkg1/source'
type='DRL' basicAuthentication="enabled" username="admin"
password="admin"
/>
</add>
[/changeset]
If i add a resource to add tag, how do I call it in Java code?
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-more-than-one-resource-in-change...
Sent from the Drools: User forum mailing list archive at
Nabble.com.