Examples of XBayaEngine


Examples of edu.indiana.extreme.xbaya.XBayaEngine

    XmlElement wsdlElement = XmlConstants.BUILDER.parseFragmentFromInputStream(
       
        new FileInputStream(new File("echo.xml")));
    xsul5.wsdl.WsdlDefinitions wsdlDefinitions = new xsul5.wsdl.WsdlDefinitions(wsdlElement);
    XBaya xbaya = new XBaya(new String[0]);
    XBayaEngine engine = xbaya.getEngine();
   
    LeadContextHeaderHelper leadContextHelper = new LeadContextHeaderHelper();
    XBayaConfiguration configuration = engine.getConfiguration();
    leadContextHelper.setXBayaConfiguration(configuration);
    leadContextHelper.setMyLeadConfiguration(engine.getMyLead()
        .getConfiguration());
    leadContextHelper.setWorkflowInstanceID(engine.getWorkflow()
        .getGPELInstanceID());
    leadContextHelper.setWorkflowTemplateID(engine.getWorkflow()
       
        .getUniqueWorkflowName());

    MonitorConfiguration monitorConfig = engine.getMonitor().getConfiguration();
    String TOPIC = "d25edf16-499c-4bb6-832f-b2b21d50fabe";
    monitorConfig.setTopic(TOPIC);
    leadContextHelper.setMonitorConfiguration(monitorConfig);

    LeadContextHeader leadContext = leadContextHelper
        .getLeadContextHeader();
   
    leadContext.setExperimentId(TOPIC);
   
    leadContext.setTimeStep("1");
    leadContext.setXRegistryUrl(new URI(XBayaConstants.DEFAULT_XREGISTRY_URL
        .toString()
        + "?wsdl"));
    MyProxyChecker myProxyChecker = new MyProxyChecker(engine);
    myProxyChecker.loadIfNecessary();
    GsiInvoker secureInvoker = null;
    if (engine.getWorkflowClient().isSecure()) {
      MyProxyClient myProxyClient = engine.getMyProxyClient();
      secureInvoker = new GsiInvoker(myProxyClient.getProxy(),
          XBayaSecurity.getTrustedCertificates());
     
      leadContext.setScmsUrl(URI.create("https://tyr12.cs.indiana.edu:60443/SCMS?wsdl"));
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    private void createConfigureRegistryItem() {
        this.configureRegistryItem = new JMenuItem("Configure Registry");
        configureRegistryItem.setMnemonic(KeyEvent.VK_C);
        configureRegistryItem.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = ExperimentMenu.this.engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }
        });
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

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

        new XBayaEngine(config);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

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

        new XBayaEngine(config);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    private void createConfigureRegistryItem() {
        this.configureRegistryItem = new JMenuItem("Configure Registry");
        configureRegistryItem.setMnemonic(KeyEvent.VK_C);
        configureRegistryItem.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = ExperimentMenu.this.engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }
        });
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

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

        new XBayaEngine(config);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    private void createConfigureRegistryItem() {
        this.configureRegistryItem = new JMenuItem("Configure Registry");
        configureRegistryItem.setMnemonic(KeyEvent.VK_C);
        configureRegistryItem.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = ExperimentMenu.this.engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }
        });
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

        JMenuItem item = new JMenuItem("Setup Airavata Registry...",MenuIcons.JCR_ICON);
        item.setMnemonic(KeyEvent.VK_J);
        AbstractAction action = new AbstractAction() {

            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }

        };
    item.addActionListener(action);
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    private void createConfigureRegistryItem() {
        this.configureRegistryItem = new JMenuItem("Configure Registry");
        configureRegistryItem.setMnemonic(KeyEvent.VK_C);
        configureRegistryItem.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = ExperimentMenu.this.engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }
        });
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

        Workflow workflow = creator.createComplexMathWorkflow();
        workflow.createScript();

        Monitor monitor;
        if (this.gui) {
            this.engine = new XBayaEngine(this.configuration);
            this.graphCanvas = this.engine.getGUI().getGraphCanvas();
            this.graphCanvas.setWorkflow(workflow);
            monitor = this.engine.getMonitor();
            this.engine.getGUI().eventReceived(new Event(Type.MONITOR_STARTED));
            repaintAndWait(2);
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.