[jboss-jira] [JBoss JIRA] (WFLY-100) jboss-admin.sh accepts crazy values for :add-proxy()
Jason Greene (JIRA)
jira-events at lists.jboss.org
Thu Jul 18 01:12:05 EDT 2013
[ https://issues.jboss.org/browse/WFLY-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene updated WFLY-100:
------------------------------
Fix Version/s: 8.0.0.Beta1
(was: 8.0.0.Alpha3)
> jboss-admin.sh accepts crazy values for :add-proxy()
> ----------------------------------------------------
>
> Key: WFLY-100
> URL: https://issues.jboss.org/browse/WFLY-100
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Environment: modcluster subsystem of AS 7.1 trunk
> Reporter: Misty Stanley-Jones
> Assignee: Jean-Frederic Clere
> Priority: Minor
> Fix For: 8.0.0.Beta1
>
>
> I am allowed to use all of these kinds of syntax with :add-proxy():
> [domain at localhost:9999 subsystem=modcluster] :add-proxy(host=abc.com,port=123)
> {
> "outcome" => "success",
> "result" => {
> "domain-results" => {"step-1" => undefined},
> "server-operations" => [{
> "servers" => [],
> "operation" => {
> "address" => [("subsystem" => "modcluster")],
> "operation" => "add-proxy",
> "port" => 123,
> "host" => "abc.com",
> "operation-headers" => {"execute-for-coordinator" => true}
> }
> }]
> }
> }
> [domain at localhost:9999 subsystem=modcluster] :add-proxy(host=def.com)
> {
> "outcome" => "success",
> "result" => {
> "domain-results" => {"step-1" => undefined},
> "server-operations" => [{
> "servers" => [],
> "operation" => {
> "address" => [("subsystem" => "modcluster")],
> "operation" => "add-proxy",
> "host" => "def.com",
> "operation-headers" => {"execute-for-coordinator" => true}
> }
> }]
> }
> }
> [domain at localhost:9999 subsystem=modcluster] :add-proxy(port=999)
> {
> "outcome" => "success",
> "result" => {
> "domain-results" => {"step-1" => undefined},
> "server-operations" => [{
> "servers" => [],
> "operation" => {
> "address" => [("subsystem" => "modcluster")],
> "operation" => "add-proxy",
> "port" => 999,
> "operation-headers" => {"execute-for-coordinator" => true}
> }
> }]
> }
> }
> I think only the first one should be valid.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list