Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4938

CLI getVDB operation domain mode - result of the operation is not in "result" element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 9.3, 8.12.10.6_3
    • None
    • None

      If user reads status of VDB in domain mode, result of the operation is not written in the "result" attribute, but in separate attribute. Executing same operation in standalone mode, result is in "result" element.

      Domain mode result
      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      [domain@localhost:9990 /] /profile=full/subsystem=teiid:get-vdb(...)
      {
          "outcome" => "success",
          "result" => undefined,
          "server-groups" => {"main-server-group" => {"host" => {"master" => {
              "server-one" => {"response" => {
                  "outcome" => "success",
                  "result" => {...
                  }
              }},
              "server-two" => {"response" => {
                  "outcome" => "success",
                  "result" => {...
                  }
              }}
          }}}}
      }
      
      Standalone mode result
      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      [standalone@localhost:9990 /] /subsystem=teiid:get-vdb(...)
      {
          "outcome" => "success",
          "result" => {...
          }
      }
      

            rhn-engineering-shawkins Steven Hawkins
            jdurani Juraj DurĂ¡ni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: