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

Unable to add JGroups protocol at a given index via CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.1.0.CR1, 10.1.0.Final
    • 8.2.1.Final, 9.0.2.Final, 10.0.0.Final
    • Clustering
    • None

      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
                  },
      

            rhn-engineering-rhusar Radoslav Husar
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: