Examples of XBayaConfiguration


Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

      this.topicTextField.setText(UUID.randomUUID().toString());
    }else{
      this.topicTextField.setText(notifConfig.getTopic());
    }

    XBayaConfiguration config = this.engine.getConfiguration();

    URI gfacURL = config.getGFacURL();
    this.gfacTextField.setText(StringUtil.toString(gfacURL));

    this.dialog.show();
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

      String value = parameterTextField.getText();
      arguments.add("-" + id);
      arguments.add(value);
    }

    XBayaConfiguration config = this.engine.getConfiguration();

    String gfacString = this.gfacTextField.getText();
    if (gfacString.length() != 0) {
      try {
        URI uri = new URI(gfacString).parseServerAuthority();
        config.setGFacURL(uri);
      } catch (URISyntaxException e) {
        this.engine.getErrorWindow().error(
            ErrorMessages.GFAC_URL_WRONG, e);
        return;
      }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

    this.parameterPanel.layout(inputNodes.size(), 3, GridPanel.WEIGHT_NONE,
        2);

    this.topicTextField.setText(UUID.randomUUID().toString());

    XBayaConfiguration config = this.engine.getConfiguration();
    this.gfacTextField.setText(config.getGFacURL().toString());
    URI workflowInterpreterURL = config.getWorkflowInterpreterURL();
    if (null != workflowInterpreterURL) {
      this.workflowInterpreterTextField.setText(workflowInterpreterURL.toString());
    } else {
      this.workflowInterpreterTextField
          .setText(XBayaConstants.DEFAULT_WORKFLOW_INTERPRETER_URL);
    }

    URI registryURL = config.getXRegistryURL();
    if (null != registryURL) {
      this.xRegistryTextField.setText(registryURL.toString());
    } else {
      this.xRegistryTextField
          .setText(XBayaConstants.DEFAULT_XREGISTRY_URL);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

    JFrame.setDefaultLookAndFeelDecorated(false);
    this.frame = new JFrame();

    // Adjust the size
    XBayaConfiguration config = this.engine.getConfiguration();
    int width = config.getWidth();
    int height = config.getHeight();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    final int inset = 50;
    this.frame.setLocation(inset, inset);
    Dimension size = new Dimension(screenSize.width - inset * 2,
        screenSize.height - inset * 2);
 
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

            return;
        }

        MonitorConfiguration monitorConfiguration = this.engine.getMonitor()
                .getConfiguration();
        XBayaConfiguration xbayaConfiguration = this.engine.getConfiguration();
        WsdlDefinitions wsdl;
        try {
            GcInstance instance = client.instantiate(workflow,
                    xbayaConfiguration.getDSCURL(), monitorConfiguration
                            .getTopic());
            wsdl = client.start(instance);
        } catch (WorkflowEngineException e) {
            if (this.canceled) {
                logger.caught(e);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

    this.parameterPanel.layout(inputNodes.size(), 3, GridPanel.WEIGHT_NONE,
        2);

    this.topicTextField.setText(notifConfig.getTopic());

    XBayaConfiguration config = this.engine.getConfiguration();

    this.dialog.show();
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

        this.parameterPanel.layout(inputNodes.size(), 3, GridPanel.WEIGHT_NONE,
                2);

        this.topicTextField.setText(notifConfig.getTopic());

        XBayaConfiguration config = this.engine.getConfiguration();
        this.gfacTextField.setText(config.getGFacURL().toString());
        URI registryURL = config.getXRegistryURL();
        if(null != registryURL){
          this.xRegistryTextField.setText(registryURL.toString());
        }else{
          this.xRegistryTextField.setText(XBayaConstants.DEFAULT_XREGISTRY_URL);
        }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaConfiguration

//            registry = new JCRComponentRegistry(airavataAPI);
//        } catch (Exception e) {
//            this.engine.getGUI().getErrorWindow().error(e.getMessage());
//            return;
//        }
        XBayaConfiguration configuration = this.engine.getConfiguration();
        this.engine.setAiravataAPI(airavataAPI);
        configuration.setAiravataAPI(airavataAPI);
        configuration.setRegigstryUserName(userName);
        configuration.setRegistryPassphrase(password);
        configuration.setRegistryURL(url);
        configuration.setDefaultGateway(gateway);
        engine.updateXBayaConfigurationServiceURLs();
        hide();

//        this.loader.load(registry);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaConfiguration

        }
        this.parameterPanel.layout(inputNodes.size(), 3, GridPanel.WEIGHT_NONE, 2);
//        this.instanceNameTextField.setText(workflow.getName()+"_"+Calendar.getInstance().getTime().toString());
        this.topicTextField.setText(UUID.randomUUID().toString());

        XBayaConfiguration config = this.engine.getConfiguration();
        this.gfacTextField.setText(config.getGFacURL().toString());
        URI workflowInterpreterURL = config.getWorkflowInterpreterURL();
        if (null != workflowInterpreterURL) {
            this.workflowInterpreterTextField.setText(workflowInterpreterURL.toString());
        } else {
            this.workflowInterpreterTextField.setText(XBayaConstants.DEFAULT_WORKFLOW_INTERPRETER_URL);
        }

        AiravataAPI airavataAPI = config.getAiravataAPI();
        if (null != airavataAPI) {
            this.RegistryTextField.setText(config.getRegistryURL());
        } else {
            this.RegistryTextField.setText(XBayaConstants.REGISTRY_URL.toASCIIString());
        }

        this.dialog.show();
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaConfiguration

        return getWorkflow(new QName(XBayaConstants.LEAD_NS, name));
    }

    public void main() {

        XBayaConfiguration config = new XBayaConfiguration();
        config.setMyProxyServer("myproxy.teragrid.org");
        config.setMyProxyUsername("USER");
        config.setMyProxyPassphrase("PASSWORD");

        new XBayaEngine(config);
    }
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.