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

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.

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