Petals ESB CLI

The command 'undeploy' MUST be secured

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0.0
  • Fix Version/s: None
  • Component/s: Command 'undeploy'
  • Security Level: Public
  • Description:
    Hide

    The command 'undeploy' used without parameter undeploys all services and components of the Petals node.

    Please add a confirmation to prevent typing error !

    $ ./petals-cli.sh undeploy
    Are you sure (Y/n) ?
    ...
    $ ./petals-cli.sh
    
    Type 'help' for help.
    ------------------------------------------------------------------------------
    petals-cli> undeploy
    Are you sure (Y/n) ?

    The confirmation can be unactivated if a 'yes' flag is set.

    $ ./petals-cli.sh -y undeploy
    ...
    $ ./petals-cli.sh -y
    
    Type 'help' for help.
    ------------------------------------------------------------------------------
    petals-cli> undeploy
    Show
    The command 'undeploy' used without parameter undeploys all services and components of the Petals node. Please add a confirmation to prevent typing error !
    $ ./petals-cli.sh undeploy
    Are you sure (Y/n) ?
    ...
    $ ./petals-cli.sh
    
    Type 'help' for help.
    ------------------------------------------------------------------------------
    petals-cli> undeploy
    Are you sure (Y/n) ?
    The confirmation can be unactivated if a 'yes' flag is set.
    $ ./petals-cli.sh -y undeploy
    ...
    $ ./petals-cli.sh -y
    
    Type 'help' for help.
    ------------------------------------------------------------------------------
    petals-cli> undeploy
  • Environment:
    -

Activity

Christophe DENEUX made changes - Thu, 1 Mar 2012 - 14:45:46 +0100
Field Original Value New Value
Priority Major [ 3 ]
Description The command 'undeploy' used without parameter undeploy all services and components of the Petals node.

Please add a confirmation to prevent typing error !
{code}
$ ./petals-cli.sh undeploy
Are you sure (Y/n) ?
...
$ ./petals-cli.sh

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy
Are you sure (Y/n) ?
{code}


The confirmation can be unactivated if a 'yes' flag is set.
{code}
$ ./petals-cli.sh -y undeploy
...
$ ./petals-cli.sh

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy -y
{code}


The command 'undeploy' used without parameter undeploy all services and components of the Petals node.

Please add a confirmation to prevent typing error !
{code}
$ ./petals-cli.sh undeploy
Are you sure (Y/n) ?
...
$ ./petals-cli.sh

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy
Are you sure (Y/n) ?
{code}


The confirmation can be unactivated if a 'yes' flag is set.
{code}
$ ./petals-cli.sh -y undeploy
...
$ ./petals-cli.sh -y

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy
{code}


Christophe DENEUX made changes - Wed, 21 Mar 2012 - 15:53:55 +0100
Assignee Christophe DENEUX [ cdeneux ]
Fix Version/s 2.0.0 [ 10332 ]
Description The command 'undeploy' used without parameter undeploy all services and components of the Petals node.

Please add a confirmation to prevent typing error !
{code}
$ ./petals-cli.sh undeploy
Are you sure (Y/n) ?
...
$ ./petals-cli.sh

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy
Are you sure (Y/n) ?
{code}


The confirmation can be unactivated if a 'yes' flag is set.
{code}
$ ./petals-cli.sh -y undeploy
...
$ ./petals-cli.sh -y

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy
{code}


The command 'undeploy' used without parameter undeploys all services and components of the Petals node.

Please add a confirmation to prevent typing error !
{code}
$ ./petals-cli.sh undeploy
Are you sure (Y/n) ?
...
$ ./petals-cli.sh

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy
Are you sure (Y/n) ?
{code}


The confirmation can be unactivated if a 'yes' flag is set.
{code}
$ ./petals-cli.sh -y undeploy
...
$ ./petals-cli.sh -y

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> undeploy
{code}


Hide
Mathieu Carrolle added a comment - Tue, 15 May 2012 - 17:03:03 +0200

An option is mandatory to allow this operation. Display a message is useless.

Show
Mathieu Carrolle added a comment - Tue, 15 May 2012 - 17:03:03 +0200 An option is mandatory to allow this operation. Display a message is useless.
Mathieu Carrolle made changes - Tue, 15 May 2012 - 17:03:03 +0200
Resolution Won't Fix [ 2 ]
Status New [ 10000 ] Resolved [ 10004 ]
Assignee Mathieu Carrolle [ mcarrolle ]
Fix Version/s 2.0.0 [ 10332 ]
Christophe DENEUX made changes - Thu, 20 Sep 2012 - 16:59:57 +0200
Component/s Command 'undeploy' [ 10235 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Resolved Resolved
76d 22h 44m
1
Mathieu Carrolle
Tue, 15 May 2012 - 17:03:03 +0200

People

Dates

  • Created:
    Tue, 28 Feb 2012 - 17:18:37 +0100
    Updated:
    Thu, 20 Sep 2012 - 16:59:57 +0200
    Resolved:
    Tue, 15 May 2012 - 17:03:03 +0200