Package org.apache.airavata.client.api.exception

Examples of org.apache.airavata.client.api.exception.AiravataAPIInvocationException


    @Override
    public void updateServiceDescriptor(ServiceDescription descriptor) throws AiravataAPIInvocationException {
        try {
            getClient().getRegistryClient().updateServiceDescriptor(descriptor);
        } catch (Exception e) {
            throw new AiravataAPIInvocationException(e);
        }
    }
View Full Code Here


    @Override
    public void updateApplicationDescriptor(String serviceName, String hostName, ApplicationDescription descriptor) throws AiravataAPIInvocationException {
        try {
            getClient().getRegistryClient().updateApplicationDescriptor(serviceName, hostName, descriptor);
        } catch (Exception e) {
            throw new AiravataAPIInvocationException(e);
        }
    }
View Full Code Here

    @Override
    public ApplicationDescription getApplicationDescriptor(String serviceName, String hostname, String applicationName) throws AiravataAPIInvocationException {
        try {
            return getClient().getRegistryClient().getApplicationDescriptor(serviceName, hostname, applicationName);
        } catch (Exception e) {
            throw new AiravataAPIInvocationException(e);
        }
    }
View Full Code Here

                                                 String hostName, String descriptorName)
      throws AiravataAPIInvocationException {
        try {
            return getClient().getRegistryClient().isApplicationDescriptorExists(serviceName, hostName, descriptorName);
        } catch (Exception e) {
            throw new AiravataAPIInvocationException(e);
        }
  }
View Full Code Here

     */
    public HostDescription buildHostDescription(SchemaType schemaType, String hostName, String hostAddress)
            throws AiravataAPIInvocationException {

        if (!validateHostAddress(hostAddress)) {
            throw new AiravataAPIInvocationException("Invalid host address. Host address should be "
                    + "either an IP address or a valid host name.");
        }

        HostDescription hostDescription = new HostDescription(schemaType);
        hostDescription.getType().setHostName(hostName);
View Full Code Here

  @Override
  public List<URI> getWorkflowInterpreterServiceURLs()  throws AiravataAPIInvocationException{
    try {
      return getClient().getRegistryClient().getWorkflowInterpreterURIs();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public URI getWorkflowInterpreterServiceURL()
      throws AiravataAPIInvocationException {
    try {
      return getClient().getClientConfiguration().getXbayaServiceURL().toURI();
    } catch (URISyntaxException e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public List<URI> getMessageBoxServiceURLs()
      throws AiravataAPIInvocationException {
    try {
      return new ArrayList<URI>(){{add(getClient().getRegistryClient().getMessageBoxURI());}};
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  @Override
  public URI getMessageBoxServiceURL() throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getMessageBoxURI();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public List<URI> getEventingServiceURLs()
      throws AiravataAPIInvocationException {
    try {
      return new ArrayList<URI>(){{add(getClient().getRegistryClient().getEventingServiceURI());}};
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.airavata.client.api.exception.AiravataAPIInvocationException

Copyright © 2018 www.massapicom. 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.