[
https://issues.apache.org/jira/browse/DISPATCH-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326525#comment-16326525
]
ASF GitHub Bot commented on DISPATCH-907:
-----------------------------------------
GitHub user ganeshmurthy opened a pull request:
https://github.com/apache/qpid-dispatch/pull/242
DISPATCH-907 - Added code to qdmanage to handle integer types
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-907
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/242.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 #242
----
commit d2839c7bfa96e014fba9d0bb6c7ac423d30e2c43
Author: Ganesh Murthy <gmurthy@...>
Date: 2018-01-15T19:09:49Z
DISPATCH-907 - Added code to qdmanage to handle integer types
----
> cannot set address phase via qdmanage tool
> ------------------------------------------
>
> Key: DISPATCH-907
> URL: https://issues.apache.org/jira/browse/DISPATCH-907
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.0.0
> Reporter: Ken Giusti
> Assignee: Ganesh Murthy
> Priority: Major
> Fix For: 1.1.0
>
>
> Attempting to configure a router address via qdmanage fails to set the value
> of the phase attributes:
> $ qdmanage create --type "org.apache.qpid.dispatch.router.config.address"
> pattern="a.b.#" ingressPhase=5 egressPhase=6
> {
> "name": null,
> "pattern": "a.b.#",
> "prefix": null,
> "ingressPhase": 0, <--- should be 5
> "waypoint": false,
> "distribution": "balanced",
> "type": "org.apache.qpid.dispatch.router.config.address",
> "identity": "35",
> "egressPhase": 0 <--- should be 6
> This is due to qdmanage sending all attribute values as *string* types even
> in the case where the schema defines them as integer types. This means
> qdmanage cannot be used to manage any integer type attribute.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]