Package org.apache.aiaravata.application.catalog.data.resources

Examples of org.apache.aiaravata.application.catalog.data.resources.DataMovementInterfaceResource.save()


          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);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.