Yair Zaslavsky has posted comments on this change.

Change subject: core: remove commons httpclient from provider proxy
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.ovirt.org/#/c/33458/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java:

Line 343: 
Line 344:         URL hostUrl = getUrl();
Line 345:         Connection connection = null;
Line 346:         try {
Line 347:             if (isSecured()) {
> provider should not care if it is secure or not... all it needs to provide 
The logic contains assigning a default port, based on whether this is secure or 
not, as the providers are stored in db, I would prefer not to change this logic.
Line 348:                 if (hostUrl.getPort() == -1) {
Line 349:                     hostUrl =
Line 350:                             createURLWithDefaultPort(
Line 351:                                     hostUrl,


-- 
To view, visit http://gerrit.ovirt.org/33458
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I727d34c33f357b93560d4b5a1784b3733b7fa293
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to