Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-229

Configuring JGroups encryption protocols produces deprecated configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • OpenShift
    • None

      Any S2I configuration of ping protocols utilising encryption for protocols will result in deprecated configuration. S2I should not configure runtime to deprecated configuration by default, unless the user chooses to.

      Example JGroups ASYM_ENCRYPT configuration
      [standalone@localhost:9990 /] /subsystem=jgroups/stack=tcp/protocol=org.jgroups.protocols.ASYM_ENCRYPT:read-resource-description
      {
          "outcome" => "success",
          "result" => {
              "description" => "The configuration of a protocol within a protocol stac
      k.",
              "capabilities" => [{
                  "name" => "org.wildfly.clustering.jgroups.protocol",
                  "dynamic" => true,
                  "dynamic-elements" => [
                      "stack",
                      "protocol"
                  ]
              }],
              "deprecated" => {
                  "since" => "5.0.0",
                  "reason" => "Deprecated. Use protocol=ASYM_ENCRYPT instead."
              },
              "attributes" => {
                  "module" => {
                      "type" => STRING,
                      "description" => "The module with which to resolve the protocol 
      type.",
                      "expressions-allowed" => true,
                      "required" => false,
                      "nillable" => true,
                      "default" => "org.jgroups",
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "resource-services"
                  },
                  "properties" => {
                      "type" => OBJECT,
                      "description" => "The properties of this protocol.",
                      "expressions-allowed" => true,
                      "required" => false,
                      "nillable" => true,
                      "value-type" => STRING,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "resource-services"
                  },
                  "socket-binding" => {
                      "type" => STRING,
                      "description" => "Defines the bind address/port used of the serv
      er socket used to receive messages from other cluster members.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "deprecated" => {
                          "since" => "5.0.0",
                          "reason" => "Deprecated.  Supports EAP 7.0 slaves."
                      },
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "statistics-enabled" => {
                      "type" => BOOLEAN,
                      "description" => "Indicates whether or not this protocol will co
      llect statistics overriding stack configuration.",
                      "expressions-allowed" => true,
                      "required" => false,
                      "nillable" => true,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "resource-services"
                  }
              },
              "operations" => undefined,
              "notifications" => undefined,
              "children" => {"property" => {
                  "description" => "A JGroups protocol property.",
                  "model-description" => undefined
              }}
          }
      }
      

              yborgess1@redhat.com Yeray Borges Santana
              mjurc@redhat.com Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: