You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2011/02/10 08:28:57 UTC

[jira] Created: (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
-------------------------------------------------------------------------------------------

                 Key: KARAF-452
                 URL: https://issues.apache.org/jira/browse/KARAF-452
             Project: Karaf
          Issue Type: Improvement
          Components: console
    Affects Versions: 3.0.0
            Reporter: David Jencks
            Assignee: Jean-Baptiste Onofré


There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011978#comment-13011978 ] 

viola.lu commented on KARAF-452:
--------------------------------

Great, thank.:)

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-452:
------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)
    
> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>             Fix For: 3.1.0
>
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012012#comment-13012012 ] 

Jean-Baptiste Onofré commented on KARAF-452:
--------------------------------------------

I saw other commands that should be updated (BundleCommand for instance).
I'm gonna move some methods into Karaf util bundle to use it in several command classes.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014955#comment-13014955 ] 

viola.lu commented on KARAF-452:
--------------------------------

Thanks.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011968#comment-13011968 ] 

Jean-Baptiste Onofré commented on KARAF-452:
--------------------------------------------

As sent on the dev mailing list:


I propose the following convention to identify a bundles or features.
The identifier could be:

- a id (long) (as it is currently)
- a name (for instance bundle_A), the name could contain regexp (for instance bundle_*)
- a name and a version (for instance bundle_A/1.0.0), the name and version could contain regexp (for instance bundle_*/1.0.0 or bundle_A/1*)
- a range of id (for instance 1-4 7-9 will install bundles with id 1, 2, 3, 4 and 7, 8, 9) 

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012306#comment-13012306 ] 

viola.lu commented on KARAF-452:
--------------------------------

hi, jean:
 there is a problem in line : 
Long endId = Long.valueOf(id.substring(index + 1));
which should be 
Long endId = Long.valueOf(id.substring(index + 1, id.length()));

Thanks.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-452:
---------------------------------------

    Affects Version/s: 2.2.1

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Work started] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-452 started by Jean-Baptiste Onofré.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012389#comment-13012389 ] 

Jean-Baptiste Onofré commented on KARAF-452:
--------------------------------------------

karaf-2.2.x branch: revision 1086518.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated KARAF-452:
---------------------------

    Comment: was deleted

(was: hi, jean:
 there is a problem in line : 
Long endId = Long.valueOf(id.substring(index + 1));
which should be 
Long endId = Long.valueOf(id.substring(index + 1, id.length()));

Thanks.)

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012355#comment-13012355 ] 

viola.lu commented on KARAF-452:
--------------------------------

I did several tests, no problem now :) Can you apply it to karaf branch 2.1.2/2.1.3? Thanks in advance!

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020823#comment-13020823 ] 

Jean-Baptiste Onofré commented on KARAF-452:
--------------------------------------------

Thanks for the contribution Jarek.

I'm gonna resume my work on this issue, also related to KARAF-540.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012391#comment-13012391 ] 

Jean-Baptiste Onofré commented on KARAF-452:
--------------------------------------------

Karaf 2.2.1-SNAPSHOT deploy is in progress.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011976#comment-13011976 ] 

Jean-Baptiste Onofré commented on KARAF-452:
--------------------------------------------

I already did it. I'm gonna to commit my changes.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated KARAF-452:
---------------------------

    Attachment: Karaf-452.patch

hi, i provide a patch for support bundle id ranges, can somebody review and apply it?thanks.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004404#comment-13004404 ] 

Ivan commented on KARAF-452:
----------------------------

Hi, Jean, is there any progress for this JIRA, I would like to try it while it is ready. 
Thanks.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011993#comment-13011993 ] 

Jean-Baptiste Onofré commented on KARAF-452:
--------------------------------------------

Trunk: revision 1086180.

I'm gonna:
- make deeper tests
- see if some commands don't extend BundlesCommand
- add a bundle completer
- adopt the same behavior around features.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-452:
---------------------------------------

    Fix Version/s: 3.1.0

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0, 3.1.0
>
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Christian Schneider (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider updated KARAF-452:
--------------------------------------

    Fix Version/s:     (was: 3.0.0)
    
> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.1.0
>
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-452:
---------------------------------------

    Fix Version/s: 3.0.0

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006763#comment-13006763 ] 

viola.lu commented on KARAF-452:
--------------------------------

Hi, Jean:
 Do you have any plan about this improvement? One bug of geronimo has a very close relation with this one, we need to fix it in time, appreciate if u can give me an accurate target date or your current progress.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019670#comment-13019670 ] 

Jarek Gawor commented on KARAF-452:
-----------------------------------

I had some time so I added bundle range support for headers, ls, info, refresh, and resolve commands. Also fixed some NPEs I ran into. Changes committed to trunk in revision 1091989.


> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012309#comment-13012309 ] 

viola.lu commented on KARAF-452:
--------------------------------

hi, jean:
 There is a small type error:
for (long i = startId; i <= endId; startId++) {
                           Bundle bundle = getBundleContext().getBundle(i);
                            this.addBundle(bundle, id, force, bundles);
                       }

startId++ should be i++.


> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012315#comment-13012315 ] 

viola.lu commented on KARAF-452:
--------------------------------

Pattern versionPattern = Pattern.compile(version); should move from Line 140 to Line 151, if version is null, will introduce an null pointer exception.

> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-452) Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019672#comment-13019672 ] 

Jarek Gawor commented on KARAF-452:
-----------------------------------

Merged the changes into 2.2.x branch in revision 1091991.


> Support bundle id ranges, symbolic name/version, and regex in shell start/stop etc commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-452
>                 URL: https://issues.apache.org/jira/browse/KARAF-452
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>            Reporter: David Jencks
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Karaf-452.patch
>
>
> There are several commands that extend BundlesCommand all of which could be enhanced at once.Guillaume suggested on the dev list that the ids argument could be a List<String> and decoded in the doExecute method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira