Add Generic HttpClientFactory Service

Description

A generic http client factory service is often required for various integration scenarios.

Activity

Show:
Stefan Seifert
January 21, 2015, 10:06 PM

most of this is already implemented in https://github.com/wcm-io/wcm-io-caravan/tree/master/io/http/src/main/java/io/wcm/caravan/io/http/httpclient
it supports both synch and asynch http client.

we have to refactor this into a separate project in wcm.io caravan or move this part to wcm.io.
additionally we should support to load certificate/trust stores from the repository via sling, additionally to loading them from the filesystem to allow flexible deployment via packages.

Igor Sechyn
January 22, 2015, 9:20 AM

is it possible to use it a single dependency in the project already or do i have to include anything else from caravan?

Stefan Seifert
January 23, 2015, 10:55 PM

this should provided what is required - in a dedicated bundle:
https://github.com/wcm-io/wcm-io-caravan/tree/master/commons/httpclient

the 4 dependency bundles have to be deployed as well.

Igor Sechyn
January 27, 2015, 12:21 PM

ok, thank you. this worked well.

Fixed

Assignee

Unassigned

Reporter

Igor Sechyn

Labels

None

Components

Priority

Major