Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9409

mapping runtime attribute of undertow returns different type than described in r-r-d

    Details

      Description

      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

      "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"
      },
      

      But the read-resource returns a INT

      /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
              }
          }]
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                claudio4j Claudio Miranda
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: