Package betsy.bpel.virtual.common.messages.deploy

Examples of betsy.bpel.virtual.common.messages.deploy.DeployRequest


            while (isRunning) {
                Object o = receive();

                try {
                    if (o instanceof DeployRequest) {
                        DeployRequest request = (DeployRequest) o;
                        DeployResponse response = protocol.deployOperation(request);
                        this.sendMessage(response);
                    } else if (o instanceof LogFilesRequest) {
                        LogFilesRequest request = (LogFilesRequest) o;
                        LogFilesResponse response = protocol.collectLogFilesOperation(request);
View Full Code Here


        return portList;
    }

    @Override
    public DeployRequest buildDeployRequest(BPELProcess process) throws IOException {
        DeployRequest operation = new DeployRequest();
        operation.setFileMessage(FileMessage.build(process.getTargetPackageFilePath("zip")));
        operation.setEngineName(getName());
        operation.setProcessName(process.getName());
        operation.setDeploymentLogFilePath(get("virtual.engines.ode_v.deploymentLogFile"));
        operation.setDeploymentDir(get("virtual.engines.ode_v.deploymentDir"));
        operation.setDeployTimeout(Integer.parseInt(get("virtual.engines.ode_v.deploymentTimeout")));

        return operation;
    }
View Full Code Here

    @Override
    public void deploy(BPELProcess process) {
        try {
            LOGGER.info("Deploying virtualized engine " + getName() + ", process: " + process.toString());

            DeployRequest container = buildDeployRequest(process);
            comm.deployOperation(container);
            LOGGER.info("deploy done!");
        } catch (Exception exception) {
            LOGGER.error("error during deployment - collecting logs", StackTraceUtils.deepSanitize(exception));
            try {
View Full Code Here

        return defaultEngine.getXsltPath();
    }

    @Override
    public DeployRequest buildDeployRequest(BPELProcess process) throws IOException {
        DeployRequest operation = new DeployRequest();
        operation.setFileMessage(FileMessage.build(process.getTargetPackageCompositeFilePath()));
        operation.setEngineName(getName());
        operation.setProcessName(process.getName());
        operation.setDeploymentLogFilePath(get("virtual.engines.petalsesb_v.deploymentLogFile"));
        operation.setDeploymentDir(get("virtual.engines.petalsesb_v.deploymentDir"));
        operation.setDeployTimeout(Integer.parseInt(get("virtual.engines.petalsesb_v.deploymentTimeout")));

        return operation;
    }
View Full Code Here

        return defaultEngine.getXsltPath();
    }

    @Override
    public DeployRequest buildDeployRequest(BPELProcess process) throws IOException {
        DeployRequest operation = new DeployRequest();
        operation.setFileMessage(FileMessage.build(process.getTargetPackageFilePath("zip")));
        operation.setEngineName(getName());
        operation.setProcessName(process.getName());
        operation.setDeploymentLogFilePath(get("virtual.engines.orchestra_v.deploymentLogFile"));
        operation.setDeploymentDir(get("virtual.engines.orchestra_v.deploymentDir"));
        operation.setDeployTimeout(Integer.parseInt(get("virtual.engines.orchestra_v.deploymentTimeout")));

        return operation;
    }
View Full Code Here

        return defaultEngine.getXsltPath();
    }

    @Override
    public DeployRequest buildDeployRequest(BPELProcess process) throws IOException {
        DeployRequest operation = new DeployRequest();
        operation.setFileMessage(FileMessage.build(process.getTargetPackageFilePath("bpr")));
        operation.setEngineName(getName());
        operation.setProcessName(process.getName());
        operation.setDeploymentLogFilePath(get("virtual.engines.active_bpel_v.deploymentLogFile"));
        operation.setDeploymentDir(get("virtual.engines.active_bpel_v.deploymentDir"));
        operation.setDeployTimeout(Integer.parseInt(get("virtual.engines.active_bpel_v.deploymentTimeout")));

        return operation;
    }
View Full Code Here

        return defaultEngine.getXsltPath();
    }

    @Override
    public DeployRequest buildDeployRequest(BPELProcess process) throws IOException {
        DeployRequest operation = new DeployRequest();

        operation.setFileMessage(FileMessage.build(process.getTargetPackageCompositeFilePath()));
        operation.setEngineName(getName());
        operation.setProcessName(process.getName());
        operation.setDeploymentLogFilePath(get("virtual.engines.openesb_v.deploymentFile"));
        operation.setDeploymentDir(get("virtual.engines.openesb_v.deploymentDir"));
        operation.setDeployTimeout(Integer.parseInt(get("virtual.engines.openesb_v.deploymentTimeout")));

        return operation;
    }
View Full Code Here

        return defaultEngine.getXsltPath();
    }

    @Override
    public DeployRequest buildDeployRequest(BPELProcess process) throws IOException {
        DeployRequest operation = new DeployRequest();
        operation.setFileMessage(FileMessage.build(process.getTargetPackageFilePath("zip")));
        operation.setEngineName(getName());
        operation.setProcessName(process.getName());
        operation.setDeploymentLogFilePath(get("virtual.engines.bpelg_v.deploymentLogFile"));
        operation.setDeploymentDir(get("virtual.engines.bpelg_v.deploymentDir"));
        operation.setDeployTimeout(Integer.parseInt(get("virtual.engines.bpelg_v.deploymentTimeout")));

        return operation;
    }
View Full Code Here

        virtualMachineTcpServer.start();

        Thread.sleep(500);

        HostTcpClient client = new HostTcpClient(Constants.SERVER_HOSTNAME, server_port);
        client.deployOperation(new DeployRequest());
        client.collectLogFilesOperation(new LogFilesRequest());
        virtualMachineTcpServer.shutdown();
    }
View Full Code Here

        virtualMachineTcpServer.start();

        Thread.sleep(500);

        HostTcpClient client = new HostTcpClient(Constants.SERVER_HOSTNAME, server_port);
        client.deployOperation(new DeployRequest());
    }
View Full Code Here

TOP

Related Classes of betsy.bpel.virtual.common.messages.deploy.DeployRequest

Copyright © 2018 www.massapicom. 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.