Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1758

CLI usability: operations need convenient help option too

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Critical
    • 7.1.1.Final
    • 7.0.0.Final, 7.0.1.Final
    • CLI

    Description

      This is a critical usability issue. We must provide a way to get help about operations usage too. Its difficult to comprehend how to use operations from this model:

      [domain@localhost:9999 /] :read-operation-description(name="upload-deployment-url")
      {
          "outcome" => "success",
          "result" => {
              "operation-name" => "upload-deployment-url",
              "description" => "Indicates that the deployment content available at the included URL should be added to the deployment content repository. Note that this operation does not indicate the content should be deployed into the runtime.",
              "request-properties" => {"url" => {
                  "type" => STRING,
                  "description" => "The URL at which the deployment content is available for upload to the domain's or standalone server's deployment content repository.. Note that the URL must be accessible from the target of the operation (i.e. the Domain Controller or standalone server).",
                  "required" => true,
                  "min-length" => 1,
                  "nillable" => false
              }},
              "reply-properties" => {
                  "type" => BYTES,
                  "description" => "The hash of managed deployment content that has been uploaded to the domain's or standalone server's deployment content repository.",
                  "min-length" => 20,
                  "max-length" => 20,
                  "nillable" => false
              }
          }
      }
      [domain@localhost:9999 /]  
      

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: