[jboss-jira] [JBoss JIRA] Commented: (JBRULES-687) General purpose BRMS query functionality
Michael Neale (JIRA)
jira-events at lists.jboss.org
Sat Feb 17 23:45:30 EST 2007
[ http://jira.jboss.com/jira/browse/JBRULES-687?page=comments#action_12353465 ]
Michael Neale commented on JBRULES-687:
---------------------------------------
Note there are really 2 ways of doing this.
1) One is by "expanding" asset info in the Asset node type to include user fields, types, operators etc, which can then be queried on by the usual mechanism.
2) The other, is to build up a Search tree of used operators, types etc mapping to the rules, on a package level basis. This can then provide lists/maps of matches in a quasi query fashion.
Both these approaches are valid. The benefit of option 2 is that it allows the code to be re-used in the IDE for "ctrt-SHIFT-T" type functionality to find where stuff is used even in eclipse (no repository back end needed). Of course, option 1 is probably easier to do, and more general.
In option 2, the "index" can be persisted to a file as well for quick load up when necessary for powering the GUI.
> General purpose BRMS query functionality
> ----------------------------------------
>
> Key: JBRULES-687
> URL: http://jira.jboss.com/jira/browse/JBRULES-687
> Project: JBoss Rules
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Reporter: Michael Neale
> Assigned To: Michael Neale
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list