[jboss-jira] [JBoss JIRA] (WFLY-9409) mapping runtime attribute of undertow returns different type than described in r-r-d
Michal Petrov (JIRA)
issues at jboss.org
Thu Oct 5 09:59:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-9409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Petrov reassigned WFLY-9409:
-----------------------------------
Assignee: Michal Petrov (was: Stuart Douglas)
> mapping runtime attribute of undertow returns different type than described in r-r-d
> ------------------------------------------------------------------------------------
>
> Key: WFLY-9409
> URL: https://issues.jboss.org/browse/WFLY-9409
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Reporter: Claudio Miranda
> Assignee: Michal Petrov
> Priority: Minor
>
> there is a "mappings" runtime attribute on undertow subsystem at
> /host=master/server=server-one/deployment=batch-processing.war/subsystem=undertow/servlet=*:read-resource-description
> It reports as a LIST of STRING
> {code}
> "mappings" => {
> "type" => LIST,
> "description" => "Servlet mappings",
> "expressions-allowed" => false,
> "required" => false,
> "nillable" => true,
> "min-length" => 0L,
> "max-length" => 2147483647L,
> "value-type" => STRING,
> "access-type" => "metric",
> "storage" => "runtime"
> },
> {code}
> But the read-resource returns a INT
> {code}
> /host=master/server=server-one/deployment=helloworld.war/subsystem=undertow/servlet=*:read-resource(include-runtime)
> {
> "outcome" => "success",
> "result" => [{
> "address" => [
> ("host" => "master"),
> ("server" => "server-one"),
> ("deployment" => "helloworld.war"),
> ("subsystem" => "undertow"),
> ("servlet" => "org.jboss.as.quickstarts.helloworld.HelloWorldServlet")
> ],
> "outcome" => "success",
> "result" => {
> "mappings" => 0,
> "max-request-time" => 0,
> "min-request-time" => 0,
> "request-count" => 0,
> "servlet-class" => "org.jboss.as.quickstarts.helloworld.HelloWorldServlet",
> "servlet-name" => "org.jboss.as.quickstarts.helloworld.HelloWorldServlet",
> "total-request-time" => 0
> }
> }]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list