Petals ESB CLI

We should be able to change the connection to a remote Petals node without exiting Petals CLI

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 2.0.0
  • Component/s: Command 'connect'
  • Security Level: Public
  • Description:
    Hide

    In interactive mode or script mode, we should be able to close a connection and open another one without leaving Petals CLI.

    Please add both commands 'close' and 'open'. If no argument is set on command 'open', default values (localhost:7700, login=petals, pwd=petals) are used:

    > ./petals-cli.sh -C
    
    Type 'help' for help.
    ------------------------------------------------------------------------------
    petals-cli> open <user1>:<password1>@<host1>:<port1>
    Conected on <host1>:<port1> with '<user1>'
    petals-cli> close
    petals-cli> open
    Conected on localhost:7700 with 'petals'
    Show
    In interactive mode or script mode, we should be able to close a connection and open another one without leaving Petals CLI. Please add both commands 'close' and 'open'. If no argument is set on command 'open', default values (localhost:7700, login=petals, pwd=petals) are used:
    > ./petals-cli.sh -C
    
    Type 'help' for help.
    ------------------------------------------------------------------------------
    petals-cli> open <user1>:<password1>@<host1>:<port1>
    Conected on <host1>:<port1> with '<user1>'
    petals-cli> close
    petals-cli> open
    Conected on localhost:7700 with 'petals'
  • Environment:
    -

People

Dates

  • Created:
    Thu, 1 Mar 2012 - 17:52:57 +0100
    Updated:
    Thu, 20 Sep 2012 - 16:53:45 +0200
    Resolved:
    Wed, 9 May 2012 - 10:58:07 +0200