Examples of AiravataManager


Examples of org.apache.airavata.client.api.AiravataManager

 
  public void updateXBayaConfigurationServiceURLs() {
    try {
      if (this.getConfiguration().getAiravataAPI()!=null && this.getConfiguration().getAiravataAPI()!=null){
                AiravataAPI airavataAPI = getConfiguration().getAiravataAPI();
                AiravataManager airavataManager = airavataAPI.getAiravataManager();
//                AiravataRegistry2 registry=this.getConfiguration().getJcrComponentRegistry().getRegistry();
            URI eventingServiceURL = airavataManager.getEventingServiceURL();
        if (eventingServiceURL!=null) {
          this.getConfiguration().setBrokerURL(eventingServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setBrokerURL(eventingServiceURL);
        }
        URI messageBoxServiceURL = airavataManager.getMessageBoxServiceURL();
        if (messageBoxServiceURL!=null) {
          this.getConfiguration()
          .setMessageBoxURL(messageBoxServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setMessageBoxURL(messageBoxServiceURL);
        }
        List<URI> interpreterServiceURLList = airavataManager.getWorkflowInterpreterServiceURLs();
        if (interpreterServiceURLList.size()>0) {
          this.getConfiguration()
              .setWorkflowInterpreterURL(interpreterServiceURLList.get(0));
        }
//        List<URI> gfacURLList = airavataManager.getGFaCURLs();
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataManager

 
  public void updateXBayaConfigurationServiceURLs() {
    try {
      if (this.getConfiguration().getAiravataAPI()!=null && this.getConfiguration().getAiravataAPI()!=null){
                AiravataAPI airavataAPI = getConfiguration().getAiravataAPI();
                AiravataManager airavataManager = airavataAPI.getAiravataManager();
//                AiravataRegistry2 registry=this.getConfiguration().getJcrComponentRegistry().getRegistry();
            URI eventingServiceURL = airavataManager.getEventingServiceURL();
        if (eventingServiceURL!=null) {
          this.getConfiguration().setBrokerURL(eventingServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setBrokerURL(eventingServiceURL);
        }
        URI messageBoxServiceURL = airavataManager.getMessageBoxServiceURL();
        if (messageBoxServiceURL!=null) {
          this.getConfiguration()
          .setMessageBoxURL(messageBoxServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setMessageBoxURL(messageBoxServiceURL);
        }
        List<URI> interpreterServiceURLList = airavataManager.getWorkflowInterpreterServiceURLs();
        if (interpreterServiceURLList.size()>0) {
          this.getConfiguration()
              .setWorkflowInterpreterURL(interpreterServiceURLList.get(0));
        }
        List<URI> gfacURLList = airavataManager.getGFaCURLs();
        if (gfacURLList.size()>0) {
          this.getConfiguration().setGFacURL(gfacURLList.get(0));
        }
      }
        } catch (Exception e) {
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataManager

 
  public void updateXBayaConfigurationServiceURLs() {
    try {
      if (this.getConfiguration().getAiravataAPI()!=null && this.getConfiguration().getAiravataAPI()!=null){
                AiravataAPI airavataAPI = getConfiguration().getAiravataAPI();
                AiravataManager airavataManager = airavataAPI.getAiravataManager();
//                AiravataRegistry2 registry=this.getConfiguration().getJcrComponentRegistry().getRegistry();
            URI eventingServiceURL = airavataManager.getEventingServiceURL();
        if (eventingServiceURL!=null) {
          this.getConfiguration().setBrokerURL(eventingServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setBrokerURL(eventingServiceURL);
        }
        URI messageBoxServiceURL = airavataManager.getMessageBoxServiceURL();
        if (messageBoxServiceURL!=null) {
          this.getConfiguration()
          .setMessageBoxURL(messageBoxServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setMessageBoxURL(messageBoxServiceURL);
        }
        List<URI> interpreterServiceURLList = airavataManager.getWorkflowInterpreterServiceURLs();
        if (interpreterServiceURLList.size()>0) {
          this.getConfiguration()
              .setWorkflowInterpreterURL(interpreterServiceURLList.get(0));
        }
//        List<URI> gfacURLList = airavataManager.getGFaCURLs();
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataManager

 
  public void updateXBayaConfigurationServiceURLs() {
    try {
      if (this.getConfiguration().getAiravataAPI()!=null){
                airavataAPI = getConfiguration().getAiravataAPI();
                AiravataManager airavataManager = airavataAPI.getAiravataManager();
//                AiravataRegistry2 registry=this.getConfiguration().getJcrComponentRegistry().getRegistry();
            URI eventingServiceURL = airavataManager.getEventingServiceURL();
        if (eventingServiceURL!=null) {
          this.getConfiguration().setBrokerURL(eventingServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setBrokerURL(eventingServiceURL);
        }
        URI messageBoxServiceURL = airavataManager.getMessageBoxServiceURL();
        if (messageBoxServiceURL!=null) {
          this.getConfiguration()
          .setMessageBoxURL(messageBoxServiceURL);
          this.getMonitor()
              .getConfiguration()
              .setMessageBoxURL(messageBoxServiceURL);
        }
        List<URI> interpreterServiceURLList = airavataManager.getWorkflowInterpreterServiceURLs();
        if (interpreterServiceURLList.size()>0) {
          this.getConfiguration()
              .setWorkflowInterpreterURL(interpreterServiceURLList.get(0));
        }
//        List<URI> gfacURLList = airavataManager.getGFaCURLs();
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.