karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioannis Canellos (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (KARAF-209) Allow the info command to display custom information such as Apache ServiceMix version number
Date Tue, 05 Oct 2010 21:02:34 GMT

     [ https://issues.apache.org/jira/browse/KARAF-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ioannis Canellos resolved KARAF-209.

       Resolution: Fixed
    Fix Version/s: 2.2.0

Committed the InfoProvider interface and InfoAction.

Its quite easy to create an info provider, all you need is an implementation of the InfoProvider
interface and blueprint xml.

Here is an example:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
    <bean id="myinfo" class="org.apache.karaf.samples.infoprovider.SampleInfoProvider">
        <property name="name" value="sample"/>
        <property name="properties">
                <prop key="prop1" value="Some Property"/>
                <prop key="prop2" value="Some Other Property"/>

    <service ref="myinfo" interface="org.apache.karaf.shell.commands.info.InfoProvider"/>

> Allow the info command to display custom information such as Apache ServiceMix version
> ---------------------------------------------------------------------------------------------
>                 Key: KARAF-209
>                 URL: https://issues.apache.org/jira/browse/KARAF-209
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Ioannis Canellos
>            Priority: Minor
>             Fix For: 2.2.0
> The info command lists nice basic information about the OS, JVM, Karaf etc. All important
information for support etc.
> But when using Apache ServiceMix it does not display information about ServiceMix, which
would be nice to display SMX version number etc.
> And for companies distributing ServiceMix under their own label, it would be nice for
them to add custom information / version as well.
> Maybe allow it to load some fixed information from a etc or properties file so custom/fixed
information can be displayed. Kinda like a header to the info command.

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

View raw message