I'm trying to deploy a web application on Wilfly 9 using the native management api. How does a correct request look like in that case? When using CLI, the command would be
$JBOSS_CLI --connect --command="deploy /path/to/war"
but it's not meeting the definition of the operation request syntax. I tried to deploy with a request
{
"address" => [("deployment" => "/path/to/war")],
"operation" => "deploy"
}
but get an error response back:
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0216: Management resource '[(\"deployment\" => \"/path/to/war\")]' not found",
"rolled-back" => true
}