Change in ovirt-engine-sdk-java[master]: Use pooling http client

omachace at redhat.com omachace at redhat.com
Thu Sep 15 16:39:42 UTC 2016


Ondra Machacek has submitted this change and it was merged.

Change subject: Use pooling http client
......................................................................


Use pooling http client

To be able to use connection from multiple threads, we can't
use BasicHttpClientConnectionManager, because it doesn't allow it.
So this patch changes to using of PoolingHttpClientConnectionManager,
which supports using of multiple threads.

Change-Id: Ia0188394b9f2ff647a6fb03ddb5814d51c485c48
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1376402
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M sdk/src/main/java/org/ovirt/engine/sdk4/internal/ConnectionBuilder42.java
M sdk/src/main/java/org/ovirt/engine/sdk4/internal/ConnectionBuilder45.java
M sdk/src/test/java/org/ovirt/engine/sdk4/VmsServiceTest.java
3 files changed, 28 insertions(+), 6 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Juan Hernandez: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/63992
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia0188394b9f2ff647a6fb03ddb5814d51c485c48
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list