[jboss-jira] [JBoss JIRA] (WFLY-6782) Unable to add JGroups protocol at a given index via CLI

Radoslav Husar (JIRA) issues at jboss.org
Mon Jun 27 17:12:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar updated WFLY-6782:
---------------------------------
    Description: 
Unable to use this via CLI, tests pass since they use management client which won't check against  the operation description:
{noformat}
[standalone at localhost:9990 /] /subsystem=jgroups/stack=tcp/protocol=JDBC_PING:add(add-index=4)
'add-index' is not found among the supported properties: [socket-binding, module, properties, type]
{noformat}

add index is missing in the description, after the fix:

{noformat}
[standalone at localhost:9990 /] /subsystem=jgroups/stack=tcp/protocol=MPING:read-operation-description(name=add
{
    "outcome" => "success",
    "result" => {
        "operation-name" => "add",
        "description" => "Add a protocol to a protocol stack.",
        "request-properties" => {
            "add-index" => {
                "type" => INT,
                "description" => "If specified inserts the protocol at the given (zero-based) index. If null it will add at the end.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true
            },
{noformat}


> Unable to add JGroups protocol at a given index via CLI
> -------------------------------------------------------
>
>                 Key: WFLY-6782
>                 URL: https://issues.jboss.org/browse/WFLY-6782
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>
> Unable to use this via CLI, tests pass since they use management client which won't check against  the operation description:
> {noformat}
> [standalone at localhost:9990 /] /subsystem=jgroups/stack=tcp/protocol=JDBC_PING:add(add-index=4)
> 'add-index' is not found among the supported properties: [socket-binding, module, properties, type]
> {noformat}
> add index is missing in the description, after the fix:
> {noformat}
> [standalone at localhost:9990 /] /subsystem=jgroups/stack=tcp/protocol=MPING:read-operation-description(name=add
> {
>     "outcome" => "success",
>     "result" => {
>         "operation-name" => "add",
>         "description" => "Add a protocol to a protocol stack.",
>         "request-properties" => {
>             "add-index" => {
>                 "type" => INT,
>                 "description" => "If specified inserts the protocol at the given (zero-based) index. If null it will add at the end.",
>                 "expressions-allowed" => false,
>                 "required" => false,
>                 "nillable" => true
>             },
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list