Examples of MyLeadConfiguration


Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

     * @throws ComponentRegistryException
     */
    public void testMetadata() throws ComponentException, GraphException,
            XmlException, ComponentRegistryException {
        WorkflowCreator workflowCreator = new WorkflowCreator();
        MyLeadConfiguration myleadConfig = new MyLeadConfiguration(
                this.configuration.getMyLeadAgentURL(), this.configuration
                        .getMyLeadUser(), this.configuration.getMyLeadProject());

        Workflow workflow = workflowCreator.createGFacWorkflow();
        String templateID = "http://test";

        String uid = myleadConfig.getUser();

        String name = workflow.getName();
        String description = workflow.getDescription();

        MinimalLEADMetadata metadata = new MinimalLEADMetadata(uid, name, description);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

            MyLeadException, ComponentRegistryException, MyProxyException {
        // Get MyProxy
        this.myProxyClient.load();
        GSSCredential proxy = this.myProxyClient.getProxy();

        MyLeadConfiguration myleadConfig = new MyLeadConfiguration(
                this.configuration.getMyLeadAgentURL(), this.configuration
                        .getMyLeadUser(), this.configuration.getMyLeadProject());
        MyLead myLead = new MyLead(myleadConfig, proxy);
        WorkflowCreator workflowCreator = new WorkflowCreator();
View Full Code Here

Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

    public void testList() throws MyLeadException, MyProxyException {
        // Get MyProxy
        this.myProxyClient.load();
        GSSCredential proxy = this.myProxyClient.getProxy();

        MyLeadConfiguration myleadConfig = new MyLeadConfiguration(
                this.configuration.getMyLeadAgentURL(), this.configuration
                        .getMyLeadUser(), this.configuration.getMyLeadProject());
        MyLead myLead = new MyLead(myleadConfig, proxy);
        List<MyleadWorkflowMetadata> workflowTemplates = myLead.list();
        for (MyleadWorkflowMetadata template : workflowTemplates) {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

            ComponentRegistryException, MyProxyException {
        // Get MyProxy
        this.myProxyClient.load();
        GSSCredential proxy = this.myProxyClient.getProxy();

        MyLeadConfiguration myleadConfig = new MyLeadConfiguration(
                this.configuration.getMyLeadAgentURL(), this.configuration
                        .getMyLeadUser(), this.configuration.getMyLeadProject());
        MyLead myLead = new MyLead(myleadConfig, proxy);

        UserX509Credential gpelUserCredential = new UserX509Credential(
View Full Code Here

Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

            if (this.mode == GUI_MODE) {
              leadCtxHeader = WSDLUtil.buildLeadContextHeader(this.workflow, this.configuration, this.engine.getMyLead(), new MonitorConfiguration(this.configuration.getBrokerURL(), this.topic, true, this.configuration.getMessageBoxURL()), wsNode.getID(), null);
            } else {
              leadCtxHeader = WSDLUtil.buildLeadContextHeader(this.workflow, this.configuration,
              // Set the userdn in the right proxy if necessary
                  new MyLead(new MyLeadConfiguration(), proxy), new MonitorConfiguration(this.configuration.getBrokerURL(), this.topic, true, this.configuration.getMessageBoxURL()), wsNode.getID(), null);
            }
          } catch (URISyntaxException e) {
            throw new XBayaException(e);
          }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

              leadCtxHeader = WSDLUtil.buildLeadContextHeader(this.workflow, this.configuration, this.engine.getMyLead(), new MonitorConfiguration(this.configuration.getBrokerURL(), this.topic, true, this.configuration.getMessageBoxURL()), foreachWSNode.getID(), null);
            } else {
              leadCtxHeader = WSDLUtil.buildLeadContextHeader(this.workflow, this.configuration,
              // //////////Set the userdn in
              // the right proxy if necessary
                  new MyLead(new MyLeadConfiguration(), proxy), new MonitorConfiguration(this.configuration.getBrokerURL(), this.topic, true, this.configuration.getMessageBoxURL()), foreachWSNode.getID(), null);
            }

          } catch (URISyntaxException e) {
            raiseException(e);
          }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

    }
  }

  private void initMyLead() {
    MyLeadConfiguration myLeadConfiguration = this.myLead
        .getConfiguration();
    try {
      myLeadConfiguration.set(this.configuration.getMyLeadAgentURL(),
          this.configuration.getMyLeadUser(), this.configuration
              .getMyLeadProject());
    } catch (RuntimeException e) {
      getErrorWindow().error(ErrorMessages.UNEXPECTED_ERROR, e);
    } catch (Error e) {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.mylead.MyLeadConfiguration

        XBayaConfiguration config = this.engine.getConfiguration();
        URI url = config.getMyLeadAgentURL();
        String user = config.getMyLeadSampleUser();
        String project = config.getMyLeadSampleProject();
        final MyLeadConfiguration configuration = new MyLeadConfiguration(url,
                user, project);
        boolean valid = configuration.isValid();
        this.myLeadLoadSampleWorkflowItem.setEnabled(valid);
        this.myLeadLoadSampleWorkflowItem
                .addActionListener(new AbstractAction() {
                    private MyLeadLoadWindow window;
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.