Hi,
I have a requirement of executing all the rules under a specific package. The
new rules getting added in Guvnor API and Standalone editior are not getting
reflected until I build the Binary package again using Guvnor UI. I want to
allow users to create new rules and want them to be active immediately without
coming to Guvnor to build the binary again.
I tried making a GET request to "http://... /rest/packages/SupplyChain/binary"
to build the binary again, but the new rule is not reflected. I also tried the
following configuration also.
ResourceChangeScannerConfiguration sconf =
ResourceFactory.getResourceChangeScannerService().newResourceChangeScannerConfiguration();
sconf.setProperty("drools.resource.scanner.interval", "2");
ResourceFactory.getResourceChangeScannerService().configure(sconf);
KnowledgeAgentConfiguration kaconf =
KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
kaconf.setProperty( "drools.agent.scanDirectories","true" );
kaconf.setProperty("drools.agent.scanResources", "true");
kaconf.setProperty("drools.agent.newInstance", "false");
Please let me know if there is any other way of building the package with all
the latest updates (including new assets) using REST API ?
Thanks
Bruce
Thanks
Antin
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev