Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1625

Operation description is not complete in :read-resource-description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha3
    • 3.0.0.Alpha2
    • Management
    • None

      The ouput of :read-resource-description is missing some metadata for operations compared to :read-operation-description:

      [domain@localhost:9990 /] /profile=default:read-resource-description(operations=true)
      {
          "outcome" => "success",
          "result" => {
              "description" => "A named set of subsystem configurations.",
              ...
              "operations" => {
                  ...
                  "read-attribute-group-names" => {
                      "operation-name" => "read-attribute-group-names",
                      "description" => "Gets the names of all the attribute groups under the selected resource",
                      "request-properties" => {},
                      "reply-properties" => {
                          "type" => LIST,
                          "value-type" => STRING
                      }
                  },
                  ...
      }
      [domain@localhost:9990 /] /profile=default:read-operation-description(name=read-attribute-group-names)
      {
          "outcome" => "success",
          "result" => {
              "operation-name" => "read-attribute-group-names",
              "description" => "Gets the names of all the attribute groups under the selected resource",
              "request-properties" => {},
              "reply-properties" => {
                  "type" => LIST,
                  "value-type" => STRING
              },
              "read-only" => true,
              "runtime-only" => true
          }
      }
      

      At least read-only and runtime-only metadata are missing (when they are set on the operation).

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: