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:
    -

Activity

Christophe DENEUX made changes - Thu, 1 Mar 2012 - 17:59:07 +0100
Field Original Value New Value
Priority Blocker [ 1 ]
Description 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':
{code}
> ./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 <user2>:<password2>@<host2>:<port2>
Conected on <host2>:<port2> with <user2>
{code}
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:
{code}
> ./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'
{code}
Christophe DENEUX made changes - Wed, 21 Mar 2012 - 15:49:07 +0100
Assignee Christophe DENEUX [ cdeneux ]
Fix Version/s 2.0.0 [ 10332 ]
Priority Blocker [ 1 ] Major [ 3 ]
Mathieu Carrolle made changes - Wed, 9 May 2012 - 10:57:55 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ] Minor [ 4 ]
Mathieu Carrolle made changes - Wed, 9 May 2012 - 10:57:59 +0200
Assignee Mathieu Carrolle [ mcarrolle ]
Mathieu Carrolle made changes - Wed, 9 May 2012 - 10:58:02 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Mathieu Carrolle made changes - Wed, 9 May 2012 - 10:58:07 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Thu, 20 Sep 2012 - 16:53:45 +0200
Component/s Command 'connect' [ 10222 ]

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