Re: [rules-users] Extending the validation of rules functionality in Guvnor
Hi, The Verify button for a single asset will be in the asset editor, next to the Validate button in the M2 release. The feature is in the trunk, but it is/was down for a moment due to some updates. You can use the verifier rules in M1 and earlier versions for the entire rule package, if you go to the Admin section in Guvnor. The Verify button in asset view just checks the single rule or decision table. Toni Rikkola AndreaLee wrote: I have just read http://community.jboss.org/wiki/DroolsVerifier and am happy to see that Drools Verifier seems to be heading in the right direction for business logic validation that my project requires. Which version of Guvnor is the Verify button available in? I have downloaded Guvnor 5.1.0.M1 but do not see the Verify button. I am also unable to check out the project via svn as I am unable to connect to http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk or https://svn.jboss.org/repos/labs/labs/jbossrules/trunk. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Extending the validation of rules functionality in Guvnor
I have just checked out the trunk version (5.1.0.SNAPSHOT) of Guvnor and Verifier and am excited about the enhanced rule verification capabilities introduced into Guvnor. Are there any plans to allow customization such as allowing users to import custom verification rules through Guvnor? -- View this message in context: http://n3.nabble.com/Extending-the-validation-of-rules-functionality-in-Guvnor-tp61422p733346.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
Re: [rules-users] Extending the validation of rules functionality in Guvnor
Yes there are plans to add this capability to guvnor. We are working on drools-factconstraints that allows you to create validation rules for your rules. The project is in a very early stage, but is usable now. Users can't import custom rules yet, but you can add some basic restrictions to fields defining working sets. The posts I pasted the other day explain how to do this. Best, On Tue, Apr 20, 2010 at 5:29 PM, AndreaLee alee...@gmail.com wrote: I have just checked out the trunk version (5.1.0.SNAPSHOT) of Guvnor and Verifier and am excited about the enhanced rule verification capabilities introduced into Guvnor. Are there any plans to allow customization such as allowing users to import custom verification rules through Guvnor? -- View this message in context: http://n3.nabble.com/Extending-the-validation-of-rules-functionality-in-Guvnor-tp61422p733346.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 -- Esteban Aliverti ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Extending the validation of rules functionality in Guvnor
I have just read http://community.jboss.org/wiki/DroolsVerifier and am happy to see that Drools Verifier seems to be heading in the right direction for business logic validation that my project requires. Which version of Guvnor is the Verify button available in? I have downloaded Guvnor 5.1.0.M1 but do not see the Verify button. I am also unable to check out the project via svn as I am unable to connect to http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk or https://svn.jboss.org/repos/labs/labs/jbossrules/trunk. -- View this message in context: http://n3.nabble.com/Extending-the-validation-of-rules-functionality-in-Guvnor-tp61422p730370.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
Re: [rules-users] Extending the validation of rules functionality in Guvnor
You can find a new Verify button when editing rules. This button makes use of drools-verifier, which may be used to perform what you are trying to do. We are working hard these days to add field and fact restrictions to guvnor. You can check these links for more help: ilesteban.wordpress.com/2010/03/25/guvnors-working-sets/ http://ilesteban.wordpress.com/2010/03/25/guvnors-working-sets/ ilesteban.wordpress.com/2010/04/05/guvnors-field-constraints/ http://ilesteban.wordpress.com/2010/04/05/guvnors-field-constraints/Best, On Fri, Apr 16, 2010 at 9:08 PM, AndreaLee alee...@gmail.com wrote: Premkumar Stephen wrote: Currently, the validate functionality ensures that rules have proper syntax. it is possible to extend this functionality so that business use cases might also be validated? Is there an API/examples to do that. I am also interested in having business logic validation capabilities in Guvnor. Ideally our users would like to be prevented from creating new rules that conflict with existing rules or changing existing rules in a way that produces conflict with other existing rules. Do you know of any way of notifying Guvnor users that a rule they want to create or have created is in conflict with existing ones? -- View this message in context: http://n3.nabble.com/Extending-the-validation-of-rules-functionality-in-Guvnor-tp61422p725321.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 -- Esteban Aliverti ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Extending the validation of rules functionality in Guvnor
Premkumar Stephen wrote: Currently, the validate functionality ensures that rules have proper syntax. it is possible to extend this functionality so that business use cases might also be validated? Is there an API/examples to do that. I am also interested in having business logic validation capabilities in Guvnor. Ideally our users would like to be prevented from creating new rules that conflict with existing rules or changing existing rules in a way that produces conflict with other existing rules. Do you know of any way of notifying Guvnor users that a rule they want to create or have created is in conflict with existing ones? -- View this message in context: http://n3.nabble.com/Extending-the-validation-of-rules-functionality-in-Guvnor-tp61422p725321.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
Re: [rules-users] Extending the validation of rules functionality in Guvnor
Hi, This feature is not in the Guvnor at the moment, but I was planning to add it when I start working on GUVNOR-101. https://jira.jboss.org/jira/browse/GUVNOR-101 Toni Premkumar Stephen wrote: Hello everyone, Currently, the validate functionality ensures that rules have proper syntax. it is possible to extend this functionality so that business use cases might also be validated? Is there an API/examples to do that. For eg, in our domain, an object X can be evaluated for 3 criteria ( a, b, c ) However, we would need to prevent rules written which combine criteria b and c Rules can have the combinations ( a,b,c, ab, ac ). Combinations ( bc and abc ) should not be allowed. Regards, Prem ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Extending the validation of rules functionality in Guvnor
Hello everyone, Currently, the validate functionality ensures that rules have proper syntax. it is possible to extend this functionality so that business use cases might also be validated? Is there an API/examples to do that. For eg, in our domain, an object X can be evaluated for 3 criteria ( a, b, c ) However, we would need to prevent rules written which combine criteria b and c Rules can have the combinations ( a,b,c, ab, ac ). Combinations ( bc and abc ) should not be allowed. Regards, Prem ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users