You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Adrian Trenaman (JIRA)" <ji...@apache.org> on 2010/08/20 13:49:16 UTC

[jira] Created: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
------------------------------------------------------------------------------------------------------------------------------------

                 Key: KARAF-146
                 URL: https://issues.apache.org/jira/browse/KARAF-146
             Project: Karaf
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Adrian Trenaman
             Fix For: 2.0.0




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear commented on KARAF-146:
--------------------------------------

I'm looking at this issue again, sorry been tied up with day job tasks ;)

We don't include "karaf.systemBundlesStartLevel" in the karaf_home/etc properties by default so I'll have to add that into say the custom.properties file so that down stream projects can easily modify this value. 

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.1.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear commented on KARAF-146:
--------------------------------------


Hi Adrian,

Just wondering if we should indicate the threshold on 'osgi:list'. It may throw some users off guard that not all bundles are listed, displaying the threshold level would help clarify the returned data.

{code}
karaf@root> osgi:list
START LEVEL 100, List threshold 50
   ID   State         Blueprint      Level  Name
[  31] [Active     ] [Created     ] [   60] Apache Karaf :: Shell ConfigAdmin Commands (2.0.1.SNAPSHOT)
{code}

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Guillaume Nodet commented on KARAF-146:
---------------------------------------

Unless I'm mistaken, we already have a property named "karaf.systemBundlesStartLevel" defined for that.
Well it's not exactly *for* that, but that's one use of it.  
See org.apache.karaf.shell.osgi.Util#isASystemBundle() method.


> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear commented on KARAF-146:
--------------------------------------

I should be good Adrian :)

Thanks Guillaume.

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear commented on KARAF-146:
--------------------------------------

After some discussion with other users of Karaf (particularly down stream projects), I'm going to add a slight modification to this enhancement. I'll add a configuration option in karaf_home/etc that will control the default threshold for listing bundles, this way other projects can set the default level to something relevant to their own project needs.

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Work on KARAF-146 started by Jamie goodyear.

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.1.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear resolved KARAF-146.
----------------------------------

    Resolution: Fixed

Thanks Adrian Trenaman for the original patch! :)

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.1.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Adrian Trenaman resolved KARAF-146.
-----------------------------------

    Resolution: Fixed

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear commented on KARAF-146:
--------------------------------------

Sending        assembly/src/main/filtered-resources/etc/custom.properties
Sending        shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundles.java
Transmitting file data ..
Committed revision 995115.

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.1.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Adrian Trenaman updated KARAF-146:
----------------------------------

    Attachment: KARAF-146.patch

Patch attached to fix, including update to command help.

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>             Fix For: 2.0.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Adrian Trenaman commented on KARAF-146:
---------------------------------------

I like it, and it had crossed my mind too! Perhaps we should give a more meaningful message, like: 

'Listing bundles above start level 50; use -t to specify a different threshold.'



> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear reopened KARAF-146:
----------------------------------

      Assignee: Jamie goodyear

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Guillaume Nodet commented on KARAF-146:
---------------------------------------

Jamie, any update on this issue?

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.1.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Jamie goodyear updated KARAF-146:
---------------------------------

    Fix Version/s: 2.2.0
                       (was: 2.0.0)

> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-146) osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable

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

Adrian Trenaman commented on KARAF-146:
---------------------------------------

Sounds good Jamie. Are you all over this or do you need anything from me?


-- 
Sent from my mobile device


> osgi:list should only print out 'system' bundles above a certain level, by default, this should be 50, but it should be configurable
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-146
>                 URL: https://issues.apache.org/jira/browse/KARAF-146
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Adrian Trenaman
>            Assignee: Jamie goodyear
>             Fix For: 2.2.0
>
>         Attachments: KARAF-146.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.