[jira] [Updated] (HTTPCLIENT-1771) [OSGi] improve webconsole display for org.apache.http.proxyconfigurator

2016-09-22 Thread Julian Sedding (JIRA)

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

Julian Sedding updated HTTPCLIENT-1771:
---
Attachment: before.png
after.png
HTTPCLIENT-1771-jsedding.patch

Attached is a patch to add the relevant metatype property.

Before
!before.png!

After
!after.png!

> [OSGi] improve webconsole display for org.apache.http.proxyconfigurator
> ---
>
> Key: HTTPCLIENT-1771
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1771
> Project: HttpComponents HttpClient
>  Issue Type: Improvement
>  Components: HttpClient (classic)
>Affects Versions: 4.5.2, 5.0 Alpha1
>Reporter: Julian Sedding
>Priority: Minor
> Attachments: HTTPCLIENT-1771-jsedding.patch, after.png, before.png
>
>
> Since version 4.2.6 the Felix webconsole supports "nameHints" for 
> configuration factories. These allow to display some of the configuration 
> values in the configuration webconsole pugin to allow easier identification 
> of configurations.
> The property {{webconsole.configurationFactory.nameHint}} should be added to 
> the metatype definition.



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

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Created] (HTTPCLIENT-1771) [OSGi] improve webconsole display for org.apache.http.proxyconfigurator

2016-09-22 Thread Julian Sedding (JIRA)
Julian Sedding created HTTPCLIENT-1771:
--

 Summary: [OSGi] improve webconsole display for 
org.apache.http.proxyconfigurator
 Key: HTTPCLIENT-1771
 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1771
 Project: HttpComponents HttpClient
  Issue Type: Improvement
  Components: HttpClient (classic)
Affects Versions: 5.0 Alpha1, 4.5.2
Reporter: Julian Sedding
Priority: Minor


Since version 4.2.6 the Felix webconsole supports "nameHints" for configuration 
factories. These allow to display some of the configuration values in the 
configuration webconsole pugin to allow easier identification of configurations.

The property {{webconsole.configurationFactory.nameHint}} should be added to 
the metatype definition.



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

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1770) [OSGi] metatype for org.apache.http.proxyconfigurator missing factoryPid

2016-09-22 Thread Julian Sedding (JIRA)

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

Julian Sedding updated HTTPCLIENT-1770:
---
Attachment: HTTPCLIENT-1770-jsedding.patch

Attached patch fixes the issue.

> [OSGi] metatype for org.apache.http.proxyconfigurator missing factoryPid
> 
>
> Key: HTTPCLIENT-1770
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1770
> Project: HttpComponents HttpClient
>  Issue Type: Bug
>  Components: HttpClient (classic)
>Affects Versions: 4.5.2, 5.0 Alpha1
>Reporter: Julian Sedding
>Priority: Minor
>  Labels: osgi
> Attachments: HTTPCLIENT-1770-jsedding.patch
>
>
> The metatype definition for {{org.apache.http.proxyconfigurator}} only lists 
> the {{pid}} attribute on the {{Designate}} element. As it is a 
> {{ManagedServiceFactory}} supporting multiple proxy configurations, the 
> metatype should include a {{factoryPid}} attribute.
> E.g. in the Felix webconsole's configuration screen, there are currently two 
> entries, one for a singleton component configuration and one for a factory 
> configuration. This is confusing for users, especially since the singleton 
> configuration does not work.



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

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Created] (HTTPCLIENT-1770) [OSGi] metatype for org.apache.http.proxyconfigurator missing factoryPid

2016-09-22 Thread Julian Sedding (JIRA)
Julian Sedding created HTTPCLIENT-1770:
--

 Summary: [OSGi] metatype for org.apache.http.proxyconfigurator 
missing factoryPid
 Key: HTTPCLIENT-1770
 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1770
 Project: HttpComponents HttpClient
  Issue Type: Bug
  Components: HttpClient (classic)
Affects Versions: 5.0 Alpha1, 4.5.2
Reporter: Julian Sedding
Priority: Minor


The metatype definition for {{org.apache.http.proxyconfigurator}} only lists 
the {{pid}} attribute on the {{Designate}} element. As it is a 
{{ManagedServiceFactory}} supporting multiple proxy configurations, the 
metatype should include a {{factoryPid}} attribute.

E.g. in the Felix webconsole's configuration screen, there are currently two 
entries, one for a singleton component configuration and one for a factory 
configuration. This is confusing for users, especially since the singleton 
configuration does not work.



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

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org