Package org.apache.airavata.commons.gfac.type

Examples of org.apache.airavata.commons.gfac.type.ServiceDescription.toXML()


        return registry.saveWorkflowExecutionMetadata(experimentId,metadata);
    }

    public String getServiceDescription(String serviceId) throws RegistryException{
        ServiceDescription serviceDescription = registry.getServiceDescription(serviceId);
        return serviceDescription.toXML();
    }

    public String getDeploymentDescription(String serviceId, String hostId)
            throws RegistryException{
        ApplicationDeploymentDescription deploymentDescription = registry.getDeploymentDescription(serviceId, hostId);
View Full Code Here


      AiravataClientException, AiravataSystemException, TException {
    try {
      ServiceDescription serviceDescriptor = getRegistry().getServiceDescriptor(applicationInterfaceId);
      ApplicationInterface applicationInterface = new ApplicationInterface();
      applicationInterface.setApplicationInterfaceId(applicationInterfaceId);
      applicationInterface.setApplicationInterfaceData(serviceDescriptor.toXML());
      Map<String, ApplicationDescription> applicationDescriptors = getRegistry().getApplicationDescriptors(applicationInterfaceId);
      for (String hostId : applicationDescriptors.keySet()) {
        ApplicationDeployment applicationDeployment = new ApplicationDeployment();
        applicationDeployment.setComputeResourceDescription(getComputeResourceDescription(hostId));
        ApplicationDescriptor applicationDescriptor = new ApplicationDescriptor();
View Full Code Here

        return registry.saveWorkflowExecutionMetadata(experimentId,metadata);
    }

    public String getServiceDescription(String serviceId) throws RegistryException{
        ServiceDescription serviceDescription = registry.getServiceDescription(serviceId);
        return serviceDescription.toXML();
    }

    public String getDeploymentDescription(String serviceId, String hostId)
            throws RegistryException{
        ApplicationDeploymentDescription deploymentDescription = registry.getDeploymentDescription(serviceId, hostId);
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.