Examples of deploy()


Examples of com.founder.fix.fixflow.core.model.DeploymentBuilder.deploy()

   */
  public void testProcessDefinitionQuery(){
    DeploymentBuilder deploymentBuilder = processEngine.getModelService().createDeployment().name("测试名称");
    //添加你要发布的定义
    deploymentBuilder.addClasspathResource("com/founder/fix/fixflow/test/engine/api/model/startProcessByUser.bpmn");
    String deploymentIdTemp = deploymentBuilder.deploy().getId();
    assertNotNull(deploymentIdTemp);
    //重置下流程发布,发布下一个流程
    DeploymentBuilder deploymentBuilder2 = processEngine.getModelService().createDeployment().name("测试发布");
    deploymentBuilder2.addClasspathResource("com/founder/fix/fixflow/test/engine/api/model/StartProcessInstanceTest.bpmn");
    //发布
View Full Code Here

Examples of com.founder.fix.fixflow.explorer.impl.FlowExplorerServiceImpl.deploy()

            pngInputStream = new FileInputStream(buildPath() +File.separator+pngFileName);
            Map<String,InputStream> fileInputSteamMap = new HashMap<String, InputStream>();
            fileInputSteamMap.put(fileName, input);
            fileInputSteamMap.put(pngFileName, pngInputStream);
            FlowExplorerService flowExplorerService = new FlowExplorerServiceImpl();
            flowExplorerService.deploy(fileInputSteamMap, deploymentId, userId);
            success("发布成功", "string");
      }catch(Exception ex){
        ex.printStackTrace();
        error("发布失败:" + ex.getMessage());
      }
View Full Code Here

Examples of com.founder.fix.fixflow.explorer.service.FlowExplorerService.deploy()

            pngInputStream = new FileInputStream(buildPath() +File.separator+pngFileName);
            Map<String,InputStream> fileInputSteamMap = new HashMap<String, InputStream>();
            fileInputSteamMap.put(fileName, input);
            fileInputSteamMap.put(pngFileName, pngInputStream);
            FlowExplorerService flowExplorerService = new FlowExplorerServiceImpl();
            flowExplorerService.deploy(fileInputSteamMap, deploymentId, userId);
            success("发布成功", "string");
      }catch(Exception ex){
        ex.printStackTrace();
        error("发布失败:" + ex.getMessage());
      }
View Full Code Here

Examples of com.jcloisterzone.figure.Meeple.deploy()

        if (!meepleType.equals(flierCap.getMeepleType())) {
            throw new IllegalArgumentException("Invalid meeple type.");
        }
        Meeple m = getActivePlayer().getMeepleFromSupply(meepleType);
        Tile tile = getBoard().get(p);
        m.deploy(tile, loc);
        next();
    }

}
View Full Code Here

Examples of com.salesforce.ide.core.remote.MetadataStubExt.deploy()

            // call deploy and wait for response
            if (logger.isDebugEnabled()) {
                logger.debug("Calling deploy() at " + (new Date()).toString());
            }

            AsyncResult asyncResult = metadataStubExt.deploy(zipFile, deployOptions);
            monitorWork(monitor);

            // get async result
            deployResultHandler = getDeployResult(deployResultHandler, asyncResult, metadataStubExt, monitor);
View Full Code Here

Examples of com.salesforce.ide.core.services.PackageDeployService.deploy()

        monitorSubTask(monitor, "Saving to server...");

        // compile and save new component
        final PackageDeployService packageDeployService = getServiceLocator().getPackageDeployService();
        try {
            deployResultExt = packageDeployService.deploy(projectPackageList, monitor, makeDeployOptions(packageDeployService));
        } catch (ServiceTimeoutException ex) {
            deployResultExt =
                    packageDeployService.handleDeployServiceTimeoutException(ex, "save to server",
                        monitor);
        }
View Full Code Here

Examples of com.sforce.soap.metadata.MetadataConnection.deploy()

    // Deploy to Salesforce
    DeployOptions deployOptions = new DeployOptions();
    deployOptions.setSinglePackage(true);
    deployOptions.setPerformRetrieve(false);
    deployOptions.setRollbackOnError(true);
    AsyncResult asyncResult = metadataConnection.deploy(baos.toByteArray(), deployOptions);

    // Given the client the AysncResult to poll for the result of the deploy
    ObjectMapper objectMapper = new ObjectMapper();
    objectMapper.getSerializationConfig().addMixInAnnotations(AsyncResult.class, AsyncResultMixIn.class);
    return objectMapper.writeValueAsString(asyncResult);
View Full Code Here

Examples of com.splout.db.common.SploutClient.deploy()

        }
      }
    }.waitAtMost(5000);
   
    // Deploy
    client1.deploy("p1", testTablespace.getPartitionMap(), testTablespace.getReplicationMap(),
        deployData.getAbsoluteFile().toURI());

    // Check that all QNodes have the deployment data
    new TestUtils.NotWaitingForeverCondition() {
View Full Code Here

Examples of com.splout.db.hadoop.StoreDeployerTool.deploy()

    if(deploy) {
      // use StoreDeployerTool for deploying the already generated dataset
      StoreDeployerTool deployer = new StoreDeployerTool(qnode, getConf());
      ArrayList<TablespaceDepSpec> deployments = new ArrayList<TablespaceDepSpec>();
      deployments.add(new TablespaceDepSpec("pagecounts", outPath.toString(), repFactor, null));
      deployer.deploy(deployments);
    }
    return 1;
  }

  public static final void main(String[] args) throws Exception {
View Full Code Here

Examples of com.spotify.helios.client.HeliosClient.deploy()

    // Wait for agent to come up
    awaitHostRegistered(client, testHost(), LONG_WAIT_SECONDS, SECONDS);
    awaitHostStatus(client, testHost(), UP, LONG_WAIT_SECONDS, SECONDS);

    // Deploy the jobs on the agent
    client.deploy(Deployment.of(jobId1, START), testHost()).get();
    client.deploy(Deployment.of(jobId2, START), testHost()).get();

    // Wait for the jobs to run
    awaitJobState(client, testHost(), jobId1, RUNNING, LONG_WAIT_SECONDS, SECONDS);
    awaitJobState(client, testHost(), jobId2, RUNNING, LONG_WAIT_SECONDS, SECONDS);
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.