Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4833

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR5
    • 7.0.1.CR1, 7.1.0.DR4
    • CLI
    • None

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

            olubyans@redhat.com Alexey Loubyansky
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: