DataMovementInterfaceResource dmi = AppCatalogThriftConversion.getDataMovementInterface(dataMovementInterface);
dmi.setComputeResourceId(computeResourceId);
ComputeResourceResource computeResourceResource = new ComputeResourceResource();
computeResourceResource=(ComputeResourceResource)computeResourceResource.get(computeResourceId);
dmi.setComputeHostResource(computeResourceResource);
dmi.save();
}catch (Exception e){
logger.error("Error while saving "+dataMovementInterface.getDataMovementProtocol().toString()+" data movement Protocol...", e);
throw new AppCatalogException(e);
}
}