]
Chao Wang reassigned WFCORE-2797:
---------------------------------
Assignee: Chao Wang (was: David Lloyd)
http-remoting-connector attributes wrongly declared as
"restart-required" => "no-services"
------------------------------------------------------------------------------------------
Key: WFCORE-2797
URL:
https://issues.jboss.org/browse/WFCORE-2797
Project: WildFly Core
Issue Type: Bug
Components: Remoting
Reporter: Martin Choma
Assignee: Chao Wang
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"}}
{code}
[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"}
}
{code}
[1]
https://docs.jboss.org/author/display/WFLY10/Description+of+the+Managemen...