mirror of https://github.com/apache/cloudstack.git
Revert "CLOUDSTACK-4950: fix the problem to support sessions to multiple vCenter instance"
This reverts commit 7c3a7fe312.
This commit is contained in:
parent
e312282d71
commit
b7da94f764
|
|
@ -90,6 +90,8 @@ public class VmwareClient {
|
|||
}
|
||||
};
|
||||
HttpsURLConnection.setDefaultHostnameVerifier(hv);
|
||||
|
||||
vimService = new VimService();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
|
|
@ -107,7 +109,7 @@ public class VmwareClient {
|
|||
}
|
||||
|
||||
private ManagedObjectReference SVC_INST_REF = new ManagedObjectReference();
|
||||
private VimService vimService;
|
||||
private static VimService vimService;
|
||||
private VimPortType vimPort;
|
||||
private String serviceCookie;
|
||||
private final String SVC_INST_NAME = "ServiceInstance";
|
||||
|
|
@ -127,7 +129,6 @@ public class VmwareClient {
|
|||
SVC_INST_REF.setType(SVC_INST_NAME);
|
||||
SVC_INST_REF.setValue(SVC_INST_NAME);
|
||||
|
||||
vimService = new VimService();
|
||||
vimPort = vimService.getVimPort();
|
||||
Map<String, Object> ctxt = ((BindingProvider) vimPort).getRequestContext();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue