Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6782

Unable to add JGroups protocol at a given index via CLI

    XMLWordPrintable

    Details

      Description

      Unable to use this via CLI, tests pass since they use management client which won't check against the operation description:

      [standalone@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]
      

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

      [standalone@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
                  },
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhusar Radoslav Husar
                  Reporter:
                  rhusar Radoslav Husar
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: