Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10867

http-remoting-connector attributes wrongly declared as "restart-required" => "no-services"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.CD12
    • 7.1.0.DR18
    • Remoting
    • None
    • Hide
      [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=sasl-authentication-factory,value=application-sasl-authentication)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      
      [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=security-realm,value=ApplicationRealm)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      
      [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=server-name,value=localhost.localdomain)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      
      [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=sasl-protocol,value=some_protocol)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      
      [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=authentication-provider,value=asfd)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      
      Show
      [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=sasl-authentication-factory,value=application-sasl-authentication) { "outcome" => "success" , "response-headers" => { "operation-requires-reload" => true , "process-state" => "reload-required" } } [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=security-realm,value=ApplicationRealm) { "outcome" => "success" , "response-headers" => { "operation-requires-reload" => true , "process-state" => "reload-required" } } [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=server-name,value=localhost.localdomain) { "outcome" => "success" , "response-headers" => { "operation-requires-reload" => true , "process-state" => "reload-required" } } [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=sasl-protocol,value=some_protocol) { "outcome" => "success" , "response-headers" => { "operation-requires-reload" => true , "process-state" => "reload-required" } } [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:write-attribute(name=authentication-provider,value=asfd) { "outcome" => "success" , "response-headers" => { "operation-requires-reload" => true , "process-state" => "reload-required" } }

      Changing http-remoting-connector leads to reload required state. But all attributes are marked as "restart-required" => "no-services" in model. Based on documentation [1] I think they should be rather "restart-required" => "resource-services"

      [standalone@localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector:read-resource-description
      {
          "outcome" => "success",
          "result" => {
              "description" => "The configuration of a HTTP Upgrade based Remoting connector.",
              "capabilities" => [{
                  "name" => "org.wildfly.remoting.http-connector",
                  "dynamic" => true
              }],
              "attributes" => {
                  "authentication-provider" => {
                      "type" => STRING,
                      "description" => "The \"authentication-provider\" element contains the name of the authentication provider to use for incoming connections.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {"remoting-security" => {"type" => "remoting"}}},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "connector-ref" => {
                      "type" => STRING,
                      "description" => "The name (or names) of a connector in the Undertow subsystem to connect to.",
                      "expressions-allowed" => false,
                      "required" => true,
                      "nillable" => false,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "sasl-authentication-factory" => {
                      "type" => STRING,
                      "description" => "Reference to the SASL authentication factory to use for this connector.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "nil-significant" => true,
                      "capability-reference" => "org.wildfly.security.sasl-authentication-factory",
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {"authentication-factory-ref" => {"type" => "core"}}},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "sasl-protocol" => {
                      "type" => STRING,
                      "description" => "The protocol to pass into the SASL mechanisms used for authentication.",
                      "expressions-allowed" => true,
                      "required" => false,
                      "nillable" => true,
                      "default" => "remote",
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {"remoting-security" => {"type" => "remoting"}}},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "security-realm" => {
                      "type" => STRING,
                      "description" => "The associated security realm to use for authentication for this connector.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {
                          "security-realm-ref" => {"type" => "core"},
                          "remoting-security" => {"type" => "remoting"}
                      }},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "server-name" => {
                      "type" => STRING,
                      "description" => "The server name to send in the initial message exchange and for SASL based authentication.",
                      "expressions-allowed" => true,
                      "required" => false,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {"remoting-security" => {"type" => "remoting"}}},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  }
              },
              "operations" => undefined,
              "notifications" => undefined,
              "children" => {
                  "security" => {
                      "description" => "Configuration of security for this connector.",
                      "model-description" => undefined
                  },
                  "property" => {
                      "description" => "Properties to further configure the connector.",
                      "model-description" => undefined
                  }
              }
          },
          "response-headers" => {"process-state" => "reload-required"}
      }
      

      [1] https://docs.jboss.org/author/display/WFLY10/Description+of+the+Management+Model#DescriptionoftheManagementModel-applyingruntimeupdates

              chaowan@redhat.com Chao Wang
              mchoma@redhat.com Martin Choma
              Michal Jurc Michal Jurc
              Michal Jurc Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: