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

add-content operation of deployment resource contains alternative attributes that doesn't exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.0.0.Alpha3
    • None
    • Management
    • None

      add-content operation contains "content" attribute,

      /deployment=*:read-operation-description(name=add-content)
      

      "content" attribute it is a list of other attributes as: input-stream-index, hash, bytes, url. They themselves contains the alternatives metadata as

      "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).",
          "expressions-allowed" => false,
          "required" => false,
          "nillable" => true,
          "alternatives" => [
              "input-stream-index",
              "hash",
              "bytes",
              "path",
              "relative-to",
              "empty"
          ],
          "min-length" => 1L,
          "max-length" => 2147483647L
      },
      

      But the following attributes doesn't exist: path, relative-to, empty

              chaowan@redhat.com Chao Wang
              cmiranda@redhat.com Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: