[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511541#comment-16511541 ] ASF GitHub Bot commented on DISPATCH-976: - Github user fgiorgetti closed the pull request at: https://github.com/apache/qpid-dispatch/pull/324 > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511490#comment-16511490 ] ASF GitHub Bot commented on DISPATCH-976: - Github user fgiorgetti commented on the issue: https://github.com/apache/qpid-dispatch/pull/324 Done. Seems to be working fine. > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511155#comment-16511155 ] ASF GitHub Bot commented on DISPATCH-976: - Github user ChugR commented on the issue: https://github.com/apache/qpid-dispatch/pull/324 Looking at it again I think all three of these need_check_* booleans are suspect. Don't delete just the one, get rid of them all. > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510526#comment-16510526 ] ASF GitHub Bot commented on DISPATCH-976: - Github user fgiorgetti commented on the issue: https://github.com/apache/qpid-dispatch/pull/324 @ganeshmurthy and @ChugR after debugging it a little bit more, I noticed that the first if statement that checks for an absent user key in the iterating allowed address, was also checking the "need_check_nosubst" boolean, enforcing that only one address with "absent" user key is defined. So with this boolean flag, in case more than one address is defined in the tree (without the user key), it causes the last "else" statement to be processed and then executing the "assert(false);" which was crashing the router. In this PR I have removed the need_check_nosubst flag which seems to resolve the issue reported in DISPATCH-1026 as well. > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510521#comment-16510521 ] ASF GitHub Bot commented on DISPATCH-976: - Github user codecov-io commented on the issue: https://github.com/apache/qpid-dispatch/pull/324 # [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/324?src=pr&el=h1) Report > Merging [#324](https://codecov.io/gh/apache/qpid-dispatch/pull/324?src=pr&el=desc) into [master](https://codecov.io/gh/apache/qpid-dispatch/commit/8c7e87275fb481f25d8deaa4f639f3a4d1c532d9?src=pr&el=desc) will **decrease** coverage by `0.01%`. > The diff coverage is `100%`. [![Impacted file tree graph](https://codecov.io/gh/apache/qpid-dispatch/pull/324/graphs/tree.svg?token=rk2Cgd27pP&width=650&height=150&src=pr)](https://codecov.io/gh/apache/qpid-dispatch/pull/324?src=pr&el=tree) ```diff @@Coverage Diff @@ ## master #324 +/- ## == - Coverage 86.55% 86.54% -0.02% == Files 69 69 Lines 1546615464 -2 == - Hits1338713383 -4 - Misses 2079 2081 +2 ``` | [Impacted Files](https://codecov.io/gh/apache/qpid-dispatch/pull/324?src=pr&el=tree) | Coverage Δ | | |---|---|---| | [src/policy.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL3BvbGljeS5j) | `86.75% <100%> (+0.85%)` | :arrow_up: | | [src/router\_core/agent\_link.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL2FnZW50X2xpbmsuYw==) | `63.21% <0%> (-0.58%)` | :arrow_down: | | [src/router\_core/router\_core.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL3JvdXRlcl9jb3JlLmM=) | `98.88% <0%> (-0.38%)` | :arrow_down: | | [src/router\_core/transfer.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL3RyYW5zZmVyLmM=) | `90.26% <0%> (-0.32%)` | :arrow_down: | | [src/router\_core/connections.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL2Nvbm5lY3Rpb25zLmM=) | `95.01% <0%> (-0.24%)` | :arrow_down: | | [src/router\_node.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9ub2RlLmM=) | `94.57% <0%> (-0.15%)` | :arrow_down: | | [src/server.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL3NlcnZlci5j) | `87.73% <0%> (-0.12%)` | :arrow_down: | | [src/iterator.c](https://codecov.io/gh/apache/qpid-dispatch/pull/324/diff?src=pr&el=tree#diff-c3JjL2l0ZXJhdG9yLmM=) | `86.8% <0%> (+0.19%)` | :arrow_up: | -- [Continue to review full report at Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/324?src=pr&el=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/324?src=pr&el=footer). Last update [8c7e872...1892f5d](https://codecov.io/gh/apache/qpid-dispatch/pull/324?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments). > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{co
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510514#comment-16510514 ] ASF GitHub Bot commented on DISPATCH-976: - GitHub user fgiorgetti opened a pull request: https://github.com/apache/qpid-dispatch/pull/324 DISPATCH-976 - Fixed issue with policy validation of allowed addresses You can merge this pull request into a Git repository by running: $ git pull https://github.com/fgiorgetti/qpid-dispatch fgiorgetti-DISPATCH-976-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-dispatch/pull/324.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #324 commit 1892f5dc68296e5b5ec107f6212e0e24f4b852e3 Author: Fernando Giorgetti Date: 2018-06-13T01:57:17Z DISPATCH-976 - Fixed issue with policy validation of allowed addresses > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510506#comment-16510506 ] ASF GitHub Bot commented on DISPATCH-976: - Github user fgiorgetti closed the pull request at: https://github.com/apache/qpid-dispatch/pull/323 > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510502#comment-16510502 ] ASF GitHub Bot commented on DISPATCH-976: - Github user fgiorgetti commented on the issue: https://github.com/apache/qpid-dispatch/pull/323 I believe I found the reason for the failure. I will provide a new PR and ask Chuck to review it. > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510182#comment-16510182 ] ASF GitHub Bot commented on DISPATCH-976: - Github user codecov-io commented on the issue: https://github.com/apache/qpid-dispatch/pull/323 # [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/323?src=pr&el=h1) Report > Merging [#323](https://codecov.io/gh/apache/qpid-dispatch/pull/323?src=pr&el=desc) into [master](https://codecov.io/gh/apache/qpid-dispatch/commit/8c7e87275fb481f25d8deaa4f639f3a4d1c532d9?src=pr&el=desc) will **increase** coverage by `0.03%`. > The diff coverage is `n/a`. [![Impacted file tree graph](https://codecov.io/gh/apache/qpid-dispatch/pull/323/graphs/tree.svg?token=rk2Cgd27pP&width=650&height=150&src=pr)](https://codecov.io/gh/apache/qpid-dispatch/pull/323?src=pr&el=tree) ```diff @@Coverage Diff @@ ## master #323 +/- ## == + Coverage 86.55% 86.58% +0.03% == Files 69 69 Lines 1546615465 -1 == + Hits1338713391 +4 + Misses 2079 2074 -5 ``` | [Impacted Files](https://codecov.io/gh/apache/qpid-dispatch/pull/323?src=pr&el=tree) | Coverage Δ | | |---|---|---| | [src/policy.c](https://codecov.io/gh/apache/qpid-dispatch/pull/323/diff?src=pr&el=tree#diff-c3JjL3BvbGljeS5j) | `86.95% <ø> (+1.06%)` | :arrow_up: | | [src/router\_core/agent\_link.c](https://codecov.io/gh/apache/qpid-dispatch/pull/323/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL2FnZW50X2xpbmsuYw==) | `63.21% <0%> (-0.58%)` | :arrow_down: | | [src/router\_node.c](https://codecov.io/gh/apache/qpid-dispatch/pull/323/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9ub2RlLmM=) | `94.57% <0%> (-0.15%)` | :arrow_down: | | [src/server.c](https://codecov.io/gh/apache/qpid-dispatch/pull/323/diff?src=pr&el=tree#diff-c3JjL3NlcnZlci5j) | `87.73% <0%> (-0.12%)` | :arrow_down: | | [src/iterator.c](https://codecov.io/gh/apache/qpid-dispatch/pull/323/diff?src=pr&el=tree#diff-c3JjL2l0ZXJhdG9yLmM=) | `86.8% <0%> (+0.19%)` | :arrow_up: | | [src/remote\_sasl.c](https://codecov.io/gh/apache/qpid-dispatch/pull/323/diff?src=pr&el=tree#diff-c3JjL3JlbW90ZV9zYXNsLmM=) | `83.03% <0%> (+0.3%)` | :arrow_up: | -- [Continue to review full report at Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/323?src=pr&el=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/323?src=pr&el=footer). Last update [8c7e872...fd7eda3](https://codecov.io/gh/apache/qpid-dispatch/pull/323?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments). > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510166#comment-16510166 ] ASF GitHub Bot commented on DISPATCH-976: - GitHub user fgiorgetti opened a pull request: https://github.com/apache/qpid-dispatch/pull/323 DISPATCH-976 - Commenting last assert which is causing router to crash You can merge this pull request into a Git repository by running: $ git pull https://github.com/fgiorgetti/qpid-dispatch fgiorgetti-DISPATCH-976-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-dispatch/pull/323.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #323 commit fd7eda39c245b57596841222c5db1d7c8581c86f Author: Fernando Giorgetti Date: 2018-06-12T20:35:33Z DISPATCH-976 - Commenting last assert which is causing router to crash > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16509951#comment-16509951 ] ASF subversion and git services commented on DISPATCH-976: -- Commit 2f3d32d5b8a72cb9104bdf315335822af0a50e47 in qpid-dispatch's branch refs/heads/master from [~fgiorget] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=2f3d32d ] DISPATCH-976 - System test to validate vhost policies on source and target addresses. This closes #320 > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16509956#comment-16509956 ] ASF GitHub Bot commented on DISPATCH-976: - Github user asfgit closed the pull request at: https://github.com/apache/qpid-dispatch/pull/320 > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506544#comment-16506544 ] ASF GitHub Bot commented on DISPATCH-976: - GitHub user fgiorgetti opened a pull request: https://github.com/apache/qpid-dispatch/pull/320 DISPATCH-976 - System test to validate vhost policies on source and t… …arget addresses NOTE: If this gets merged before PR#319 and before DISPATCH-1026 is fixed (no PR available yet), then tests will not pass. This test ensures that router is properly handling vhost policies applied to addresses. You can merge this pull request into a Git repository by running: $ git pull https://github.com/fgiorgetti/qpid-dispatch fgiorgetti-DISPATCH-976 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-dispatch/pull/320.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #320 commit 655ec6e0db3197f4ca859675c052cd833540222f Author: Fernando Giorgetti Date: 2018-06-08T20:43:27Z DISPATCH-976 - System test to validate vhost policies on source and target addresses > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > Fix For: 1.2.0 > > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471999#comment-16471999 ] Justin Ross commented on DISPATCH-976: -- [~chug], what's the fix version for this? > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460109#comment-16460109 ] ASF subversion and git services commented on DISPATCH-976: -- Commit f1f4231aca1a50006383bd238ec486750eeca012 in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=f1f4231 ] DISPATCH-976: Enable src/tgt parse tree processing; add self test > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460112#comment-16460112 ] ASF subversion and git services commented on DISPATCH-976: -- Commit f9e02ec197e50fd6c3ea6bca8c6fbf7cb16abc28 in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=f9e02ec ] DISPATCH-976: Permissive default policy using src/tgt patterns > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460111#comment-16460111 ] ASF subversion and git services commented on DISPATCH-976: -- Commit 1b36bc26ecad88490f80a64cc0d5d967431b5b3a in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=1b36bc2 ] DISPATCH-976: pass empty strings from python to C when the strings are absent then the C code generates a python 'index not found' exception and a python log trace entry. > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460113#comment-16460113 ] ASF subversion and git services commented on DISPATCH-976: -- Commit e9195077972e4eb9e6cb577cdcace766e9f027b3 in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=e919507 ] DISPATCH-976: Update doc book description of new config attributes > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460105#comment-16460105 ] ASF subversion and git services commented on DISPATCH-976: -- Commit dc981ecc6cf31d8c605e84703a589553281281c2 in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=dc981ec ] DISPATCH-976: Accept new config settings and store in local policy > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460106#comment-16460106 ] ASF subversion and git services commented on DISPATCH-976: -- Commit 05440dbc14829a3b32b4bddaebcc3ad97e74ff0d in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=05440db ] DISPATCH-976: Add string-based parse tree add/match functions Add self test that uses new interfaces. > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460104#comment-16460104 ] ASF subversion and git services commented on DISPATCH-976: -- Commit 210683db7188875486a1615e2426987e2e1fa057 in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=210683d ] DISPATCH-976: add address match patterns to vhostUserGroupSettings The pattern match settings supercede the existing simple wildcard settings. > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460107#comment-16460107 ] ASF subversion and git services commented on DISPATCH-976: -- Commit 2f35a9f00c2d7c19a702bdeedc2041d55a7781b6 in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=2f35a9f ] DISPATCH-976: instantiate and destroy policy parse trees > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460108#comment-16460108 ] ASF subversion and git services commented on DISPATCH-976: -- Commit 17d9977ff1e02ce8190c0881a4825891970fb06b in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=17d9977 ] DISPATCH-976: add mission code to do tree checks; add unit test > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460110#comment-16460110 ] ASF subversion and git services commented on DISPATCH-976: -- Commit 9c6f3c17373e012d28bbd7b0559e37e2b06e4d9b in qpid-dispatch's branch refs/heads/master from [~chug] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=9c6f3c1 ] DISPATCH-976: undeprecate 'sources' and 'targets' attributes > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-976) Allow policy for sources and targets to handle multiple wildcards
[ https://issues.apache.org/jira/browse/DISPATCH-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448819#comment-16448819 ] Chuck Rolke commented on DISPATCH-976: -- Source and target wildcard matching shall follow the same rules as router.config.address/pattern and router.config.linkRoute/pattern. {quote}The pattern consists of one or more tokens separated by a forward slash '/'. A token can be one of the following: a * character, a # character, or a sequence of characters that do not include /, *, or #. The * token matches any single token. The # token matches zero or more tokens. * has higher precedence than #, and exact match has the highest precedence." {quote} > Allow policy for sources and targets to handle multiple wildcards > - > > Key: DISPATCH-976 > URL: https://issues.apache.org/jira/browse/DISPATCH-976 > Project: Qpid Dispatch > Issue Type: Bug > Components: Policy Engine >Affects Versions: 1.0.1 >Reporter: Chuck Rolke >Assignee: Chuck Rolke >Priority: Major > > As per the [upstream policy > documentation|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc] > in the secion on [AMQP Source and Target Wildcard and Name > Substitution|https://github.com/apache/qpid-dispatch/blob/1.0.0/doc/book/policy.adoc#amqp-source-and-target-wildcard-and-name-substitution] > utilization of the asterisk wildcard is constrained as per the following > quote: > {quote}The asterisk is recognized only if it is the last character in the > link name. > {quote} > It is desirable that the configuration could handle a situation where there > are multiple asterisks in use such as: > > |{color:#00}"tstGroup": {{color}| > |{color:#00} "users": "tst@amq",{color}| > |{color:#00} "sources": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "targets": "abc.*,my.*.b2b.tst.*",{color}| > |{color:#00} "remoteHosts": "*"{color}| > |{color:#00}} {color}| > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org