Examples of XBayaConfiguration


Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

        rowWeights.add(new Double(0));
        rowWeights.add(new Double(0));
        rowWeights.add(new Double(1));
        this.parameterPanel.layout(columnWeights, rowWeights);

        XBayaConfiguration configuration = this.engine.getConfiguration();
        MonitorConfiguration monitorConfiguration = this.engine.getMonitor()
                .getConfiguration();


        // DSC URL
        this.dscTextField.setText(configuration.getDSCURL());

        // XRegistry
        this.xRegistryTextField.setText(configuration.getXRegistryURL());

        // GFac URL
        this.gfacTextField.setText(configuration.getGFacURL());
       
 
 
 
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

    protected void setUp() throws Exception {
        super.setUp();

        MLogger.setCmdNames("edu.indiana.extreme.xbaya:ALL");

        this.configuration = new XBayaConfiguration();

        // tmp directory
        this.temporalDirectory = new File("tmp/");
        this.temporalDirectory.mkdir();
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 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

        WSIFAsyncResponsesCorrelator correlator;
        correlator = null;

        // pass some headers
        LeadContextHeaderHelper helper = new LeadContextHeaderHelper();
        helper.setXBayaConfiguration(new XBayaConfiguration());
        LeadContextHeader leadContext = helper.getLeadContextHeader();
        leadContext.setWorkflowId(URI
                .create("http://host/2005/11/09/workflowinstace"));
        leadContext.setNodeId("decoder1");
        leadContext.setTimeStep("5");
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

  private void runInThread(final Workflow workflow,
      final List<WSComponentPort> inputs, LeadResourceMapping resourceMapping) {
    MonitorConfiguration monitorConfiguration = this.engine.getMonitor()
        .getConfiguration();
    XBayaConfiguration configuration = this.engine.getConfiguration();
   

    // Create the invoker
    LEADWorkflowInvoker invoker = null;
    try {
     
      WsdlDefinitions wsdl = workflow.getOdeInvokableWSDL(configuration.getDSCURL(), configuration.getODEURL());
     
      LeadContextHeader leadContext = WSDLUtil.buildLeadContextHeader(this.engine,
          monitorConfiguration, StringUtil.convertToJavaIdentifier(engine
              .getWorkflow().getName()),resourceMapping);
      ///////////////////////////////////////
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

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

  public void main() {

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

    XBayaEngine xbayaEngine = new XBayaEngine(config);
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

  /**
   * @return
   */
  private static XBayaConfiguration getConfiguration() {
    XBayaConfiguration configuration = new XBayaConfiguration();
    configuration.setBrokerURL(XBayaConstants.DEFAULT_BROKER_URL);
    configuration.setDSCURL(XBayaConstants.DEFAULT_DSC_URL);
    configuration.setGFacURL(XBayaConstants.DEFAULT_GFAC_URL);
    configuration.setMessageBoxURL(XBayaConstants.DEFAULT_MESSAGE_BOX_URL);
    configuration
        .setMyLeadAgentURL(XBayaConstants.DEFAULT_MYLEAD_AGENT_URL);
    configuration
        .setMyProxyLifetime(XBayaConstants.DEFAULT_MYPROXY_LIFTTIME);
    configuration.setMyProxyPort(XBayaConstants.DEFAULT_MYPROXY_PORT);
    configuration.setMyProxyServer(XBayaConstants.DEFAULT_MYPROXY_SERVER);
    configuration.setXRegistryURL(XBayaConstants.DEFAULT_XREGISTRY_URL);
    return configuration;
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

      }

    }
    System.err.println("Input all set");

    XBayaConfiguration conf = null;
    try {
      conf = getConfiguration(configurations);
    } catch (URISyntaxException e1) {
        throw new XBayaRuntimeException(e1);
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration

    return topic;
  }
 
 
  private  XBayaConfiguration getConfiguration(NameValue[] vals) throws URISyntaxException {
    XBayaConfiguration configuration = new XBayaConfiguration();
    configuration.setBrokerURL(new URI(findValue(vals, BROKER, XBayaConstants.DEFAULT_BROKER_URL.toString())));
    configuration.setDSCURL(new URI(findValue(vals, DSC, XBayaConstants.DEFAULT_DSC_URL.toString())));
    configuration.setGFacURL(new URI(findValue(vals, GFAC, XBayaConstants.DEFAULT_GFAC_URL.toString())));
    configuration.setMessageBoxURL(new URI(findValue(vals, MSGBOX, XBayaConstants.DEFAULT_MESSAGE_BOX_URL.toString())));
    configuration
        .setMyLeadAgentURL(new URI(findValue(vals, MYLEAD, XBayaConstants.DEFAULT_MYLEAD_AGENT_URL.toString())));
    configuration
        .setMyProxyLifetime(XBayaConstants.DEFAULT_MYPROXY_LIFTTIME);
    configuration.setMyProxyPort(XBayaConstants.DEFAULT_MYPROXY_PORT);
    configuration.setMyProxyServer(findValue(vals, PROXYSERVER, XBayaConstants.DEFAULT_MYPROXY_SERVER));
    configuration.setXRegistryURL(new URI(findValue(vals, XREGISTRY, XBayaConstants.DEFAULT_XREGISTRY_URL.toString())));
    return configuration;
  }
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();

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

        this.dialog.show();
    }
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.