[wildfly-dev] How to add deployment information

Claudio Miranda claudio at claudius.com.br
Thu Oct 10 14:59:53 EDT 2013


On Thu, Oct 10, 2013 at 5:28 AM, Harald Pehl <hpehl at redhat.com> wrote:
> When displaying data about the deployments we rely on the information
> provided by the management API. For standalone mode this is the node
> "/deployment=<deployment-name>"

This also works for domain mode. results are

/deployment=JSF-tasks.war:read-resource
{
    "outcome" => "success",
    "result" => {
        "content" => [{"hash" => bytes {
            0x32, 0x71, 0x57, 0x02, 0xe3, 0xe2, 0x8f, 0x3a,
            0xff, 0x5a, 0xab, 0x09, 0x9a, 0xef, 0xfa, 0x8e,
            0x51, 0xf5, 0x38, 0xaa
        }}],
        "name" => "JSF-tasks.war",
        "runtime-name" => "JSF-tasks.war"
    }
}




> and for domain
> "/host=<host-name>/server=<server-name>/deployment=<deployment-name>/".

Is there a way to know which server groups are assigned to a deployment ?

Something like the
/deployment=JSF-tasks.war:read-resource

could return the list of server groups ?


-- 
  Claudio Miranda

claudio at claudius.com.br
http://www.claudius.com.br


More information about the wildfly-dev mailing list