[jboss-jira] [JBoss JIRA] (WFCORE-3062) Access constraints are not displayed for value types contained in ObjectTypeAttributeDefinition

Stefan Guilhen (JIRA) issues at jboss.org
Wed Jul 12 14:48:00 EDT 2017


Stefan Guilhen created WFCORE-3062:
--------------------------------------

             Summary: Access constraints are not displayed for value types contained in ObjectTypeAttributeDefinition
                 Key: WFCORE-3062
                 URL: https://issues.jboss.org/browse/WFCORE-3062
             Project: WildFly Core
          Issue Type: Bug
    Affects Versions: 3.0.0.Beta28
            Reporter: Stefan Guilhen


When reading the description of attributes of type OBJECT, the access constraints of the value types contained in the object attribute are not displayed.

Example: In BaseHttpInterfaceResourceDefinition we have an http-upgrade attribute of type OBJECT that contains the sasl-authentication-factory attribute, which is a simple attribute with an access constraint.

When running /core-service=management/management-interface=http-interface:read-resource-description(recursive=true) in the CLI the constraint is not displayed for the attribute:

{quote}
            "http-upgrade" => {
                "type" => OBJECT,
                "description" => "HTTP Upgrade specific configuration",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "value-type" => {
                    "enabled" => {
                        "type" => BOOLEAN,
                        "description" => "Flag that indicates HTTP Upgrade is enabled, which allows HTTP requests to be upgraded to native remoting connections",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "default" => false
                    },
                    "sasl-authentication-factory" => {
                        "type" => STRING,
                        "description" => "The server side SASL authentication policy to use to secure the interface where the connection is after a HTTP upgrade.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "capability-reference" => "org.wildfly.security.sasl-authentication-factory",
                        "min-length" => 1L,
                        "max-length" => 2147483647L,
                    }
                },
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },

{quote}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list