Change-Id: Ia8d6f3f0f8a7989b227fe4fea3fd9c23228a06a6
Issue-ID: AAI-436
Signed-off-by: lizi <li.zi30@zte.com.cn>
Tenant tenant) throws ExtsysException {
ClientConfig config = new ClientConfig(new VimUpdateProvider());
IVimManage updateVimServiceproxy = ConsumerFactory
- .createConsumer(MsbConfig.getCloudInfrastructureAddr(), config, IVimManage.class);
+ .createConsumer(MsbConfig.getMultiCloudAddr(), config, IVimManage.class);
try {
updateVimServiceproxy.updateVIM(cloudOwner, cloudRegionId, tenant);
} catch (Exception e) {
VimManagerProxy.updateVim(cloudOwner, cloudRegionId, tenant);
} catch (ExtsysException e) {
LOG.error("Update VIM by Multi-cloud failed !", e);
- throw ExceptionUtil.buildExceptionResponse(e.getMessage());
}
return Response.ok(result).build();
} catch (ExtsysException error) {