You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Mohammad Fakhar (JIRA)" <ji...@apache.org> on 2006/10/02 20:48:19 UTC
[jira] Created: (MUSE-122) Notification producer doesn't support
multiple filters
Notification producer doesn't support multiple filters
-------------------------------------------------------
Key: MUSE-122
URL: http://issues.apache.org/jira/browse/MUSE-122
Project: Muse
Issue Type: Improvement
Components: WSN NotificationProducer
Affects Versions: 2.1.0
Environment: any
Reporter: Mohammad Fakhar
Assigned To: Dan Jemiolo
WS-N 1.3 spec says that multiple filter children are allowed on the subscribe request, all of which combine to evaluate to a boolean:
"The Filter component is the means by which a Subscriber expresses the subset of
Notifications that the NotificationConsumer should receive. This subset is expressed by the
child elements of the Filter. The child elements are a sequence of zero or more expressions
evaluating to a Boolean that constrain the set of possible Notifications."
However, currently muse only supports one filter. To confirm with spec, it should support multiple filters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org
[jira] Commented: (MUSE-122) Notification producer doesn't support
multiple filters
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-122?page=comments#action_12439275 ]
Dan Jemiolo commented on MUSE-122:
----------------------------------
I think this may break 2.0 code - we'll need to make subscribe( ) and SubscriptionManager use a Filter[] *or* add a FilterExpression piece to the Filter API. I think we can make the *interfaces* backwards compatible with 2.0, but the FilterFactory and Filter implementations will change with the introduction of expressions. I think this has to wait for post-2.1.
As a workaround - it is often possible to express mutliple filters in one filter. The only impossible scenario is combining a properties filter with a topic or message filter; the other two can be combined into a single message filter using XPath.
> Notification producer doesn't support multiple filters
> ------------------------------------------------------
>
> Key: MUSE-122
> URL: http://issues.apache.org/jira/browse/MUSE-122
> Project: Muse
> Issue Type: Improvement
> Components: WSN NotificationProducer
> Affects Versions: 2.1.0
> Environment: any
> Reporter: Mohammad Fakhar
> Assigned To: Dan Jemiolo
>
> WS-N 1.3 spec says that multiple filter children are allowed on the subscribe request, all of which combine to evaluate to a boolean:
> "The Filter component is the means by which a Subscriber expresses the subset of
> Notifications that the NotificationConsumer should receive. This subset is expressed by the
> child elements of the Filter. The child elements are a sequence of zero or more expressions
> evaluating to a Boolean that constrain the set of possible Notifications."
> However, currently muse only supports one filter. To confirm with spec, it should support multiple filters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org
[jira] Commented: (MUSE-122) Notification producer doesn't support
multiple filters
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MUSE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462030 ]
Dan Jemiolo commented on MUSE-122:
----------------------------------
Okay, I think I can solve this w/o breaking 2.0 APIs. Kind of a hack, but oh well. I will make a FilterSet class in the wsn-impl module that implements Filter. It will wrap a List of Filter objects, and the accepts() method will simply iterate over the List and return true if all of its filters return true. I will update the FilterFactory class to return a FilterSet object (but the method signature will still return Filter).
Next post will either close w/ commit or explain obstacles to this solution.
> Notification producer doesn't support multiple filters
> ------------------------------------------------------
>
> Key: MUSE-122
> URL: https://issues.apache.org/jira/browse/MUSE-122
> Project: Muse
> Issue Type: Improvement
> Components: WSN NotificationProducer
> Affects Versions: 2.1.0
> Environment: any
> Reporter: Mohammad Fakhar
> Assigned To: Dan Jemiolo
> Fix For: 2.2.0
>
>
> WS-N 1.3 spec says that multiple filter children are allowed on the subscribe request, all of which combine to evaluate to a boolean:
> "The Filter component is the means by which a Subscriber expresses the subset of
> Notifications that the NotificationConsumer should receive. This subset is expressed by the
> child elements of the Filter. The child elements are a sequence of zero or more expressions
> evaluating to a Boolean that constrain the set of possible Notifications."
> However, currently muse only supports one filter. To confirm with spec, it should support multiple filters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org
[jira] Closed: (MUSE-122) Notification producer doesn't support
multiple filters
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MUSE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Jemiolo closed MUSE-122.
----------------------------
Resolution: Fixed
Fixed - http://svn.apache.org/viewvc?view=rev&revision=492265
> Notification producer doesn't support multiple filters
> ------------------------------------------------------
>
> Key: MUSE-122
> URL: https://issues.apache.org/jira/browse/MUSE-122
> Project: Muse
> Issue Type: Improvement
> Components: WSN NotificationProducer
> Affects Versions: 2.1.0
> Environment: any
> Reporter: Mohammad Fakhar
> Assigned To: Dan Jemiolo
> Fix For: 2.2.0
>
>
> WS-N 1.3 spec says that multiple filter children are allowed on the subscribe request, all of which combine to evaluate to a boolean:
> "The Filter component is the means by which a Subscriber expresses the subset of
> Notifications that the NotificationConsumer should receive. This subset is expressed by the
> child elements of the Filter. The child elements are a sequence of zero or more expressions
> evaluating to a Boolean that constrain the set of possible Notifications."
> However, currently muse only supports one filter. To confirm with spec, it should support multiple filters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org
[jira] Updated: (MUSE-122) Notification producer doesn't support
multiple filters
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-122?page=all ]
Dan Jemiolo updated MUSE-122:
-----------------------------
Fix Version/s: 2.2.0
Not sure what the resolution will be here, but we will have one for the 2.2 release.
> Notification producer doesn't support multiple filters
> ------------------------------------------------------
>
> Key: MUSE-122
> URL: http://issues.apache.org/jira/browse/MUSE-122
> Project: Muse
> Issue Type: Improvement
> Components: WSN NotificationProducer
> Affects Versions: 2.1.0
> Environment: any
> Reporter: Mohammad Fakhar
> Assigned To: Dan Jemiolo
> Fix For: 2.2.0
>
>
> WS-N 1.3 spec says that multiple filter children are allowed on the subscribe request, all of which combine to evaluate to a boolean:
> "The Filter component is the means by which a Subscriber expresses the subset of
> Notifications that the NotificationConsumer should receive. This subset is expressed by the
> child elements of the Filter. The child elements are a sequence of zero or more expressions
> evaluating to a Boolean that constrain the set of possible Notifications."
> However, currently muse only supports one filter. To confirm with spec, it should support multiple filters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org