Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
webconsole-4.2.2
-
None
Description
currently for each factory configuration entry in the web console only a very cryptic name is displayed, consisting of the factory PID and a GUID. this is very inconvenient esp. if there are a lot of entries and the user want to edit a specific one:
proposal: the author of the OSGi service with factory configuration should be able to provide a "nameHint" template to display a nice human-readable name, and display the pid+gui only as tooltip:
attached is a patch with draft implementation of this based on an optional service property webconsole.configurationFactory.nameHint which can be set on the service which can reference other property names with placeholders. the web console then displays this name hint with the configured values replaced.
example (using SCR annotation):
@Property(name = "webconsole.configurationFactory.nameHint", value = "{serviceName}: {ribbonHosts}")
this will help on a lot of services, e.g. factory configurations for log configuration an others.
Attachments
Attachments
Issue Links
- is related to
-
FELIX-4978 Enable name hint for JAAS Config entries
- Resolved
-
SLING-4726 Commons Log: Enable Name Hint for Web Console Log Config Entries
- Closed
-
FELIX-5083 Set webconsole.configurationFactory.nameHint for JAAS configurations
- Closed
-
SLING-4742 Service User Mapper: Web Console Name Hints for Mapping Configurations
- Closed
-
SLING-4743 Event: Web Console Name Hints for Job Queue Configuration
- Closed