Petals ESB CLI

The command 'undeploy' is not clear when used to undeploy a given version of a shared library

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.4
  • Fix Version/s: 2.2.0
  • Component/s: Command 'undeploy'
  • Security Level: Public
  • Description:
    Hide

    The command undeploy and its arguments are not clear to undeploy a given version of a shared library.
    We must used an artifact name including the version that is not clear:

    petals-cli@localhost:7700>undeploy -a petals-sl-mysql-5.1.10-1.0.0

    It should be better to have a dedicated argument to define the version:

    petals-cli@localhost:7700>undeploy -a petals-sl-mysql-5.1.10 -v 1.0.0

    And an error occurs if no version is given to undeploy a shared library having several versions installed.

    Show
    The command undeploy and its arguments are not clear to undeploy a given version of a shared library. We must used an artifact name including the version that is not clear:
    petals-cli@localhost:7700>undeploy -a petals-sl-mysql-5.1.10-1.0.0
    It should be better to have a dedicated argument to define the version:
    petals-cli@localhost:7700>undeploy -a petals-sl-mysql-5.1.10 -v 1.0.0
    And an error occurs if no version is given to undeploy a shared library having several versions installed.
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Tue, 20 Jan 2015 - 09:51:19 +0100
Field Original Value New Value
Link This issue depends on PETALSESBCONT-314 [ PETALSESBCONT-314 ]
Christophe DENEUX made changes - Tue, 20 Jan 2015 - 09:54:02 +0100
Priority Major [ 3 ]
Description The command {{show}} and its arguments are not clear if used with a container having several versions of a shared library installed.
We must used an artifact name including the version that is not clear:
{code}
petals-cli@localhost:7700>show -a petals-sl-mysql-5.1.10-1.0.0
Identifier:petals-sl-mysql-5.1.10-1.0.0
Version:Not available
{code}

It should be better to have a dedicated argument to define the version:
{code}
petals-cli@localhost:7700>show -a petals-sl-mysql-5.1.10 -v 1.0.0
Identifier:petals-sl-mysql-5.1.10
Version:1.0.0
{code}
The command {{undeploy}} and its arguments are not clear to undeploy a given version of a shared library.
We must used an artifact name including the version that is not clear:
{code}
petals-cli@localhost:7700>undeploy -a petals-sl-mysql-5.1.10-1.0.0
{code}

It should be better to have a dedicated argument to define the version:
{code}
petals-cli@localhost:7700>undeploy -a petals-sl-mysql-5.1.10 -v 1.0.0
{code}

And an error occurs if no version is given to undeploy a shared library having several versions installed.
Component/s Command 'undeploy' [ 10235 ]
Component/s Command 'show' [ 10229 ]
Christophe DENEUX made changes - Tue, 20 Jan 2015 - 09:54:13 +0100
Status New [ 10000 ] Open [ 10002 ]
Christophe DENEUX made changes - Tue, 20 Jan 2015 - 09:54:15 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Tue, 20 Jan 2015 - 15:22:47 +0100

Improved in trunk, svn#36699

Show
Christophe DENEUX added a comment - Tue, 20 Jan 2015 - 15:22:47 +0100 Improved in trunk, svn#36699
Christophe DENEUX made changes - Tue, 20 Jan 2015 - 15:22:48 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.2.0 [ 10404 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2m 54s
1
Christophe DENEUX
Tue, 20 Jan 2015 - 09:54:13 +0100
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Tue, 20 Jan 2015 - 09:54:15 +0100
In Progress In Progress Resolved Resolved
5h 28m
1
Christophe DENEUX
Tue, 20 Jan 2015 - 15:22:48 +0100



People

Dates

  • Created:
    Tue, 20 Jan 2015 - 09:51:19 +0100
    Updated:
    Tue, 20 Jan 2015 - 15:22:48 +0100
    Resolved:
    Tue, 20 Jan 2015 - 15:22:47 +0100