[ 
https://issues.apache.org/jira/browse/KARAF-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910611#action_12910611
 ] 

Ioannis Canellos commented on KARAF-209:
----------------------------------------

Maybe we could add an InfoService and bundles that need to display information 
as output to the info command, could provide an osgi info service.

This way the info command could lookup up & use all InfoServices and have a 
dynamic behavior. Then servicemix, activemq etc could provide an info service 
impl to add details to the info output.

The interface for the InfoService could be something like:

{code}
public interface InfoService {
  public String getInfoCategory();
  public List<String> getInfoDetails();
}
{code}

What do you think?



> Allow the info command to display custom information such as Apache 
> ServiceMix version number
> ---------------------------------------------------------------------------------------------
>
>                 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
>            Priority: Minor
>
> 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.

Reply via email to