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

Christian Schneider commented on KARAF-1025:
--------------------------------------------

I think we could leverage the org.osgi.service.metatype.MetaTypeService to 
provide this information for the shell. 
There are some ways to use the meta type informations:
1. provide a command to list the metatype informations for a config pid
2. provide a completer for config:property-set to show existing keys as well as 
the ones from meta type information
3. We could provide completers for values if the attribute has a list of 
possible values

I think option 2 should provide most benefit for not too much effort. So if it 
is ok for you I will start with that. We can then discuss if it is good enough 
or if we should provide more.

> Explicit Property Name in Karaf System Console
> ----------------------------------------------
>
>                 Key: KARAF-1025
>                 URL: https://issues.apache.org/jira/browse/KARAF-1025
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-webconsole
>            Reporter: Edward Ost
>            Assignee: Christian Schneider
>            Priority: Minor
>
> When I look in the Console at say the Pax Web Runtime I think it corresponds 
> to the org.ops4j.pax.web configuration.  I see the "HTTP Port Secure" config 
> property and many other properties.  How do I get a list of all of these 
> settable properties from the command line?  If I look at the etc file I they 
> are not listed.  One of the drawbacks of convention over configuration if not 
> made explicit somewhere.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to