release version 1.10.0
This commit is contained in:
@ -1,16 +1,18 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core</groupId>
|
||||
<artifactId>objects-implementations</artifactId>
|
||||
<version>1.9.0</version>
|
||||
</parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations</groupId>
|
||||
<artifactId>route-implementation</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE</name>
|
||||
<description>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE</description>
|
||||
<modules>
|
||||
<module>route-producing</module>
|
||||
</modules>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core</groupId>
|
||||
<artifactId>objects-implementations</artifactId>
|
||||
<version>1.10.0</version>
|
||||
</parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations</groupId>
|
||||
<artifactId>route-implementation</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE</name>
|
||||
<description>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE</description>
|
||||
<modules>
|
||||
<module>route-producing</module>
|
||||
<module>route-runtime</module>
|
||||
</modules>
|
||||
</project>
|
||||
|
@ -1,29 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations</groupId>
|
||||
<artifactId>route-implementation</artifactId>
|
||||
<version>1.9.0</version>
|
||||
</parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations.route-implementation</groupId>
|
||||
<artifactId>route-producing</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE :: PRODUCING</name>
|
||||
<description>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE :: PRODUCING</description>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Entaxy-Template-Provider>true</Entaxy-Template-Provider>
|
||||
<Entaxy-Resource-Provider>true</Entaxy-Resource-Provider>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations</groupId>
|
||||
<artifactId>route-implementation</artifactId>
|
||||
<version>1.10.0</version>
|
||||
</parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations.route-implementation</groupId>
|
||||
<artifactId>route-producing</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE :: DESIGN</name>
|
||||
<description>ENTAXY :: PLATFORM :: CORE :: OBJECTS IMPLEMENTATIONS :: ROUTE :: DESIGN</description>
|
||||
|
||||
<properties>
|
||||
<bundle.osgi.export.pkg>ru.entaxy.platform.routes.design.library</bundle.osgi.export.pkg>
|
||||
<bundle.osgi.private.pkg>ru.entaxy.platform.routes.design.library.storage,
|
||||
ru.entaxy.platform.routes.design.library.impl,
|
||||
ru.entaxy.platform.routes.design.library.shell,
|
||||
ru.entaxy.platform.routes.design.library.tracker</bundle.osgi.private.pkg>
|
||||
<bundle.osgi.remove.headers>none</bundle.osgi.remove.headers>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.object-producing</groupId>
|
||||
<artifactId>object-producing-resources-support</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.base.resources</groupId>
|
||||
<artifactId>resources-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.base.resources</groupId>
|
||||
<artifactId>resources-service</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.karaf.shell</groupId>
|
||||
<artifactId>org.apache.karaf.shell.core</artifactId>
|
||||
<version>${karaf.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Entaxy-Factory-Provider>true</Entaxy-Factory-Provider>
|
||||
<Entaxy-Template-Provider>true</Entaxy-Template-Provider>
|
||||
<Entaxy-Resource-Provider>true</Entaxy-Resource-Provider>
|
||||
<Entaxy-Extensions-Provider>true</Entaxy-Extensions-Provider>
|
||||
<Entaxy-Component-Library-Provider>true</Entaxy-Component-Library-Provider>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
@ -102,6 +102,52 @@
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="//read-secret" exclude-result-prefixes="xsl fn xs">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@vault">
|
||||
<xsl:variable name="vault">
|
||||
<xsl:value-of select="@vault"/>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="property">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@property">
|
||||
<xsl:value-of select="@property"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>__SECRET__</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="secretName">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@alias">
|
||||
<xsl:value-of select="@alias"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>secret</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="dollar">
|
||||
<xsl:text>$</xsl:text>
|
||||
</xsl:variable>
|
||||
<bp:reference interface="ru.entaxy.security.vault.runtime.EntaxyVault" xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0">
|
||||
<xsl:attribute name="id" select="concat('vault-ref-',$vault)" />
|
||||
<xsl:attribute name="filter" select="concat('(name=', $vault, ')')"/>
|
||||
</bp:reference>
|
||||
<bp:bean class="ru.entaxy.security.vault.runtime.camel.EntaxyVaultHelperBean" activation="eager" xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0">
|
||||
<xsl:attribute name="id" select="concat('vault-wrapper-',$vault)" />
|
||||
<bp:property name="entaxyVault">
|
||||
<xsl:attribute name="ref" select="concat('vault-ref-',$vault)" />
|
||||
</bp:property>
|
||||
</bp:bean>
|
||||
<to>
|
||||
<xsl:attribute name="uri" select="concat('bean:vault-wrapper-',$vault,'?method=getValue(', $dollar, '{exchange}, ''', $secretName, ''',''', $property, ''')' )" />
|
||||
</to>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="//respond" exclude-result-prefixes="xsl fn xs">
|
||||
<xsl:variable name="respondNow">
|
||||
<xsl:choose>
|
||||
@ -246,6 +292,29 @@
|
||||
</to>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="//route//atlasmap" exclude-result-prefixes="xsl fn xs">
|
||||
<to>
|
||||
<xsl:variable name="resource">
|
||||
<xsl:value-of select="@resource"/>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="params">
|
||||
<xsl:value-of select="@params"/>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="resultParams">
|
||||
<xsl:choose>
|
||||
<xsl:when test="string-length($params) > 0">
|
||||
<xsl:value-of select="concat( '?', $params)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:attribute name="uri"
|
||||
select="concat('atlas:entaxy-resource:', $resource, $resultParams)"/>
|
||||
</to>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="convert-to-query" exclude-result-prefixes="xsl fn xs">
|
||||
<xsl:value-of select="concat(node-name(.), '=', text())"/>
|
||||
<xsl:if test="./following-sibling::element()">
|
||||
@ -269,7 +338,7 @@
|
||||
<xsl:comment>generated from 'default-destination'</xsl:comment>
|
||||
<choice>
|
||||
<when>
|
||||
<simple>${headers.ENTAXY_Destination} == null</simple>
|
||||
<simple>${headers.ENTAXY_Destination} == null || ${headers.ENTAXY_Destination} == ''</simple>
|
||||
<removeHeader headerName="ENTAXY_DestinationType"/>
|
||||
<setHeader name="ENTAXY_Destination">
|
||||
<constant>
|
||||
|
Reference in New Issue
Block a user