[jira] [Commented] (DISPATCH-889) linkRoute patterns beginning with #/string match substrings after the /

2018-02-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374913#comment-16374913
 ] 

ASF GitHub Bot commented on DISPATCH-889:
-

Github user kgiusti closed the pull request at:

https://github.com/apache/qpid-dispatch/pull/258


> linkRoute patterns beginning with #/string match substrings after the / 
> 
>
> Key: DISPATCH-889
> URL: https://issues.apache.org/jira/browse/DISPATCH-889
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Container
>Affects Versions: 1.0.0
>Reporter: Ernest Allen
>Assignee: Ken Giusti
>Priority: Major
> Fix For: 1.0.1
>
>
> linkRoutes with a pattern of #/policy match substrings of the word policy
> - 1. setup a router
> router {
> mode: standalone
> id: A
> }
> listener {
> host: 0.0.0.0
> port: 2
> role: normal
> saslMechanisms: ANONYMOUS
> }
> connector {
> name: policy-connector
> role: route-container
> host: 0.0.0.0
> port:  
> saslMechanisms: ANONYMOUS
> }
> linkRoute {
>pattern: #/policy
>dir: in
>   connection: policy-connector
> }
> - 2. start an acceptor on that host:port
> qpid-proton/examples/python/server_direct.py
> - 3. verify linkRoute is established
> qdstat -b 0.0.0.0:2 --linkroutes
> Link Routes
>   address   dir  distrib   status
>   =
>   #/policy  in   linkBalanced  active
> - 4. send some messages through the router
> addresses that should match
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/policy -m 1
>   -> message received at server_direct.py
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/ken-is-great/policy 
> -m 1
>   -> message received at server_direct.py
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/policy -m 1
>   -> message received at server_direct.py
> addresses that should not match
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/a -m 1
>   -> message NOT sent - this is the correct behavior 
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/p -m 1
>   -> message received at server_direct.py - this is a bug
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/poli -m 1
>   -> message received at server_direct.py - this is a bug



--
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-889) linkRoute patterns beginning with #/string match substrings after the /

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365906#comment-16365906
 ] 

ASF GitHub Bot commented on DISPATCH-889:
-

GitHub user kgiusti opened a pull request:

https://github.com/apache/qpid-dispatch/pull/258

DISPATCH-889: fix the parse tree token string comparison

Backported from master

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/kgiusti/dispatch DISPATCH-889-1.0.1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/qpid-dispatch/pull/258.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 #258


commit 9dee49e959a4966cbb6536849bca9eab20644c57
Author: Kenneth Giusti 
Date:   2017-12-04T17:04:58Z

DISPATCH-889: fix the parse tree token string comparison

(cherry picked from commit e531e1cff723702952836d369d5d731679f121b9)




> linkRoute patterns beginning with #/string match substrings after the / 
> 
>
> Key: DISPATCH-889
> URL: https://issues.apache.org/jira/browse/DISPATCH-889
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Container
>Affects Versions: 1.0.0
>Reporter: Ernest Allen
>Assignee: Ken Giusti
>Priority: Major
> Fix For: 1.0.1
>
>
> linkRoutes with a pattern of #/policy match substrings of the word policy
> - 1. setup a router
> router {
> mode: standalone
> id: A
> }
> listener {
> host: 0.0.0.0
> port: 2
> role: normal
> saslMechanisms: ANONYMOUS
> }
> connector {
> name: policy-connector
> role: route-container
> host: 0.0.0.0
> port:  
> saslMechanisms: ANONYMOUS
> }
> linkRoute {
>pattern: #/policy
>dir: in
>   connection: policy-connector
> }
> - 2. start an acceptor on that host:port
> qpid-proton/examples/python/server_direct.py
> - 3. verify linkRoute is established
> qdstat -b 0.0.0.0:2 --linkroutes
> Link Routes
>   address   dir  distrib   status
>   =
>   #/policy  in   linkBalanced  active
> - 4. send some messages through the router
> addresses that should match
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/policy -m 1
>   -> message received at server_direct.py
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/ken-is-great/policy 
> -m 1
>   -> message received at server_direct.py
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/policy -m 1
>   -> message received at server_direct.py
> addresses that should not match
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/a -m 1
>   -> message NOT sent - this is the correct behavior 
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/p -m 1
>   -> message received at server_direct.py - this is a bug
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/poli -m 1
>   -> message received at server_direct.py - this is a bug



--
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-889) linkRoute patterns beginning with #/string match substrings after the /

2017-12-04 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16277173#comment-16277173
 ] 

ASF subversion and git services commented on DISPATCH-889:
--

Commit e531e1cff723702952836d369d5d731679f121b9 in qpid-dispatch's branch 
refs/heads/master from Kenneth Giusti
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=e531e1c ]

DISPATCH-889: fix the parse tree token string comparison


> linkRoute patterns beginning with #/string match substrings after the / 
> 
>
> Key: DISPATCH-889
> URL: https://issues.apache.org/jira/browse/DISPATCH-889
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Container
>Affects Versions: 1.0.0
>Reporter: Ernest Allen
>Assignee: Ken Giusti
> Fix For: 1.1.0
>
>
> linkRoutes with a pattern of #/policy match substrings of the word policy
> - 1. setup a router
> router {
> mode: standalone
> id: A
> }
> listener {
> host: 0.0.0.0
> port: 2
> role: normal
> saslMechanisms: ANONYMOUS
> }
> connector {
> name: policy-connector
> role: route-container
> host: 0.0.0.0
> port:  
> saslMechanisms: ANONYMOUS
> }
> linkRoute {
>pattern: #/policy
>dir: in
>   connection: policy-connector
> }
> - 2. start an acceptor on that host:port
> qpid-proton/examples/python/server_direct.py
> - 3. verify linkRoute is established
> qdstat -b 0.0.0.0:2 --linkroutes
> Link Routes
>   address   dir  distrib   status
>   =
>   #/policy  in   linkBalanced  active
> - 4. send some messages through the router
> addresses that should match
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/policy -m 1
>   -> message received at server_direct.py
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/ken-is-great/policy 
> -m 1
>   -> message received at server_direct.py
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/policy -m 1
>   -> message received at server_direct.py
> addresses that should not match
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/a -m 1
>   -> message NOT sent - this is the correct behavior 
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/bob.com/p -m 1
>   -> message received at server_direct.py - this is a bug
> qpid-proton/examples/python/simple_send -a 0.0.0.0:2/poli -m 1
>   -> message received at server_direct.py - this is a bug



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org