hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1238) Contribute Bundle Activator And Central Proxy Configuration
Date Mon, 15 Apr 2013 20:04:16 GMT

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

Simone Tripodi updated HTTPCLIENT-1238:

    Attachment: HTTPCLIENT-1238-4.patch

Hi all/Oleg,

please find in attachment a new proposal which makes the Proxy Configuration feature, as requested,
less intrusive in the core codebase.

Two important notes:

 * OSGi users now can configure Proxy Configuration(s) via the MetaType standard service and,
in order to obtain {{HttpClient}} instances have to request the {{org.apache.http.osgi.services.HttpClients}}
service which is able to create OSGi-aware {{org.apache.http.impl.client.HttpClientBuilder}},
that at its time configures the {{HttpClient}} with {{org.apache.http.conn.routing.HttpRoutePlanner}}
and {{org.apache.http.client.CredentialsProvider}} instances backed by a data structure able
to provide route and credentials according to active Proxy configurations, all made transparent
to final users.

  * The {{httpclient-osgi}} bundle was not a complete working bundle, when installing it in
an OSGi runtime, it claimed the missing {{httpcore}} packages; so the patch provides the addition
of missing dependency and OSGi exports

  Please let me know if something more is required in order to get that patch applied.
  Many thanks in advance, all the best!
> Contribute Bundle Activator And Central Proxy Configuration
> -----------------------------------------------------------
>                 Key: HTTPCLIENT-1238
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1238
>             Project: HttpComponents HttpClient
>          Issue Type: Wish
>          Components: HttpClient
>    Affects Versions: 4.2.1
>            Reporter: Dominique Jäggi
>            Priority: Minor
>             Fix For: 4.3 Final
>         Attachments: HTTPCLIENT-1238-2.patch, HTTPCLIENT-1238-3.patch, HTTPCLIENT-1238-4.patch,
> as discussed at [0] i'd like to contribute the bundle activator and central proxy configuration.
> the attached patch may need some cleanup on your side, as only assumed locations where
to put some classes or in which pom.xml to put dependencies.
> i kindly ask you to review the patch in if possible integrate it in a future release.
> Adobe (and i as its employee) is available for assistance, explanations, or further dev
work required in the context of the patch.
> [0] http://mail-archives.apache.org/mod_mbox/hc-dev/201209.mbox/%3cCACMijv-21S4+Jw_A=jDFHeVB9cMt4KNi5p3jAHZFh3kvu4btdw@mail.gmail.com%3e

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message