Parameters
Cloud Connector¶
<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://maven.virtual-developer.com/repository/cloudconnector/2.1/cloudconnector.xsd">
<account>company</account>
...
</cloudconnector>
This is the start tag of the XML File. In maven this is not needed. The plugin is configured in the <configuration>
tag.
Account¶
<account>company</account>
Identity Provider¶
<identityProvider>https://id.virtual-developer.com/auth/realms/company</identityProvider>
The identity provider is an openID Connect endpoint.
Connection¶
<connection>https://company.virtual-developer.com</connection>
Connection Timeout¶
<connectionTimeout>5000</connection>
Connection Read/Write Timeout¶
<connectionRWTimeout>10000</connectionRWTimeout>
Generator¶
<generator>
<id>com.gs.vd.gen.java.retrofit.openapi</id>
<version>1.0</version>
...
</generator>
Parallel Transformation Jobs¶
<parallelTransformationJobs>4</parallelTransformationJobs>
Parallel Transformation Files¶
<parallelTransformationFiles>8</parallelTransformationFiles>
Charset¶
<charset>UTF-8</charset>
Fail Fast¶
<failFast>false</failFast>
Generator¶
<generator>
<id>com.gs.vd.gen.java.retrofit.openapi</id>
<version>1.0</version>
...
</generator>
Id¶
<id>com.gs.vd.gen.java.retrofit.openapi</id>
Version¶
<version>1.0</version>
It is recommended to only use the major and minor version (e.g. 1.0) instead of the full version (e.g. 1.0.5.2022).
Models¶
<models>
<model>input1.file</model>
<model>input2.file</model>
</models>
Modeler¶
<modeler>
<elements>1524,24563</elements> <!-- Only select an element (comma separated list) -->
<modules>12354</modules> <!-- Select a module (comma separated list) -->
<models>12564</models> <!-- Select a model (comma separated list) -->
<generations>1215</generations> <!-- Select a generation input (comma separated list) -->
</modeler>
Projects¶
<projects>
<project>
<virtualProject>Project 1</virtualProject>
<directory>project1/</directory>
</project>
<project>
<virtualProject>Project 2</virtualProject>
<directory>project2/</directory>
<options>
<option>
<name>name</name>
<value>value</value>
</option>
</options>
</project>
</projects>
Options¶
Options¶
<options>
<option>
<name>name</name>
<value>value</value>
</option>
</options>
A list of generator options. They can be set for the generator or for each virtual project individually.