dev@glassfish.java.net

Re: request for documentation on how to implement a hidden CLI

From: Joseph Fialli <joe.fialli_at_oracle.com>
Date: Thu, 14 Oct 2010 11:13:28 -0400

  Comment inline below.

On 10/13/10 3:56 PM, Bill Shannon wrote:
> Joseph Fialli wrote on 10/13/10 10:36 AM:
>> I need to implement a hidden CLI for the following gf issue.
>>
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=13546
>
> Are the values that will be returned by this command also values that
> can be specified for another (non-hidden) command? If so, there's no
> reason for this command to be hidden.
>
> list-persistence-types --type web|ejb
These values would be legal values to following properties that can be
set via "asadmin set" command.

configs.config.default-config.availability-service.web-container-availability.persistence-type=replicated
configs.config.default-config.availability-service.ejb-container-availability.sfsb-persistence-type=file

configs.config.myCluster-config.availability-service.web-container-availability.persistence-type=replicated
configs.config.myCluster-config.availability-service.ejb-container-availability.sfsb-persistence-type=file

So I will not make this command a hidden CLI.

-Joe
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>