Skip to content

Commit

Permalink
Merge pull request #20 from assimbly/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
assimbly authored Apr 20, 2021
2 parents 9fa48ef + f74aeae commit 461dfc8
Show file tree
Hide file tree
Showing 18 changed files with 1,393 additions and 797 deletions.
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,20 @@ conf.xml
<logLevel>OFF</logLevel>
<endpoint>
<id>2</id>
<type>from<type>
<type>from</type>
<uri>file://C:\test1</uri>
</endpoint>
<endpoint>
<id>2</id>
<type>to<type>
<type>to</type>
<uri>file://C:\test2</uri>
<options>
<directoryMustExist>true</directoryMustExist>
</options>
</endpont>
<error>
</endpoint>
<endpoint>
<id>2</id>
<type>error<type>
<type>error</type>
<uri>file://C:\test3</uri>
</endpoint>
</flow>
Expand Down
4 changes: 2 additions & 2 deletions baseModule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<parent>
<artifactId>connector</artifactId>
<groupId>org.assimbly</groupId>
<version>3.3.0</version>
<version>3.4.0</version>
</parent>

<packaging>jar</packaging>
<groupId>org.assimbly</groupId>
<artifactId>baseModule</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>

<name>baseModule</name>
<!-- FIXME change it to the project's website -->
Expand Down
31 changes: 28 additions & 3 deletions baseModule/src/main/resources/connector.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<xs:element type="flowsType" name="flows" />
<xs:element type="servicesType" name="services" />
<xs:element type="headersType" name="headers" />
<xs:element type="routesType" name="routes" />
<xs:element type="environmentVariablesType" name="environmentVariables" />
</xs:choice>
</xs:complexType>
Expand All @@ -45,30 +46,41 @@
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element type="xs:string" name="id" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:string" name="name" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="type" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="autostart" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="offloading" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="type" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="maximumRedeliveries" minOccurs="0"/>
<xs:element type="xs:string" name="redeliveryDelay" minOccurs="0"/>
<xs:element type="xs:string" name="logLevel" minOccurs="0"/>
<xs:element type="xs:string" name="version" minOccurs="0"/>
<xs:element type="xs:string" name="created" minOccurs="0"/>
<xs:element type="xs:string" name="lastModified" minOccurs="0"/>
<xs:element type="endpointType" name="endpoint" minOccurs="0" />
<xs:element type="componentsType" name="components" minOccurs="0" maxOccurs="1"/>
<xs:element type="endpointsType" name="endpoints" minOccurs="0" />
</xs:choice>
</xs:complexType>
<xs:complexType name="endpointsType">
<xs:sequence>
<xs:element type="endpointType" name="endpoint" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="endpointType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element type="xs:string" name="id" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="type" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:string" name="uri" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:string" name="uri" minOccurs="0" maxOccurs="1"/>
<xs:element type="optionsType" name="options" minOccurs="0" />
<xs:element type="xs:string" name="response_id" minOccurs="0" />
<xs:element type="xs:string" name="service_id" minOccurs="0" />
<xs:element type="xs:string" name="header_id" minOccurs="0" />
<xs:element type="xs:string" name="route_id" minOccurs="0" />
</xs:choice>
</xs:complexType>
<xs:complexType name="componentsType">
<xs:sequence maxOccurs="unbounded">
<xs:any namespace="##any" minOccurs="0" processContents="lax" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="optionsType">
<xs:sequence maxOccurs="unbounded">
<xs:any namespace="##any" minOccurs="0" processContents="lax" />
Expand All @@ -94,6 +106,18 @@
<xs:any namespace="##any" minOccurs="0" processContents="lax" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="routesType">
<xs:sequence minOccurs="0">
<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:any namespace="##any" minOccurs="0" processContents="lax" />
</xs:sequence>
<xs:attribute name="id" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="environmentVariablesType">
<xs:sequence minOccurs="0">
<xs:element type="environmentVariableType" name="environmentVariable" minOccurs="0" maxOccurs="unbounded"/>
Expand All @@ -103,6 +127,7 @@
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element type="xs:string" name="key" maxOccurs="1" />
<xs:element type="xs:string" name="value" maxOccurs="1" />
<xs:element type="xs:string" name="encrypted" maxOccurs="1" />
</xs:choice>
</xs:complexType>
</xs:schema>
6 changes: 3 additions & 3 deletions brokerModule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<parent>
<artifactId>connector</artifactId>
<groupId>org.assimbly</groupId>
<version>3.3.0</version>
<version>3.4.0</version>
</parent>

<packaging>jar</packaging>
<groupId>org.assimbly</groupId>
<artifactId>brokerModule</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>

<name>brokerModule</name>

Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>org.assimbly</groupId>
<artifactId>baseModule</artifactId>
<version>3.2.0</version>
<version>3.4.0</version>
<scope>compile</scope>
</dependency>

Expand Down
8 changes: 4 additions & 4 deletions connectorModule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<parent>
<artifactId>connector</artifactId>
<groupId>org.assimbly</groupId>
<version>3.3.0</version>
<version>3.4.0</version>
</parent>

<packaging>jar</packaging>
<groupId>org.assimbly</groupId>
<artifactId>connectorModule</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>

<name>connectorModule</name>

Expand All @@ -23,13 +23,13 @@
<dependency>
<groupId>org.assimbly</groupId>
<artifactId>baseModule</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.assimbly</groupId>
<artifactId>extraModule</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>
<scope>compile</scope>
</dependency>
<!-- camel core dependencies in alphabetic order-->
Expand Down
Loading

0 comments on commit 461dfc8

Please sign in to comment.