Skip to content

Cloud Connector

Installation

There are two version of the cloud connector. One version contains a bundled JRE, so it has no dependencies. The other version contains only the cloudconnector, thus you have to install a java runtime.

Windows

Standalone

https://bitbucket.org/jenerateit/com.gs.vd.cloud-connector/raw/develop/cc-java/binary/Windows/standalone/cloudconnector_2.0.0-SNAPSHOT.exe

No JRE

https://bitbucket.org/jenerateit/com.gs.vd.cloud-connector/raw/develop/cc-java/binary/Windows/no_jre/cloudconnector_2.0.0-SNAPSHOT.exe

Run the executable and follow the installation steps. After this you just need to add C:\Program Files\cloudconnector\ to your $PATH variable.

Debian

Standalone

https://bitbucket.org/jenerateit/com.gs.vd.cloud-connector/raw/develop/cc-java/binary/Linux/standalone/cloudconnector_2.0.0-SNAPSHOT.deb

No JRE

https://bitbucket.org/jenerateit/com.gs.vd.cloud-connector/raw/develop/cc-java/binary/Linux/no_jre/cloudconnector_2.0.0-SNAPSHOT.deb

Install the debian package either by clicking on it or by running dpkg -i ~/Downloads/cloudconnector_2.0.0-SNAPSHOT.deb.

Manual installation

Clone the repository

git clone https://bitbucket.org/jenerateit/com.gs.vd.cloud-connector.git

Checkout the develop branch

git chekout develop

And then run

mvn -f pom-jar.xml -P binary clean package

to create a runnable jar and an executable for your operating system in the director cc-java/target.

Usage

From the command line you can run cloudconnector.

There are tow optional paramters -h (–help) and -d (–debug). -h is to print the usage and -d is to enable debugging output.

Also it is possible to specify the configuration file. If it is not stated the configuration file “cloudconnector.xml” will be expected to be in the directory the command is run.

Sample “cloudconnector.xml”:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cloudconnector xmlns="https://virtual-developer.com/schema/cloudconnector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="https://virtual-developer.com/schema/cloudconnector https://virtual-developer.com/schema/cloudconnector/TODO.xsd">
    <connection>https://[*].virtual-developer.com/api/generator</connection>
    <connectionTimeout>10000</connectionTimeout>
    <connectionRWTimeout>20000</connectionRWTimeout>
    <generator>
        <id>com.gs.vd.modeler.some.generator</id>
        <version>1.0.0</version>
        <models>
            <model>model_file_0.gapp</model>
            <model>model_file_1.gapp</model>
        </models>
        <projects>
            <project>
                <virtualProject>virtual project</virtualProject>
                <directory>./some/directory</directory>
                <options>
                    <option>
                        <name>virtual project option</name>
                        <value>value</value>
                    </option>
                </options>
            </project>
        </projects>
        <options>
            <option>
                <name>generator option</name>
                <value>value</value>
            </option>
        </options>
    </generator>
    <parallelTransformationJobs>4</parallelTransformationJobs>
    <parallelTransformationFiles>8</parallelTransformationFiles>
    <charset>UTF-8</charset>
    <reportDir>./report</reportDir>
</cloudconnector>