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

CLI gui returns null for specific command with access-control parameter while console CLI returns valid result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Alpha8
    • None
    • CLI
    • None

    Description

      I tried to click through CLI GUI, particullary interested in webservices subsystem.
      I navigated through the tree into /subsystem=webservices/endpoint-config=*, right-click and chose ead-resource-description.

      It generated this command, but after executing through GUI, it returns null:

      /subsystem=webservices/endpoint-config=*/:read-resource-description(recursive=false,access-control=none)
      null
      

      The same command in console CLI return valid resut:

      [standalone@localhost:9990 /] /subsystem=webservices/endpoint-config=*/:read-resource-description(recursive=false,access-control=none)
      {
          "outcome" => "success",
          "result" => [{
              "address" => [
                  ("subsystem" => "webservices"),
                  ("endpoint-config" => "*")
              ],
              "outcome" => "success",
              "result" => {
                  "description" => "Webservice endpoint configuration",
                  "attributes" => {},
                  "operations" => undefined,
                  "notifications" => undefined,
                  "children" => {
                      "pre-handler-chain" => {
                          "description" => "Pre handler chain",
                          "model-description" => undefined
                      },
                      "post-handler-chain" => {
                          "description" => "Post handler chain",
                          "model-description" => undefined
                      },
                      "property" => {
                          "description" => "Configuration property",
                          "model-description" => undefined
                      }
                  }
              }
          }]
      }
      
      

      The problem seems to be related to the access-control=none parameter, because without it both GUI and console return the same valid result

      /subsystem=webservices/endpoint-config=*/:read-resource-description(recursive=false)
      {
          "outcome" => "success",
          "result" => [{
              "address" => [
                  ("subsystem" => "webservices"),
                  ("endpoint-config" => "*")
              ],
              "outcome" => "success",
              "result" => {
                  "description" => "Webservice endpoint configuration",
                  "attributes" => {},
                  "operations" => undefined,
                  "notifications" => undefined,
                  "children" => {
                      "pre-handler-chain" => {
                          "description" => "Pre handler chain",
                          "model-description" => undefined
                      },
                      "post-handler-chain" => {
                          "description" => "Post handler chain",
                          "model-description" => undefined
                      },
                      "property" => {
                          "description" => "Configuration property",
                          "model-description" => undefined
                      }
                  }
              }
          }]
      }
      

      Attachments

        Issue Links

          Activity

            People

              olubyans@redhat.com Alexey Loubyansky
              olubyans@redhat.com Alexey Loubyansky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: