anonymous wrote : I need to look more at the DeploymentManager API; sounds like that's
where ability to do things like "running the deployments across the cluster to the
DeploymentStages.DESCRIBE phase" will be exposed.
The current DeploymentManager SPI of distribute/start/redeploy/stop/undeploy doesn't
expose a method to let a client bring a deployment to DESCRIBE or PRE_REAL. Were you
thinking in terms of adding such a method, e.g. a
| /**
| * Bring a previously distributed deployment through the DESCRIBE stage.
| * @param name
| * @param phase
| * @return
| * @throws Exception
| */
| public DeploymentProgress describe(String name, DeploymentPhase phase)
| throws Exception;
Another possibility is this step can be an internal detail of DeploymentManager.start()
and redeploy, i.e. DeployHandler.invoke() could handle a "describe" invocation.
In that case, an impl of DeploymentProgress would handle the coordination task by looping
through the targets and calling "describe", "start" etc. on the
DeployHandler.
A problem with all of this is a DeploymentProgress instance in a remote would have no way
to know about cluster topology changes that occur in the middle of an operation (e.g. new
node joins in the middle of a deploy; that node never gets the update).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153802#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...