[jboss-as7-dev] Deployment terms in CLI
Alexey Loubyansky
alexey.loubyansky at redhat.com
Wed Jun 22 07:18:47 EDT 2011
Just re-naming the current deploy command to upload doesn't sound nice
to me.
Because the command actually deploys the package (unless you add
--disabled). So, it's as clear as it can be.
Renaming just to match an operation name doesn't justify it for me in
this case. It may also do a full-replace if --force is specified, btw.
So, if we were to re-name the command we would have to review the
arguments too.
Would 'upload' enable by default? Or it would only if --enable is
specified (with server groups in the domain mode)?
Should enable be a separate command? Which would accept server groups,
etc? This would mean two commands instead of one to actually deploy an app.
What would "undeploy" be renamed to? "remove" seems to be too general.
unload? remove-deployment?
Alexey
On 06/22/2011 10:46 AM, Heiko Braun wrote:
>
>
> The deployment terms are really messed up in the CLI.
> I.e. the command is named "deploy <foo.bar>", but at the same time an
> operation exists on the deployment to "deploy" (aka enable) it:
>
> [domain at localhost:9999 /] deploy ~/Desktop/test-application.war --all-server-groups
>
>
> [domain at localhost:9999 /] /server-group=main-server-group/deployment=test-application.war:deploy
>
>
> I would suggest we align these terms with WIKI page:
> http://community.jboss.org/wiki/AS7DeploymentTerms
>
> This would mean to rename the command to "upload" and the operation to
> "enable".
> Whatever we chose, we need to remove the ambiguity.
>
> Ike
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list