]
Brian Stansberry reassigned WFCORE-3347:
----------------------------------------
Assignee: (was: Brian Stansberry)
There's a fair amount of reusing the same AttributeDefinition instances for different
bits of the deployment management API, so I'm not surprised little inconsistencies
like this creep in.
add-content operation of deployment resource contains alternative
attributes that doesn't exist
-----------------------------------------------------------------------------------------------
Key: WFCORE-3347
URL:
https://issues.jboss.org/browse/WFCORE-3347
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Claudio Miranda
Priority: Minor
add-content operation contains "content" attribute,
{code}
/deployment=*:read-operation-description(name=add-content)
{code}
"content" attribute it is a list of other attributes as: input-stream-index,
hash, bytes, url. They themselves contains the alternatives metadata as
{code}
"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
},
{code}
But the following attributes doesn't exist: path, relative-to, empty