mortgage-sample-repository.xml is the example repository installed into Guvnor when you first deploy (and answer "yes" to the install examples prompt).
Changing this XML will therefore have no effect, unless you re-import the XML too using the Administration functions in Guvnor.
In order to achieve what you state you'd need to (a) use the JCR API to query the underlying datastore, (b) re-build your binary rule package. We don't provide a bulk update facility.
Given your example would it be not best to have Beverages themselves as Facts and have rules that set their prices?
Think of the Rules Engine as a RDBMS and the Facts as records.
With kind regards,
Mike
Hi,
Thanks for your quick reply, Salaboy.
Webdav indeed allow me to browse through the packages and I was able to
locate a file mortgage-sample-repository.xml in the folder WEB-INF/classes
of drools-fuvnor.war.
However, changes in the xml did not show up in Guvnor and vice versa. So,
jackrabbit has to store its contents somewhere else. The folder "repository"
only consists of class-files.
The reason I am looking for this file, is because I am looking for ways to
simultaneously update multiple rule parameters, without adding a new rule to
the ruleset. F.e. we want all base prices of our beverages to increase by
5%.
It would be as if you run an sql update statement on a "rule database".
You'll probably need to parse the drl to achieve this.
Regards,
Frank
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Rule-storage-tp2742515p2743044.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users