On 4 Aug 2016, at 16:54, John Mazzitelli wrote:
<operation-dmr name="Deploy" internal-name="deploy"/>
<operation-dmr name="Undeploy" internal-name="undeploy"/>
On the "Host Controller" resource (which is only in domain mode),
there are these same two operations defined.
So, you can deploy an application through the "WildFly Server"
(standalone mode) and "Host Controller" (domain mode) - you need to
pass in content when you do this, hence why DeployApplicationRequest
JSON has to be used.
But notice you can also undeploy an application through those top
level resources as well. You do this via UndeployApplicationRequest
JSON.
And this is where the problem starts. The above two look exactly
like
<operation-dmr name="Resume" internal-name="resume" />
There is no way to determine that the above Deploy and Undeploy
are not generic commands, but special ones, that can't be run
with this ExecuteOperationRequest, but need something special.
More later ... :)