Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 064FC1661B6 for ; Tue, 25 Jul 2017 11:34:46 +0200 (CEST) Received: (qmail 61740 invoked by uid 500); 25 Jul 2017 09:34:46 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 61731 invoked by uid 99); 25 Jul 2017 09:34:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2017 09:34:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7919EEE68A; Tue, 25 Jul 2017 09:34:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Tue, 25 Jul 2017 09:34:45 -0000 Message-Id: <6e166e3967f6493da66736f04ac5c6dc@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] camel git commit: Regen and add new component to release kit Repository: camel Updated Branches: refs/heads/master 3ee4c0822 -> 77ac1293d Regen and add new component to release kit Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/21ece1b8 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/21ece1b8 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/21ece1b8 Branch: refs/heads/master Commit: 21ece1b88dca3dc171aa68edc2006a85ea41092a Parents: 3ee4c08 Author: Claus Ibsen Authored: Tue Jul 25 11:29:27 2017 +0200 Committer: Claus Ibsen Committed: Tue Jul 25 11:29:27 2017 +0200 ---------------------------------------------------------------------- apache-camel/pom.xml | 9 + .../src/main/descriptors/common-bin.xml | 2 + apache-camel/src/main/release/README.txt | 1 + components/readme.adoc | 5 +- docs/user-manual/en/SUMMARY.md | 1 + parent/pom.xml | 10 + .../camel-crypto-cms-starter/pom.xml | 68 +- .../CryptoCmsComponentAutoConfiguration.java | 222 +++---- .../CryptoCmsComponentConfiguration.java | 130 ++-- .../spring-boot/components-starter/pom.xml | 648 +++++++++---------- 10 files changed, 561 insertions(+), 535 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/apache-camel/pom.xml ---------------------------------------------------------------------- diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml index 6ea43df..a76d047 100644 --- a/apache-camel/pom.xml +++ b/apache-camel/pom.xml @@ -220,6 +220,10 @@ org.apache.camel + camel-crypto-cms + + + org.apache.camel camel-csv @@ -1313,6 +1317,11 @@ org.apache.camel + camel-crypto-cms-starter + ${project.version} + + + org.apache.camel camel-csv-starter ${project.version} http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/apache-camel/src/main/descriptors/common-bin.xml ---------------------------------------------------------------------- diff --git a/apache-camel/src/main/descriptors/common-bin.xml b/apache-camel/src/main/descriptors/common-bin.xml index c17608e..a79147f 100644 --- a/apache-camel/src/main/descriptors/common-bin.xml +++ b/apache-camel/src/main/descriptors/common-bin.xml @@ -68,6 +68,7 @@ org.apache.camel:camel-couchdb org.apache.camel:camel-couchbase org.apache.camel:camel-crypto + org.apache.camel:camel-crypto-cms org.apache.camel:camel-csv org.apache.camel:camel-cxf org.apache.camel:camel-cxf-transport @@ -358,6 +359,7 @@ org.apache.camel:camel-couchdb-starter org.apache.camel:camel-couchbase-starter org.apache.camel:camel-crypto-starter + org.apache.camel:camel-crypto-cms-starter org.apache.camel:camel-csv-starter org.apache.camel:camel-cxf-starter org.apache.camel:camel-cxf-transport-starter http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/apache-camel/src/main/release/README.txt ---------------------------------------------------------------------- diff --git a/apache-camel/src/main/release/README.txt b/apache-camel/src/main/release/README.txt index 843dabf..36ad986 100755 --- a/apache-camel/src/main/release/README.txt +++ b/apache-camel/src/main/release/README.txt @@ -94,6 +94,7 @@ The following provides more details on the included cryptographic software: * camel-ahc can be configured to use https * camel-crypto can be used for secure communications + * camel-crypto-cms can be used for secure communications * camel-cxf can be configured for secure communications * camel-ftp can be configured for secure communications * camel-http can be configured to use https http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/components/readme.adoc ---------------------------------------------------------------------- diff --git a/components/readme.adoc b/components/readme.adoc index 32efc98..2a2712c 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -2,7 +2,7 @@ Components ^^^^^^^^^^ // components: START -Number of Components: 275 in 189 JAR artifacts (17 deprecated) +Number of Components: 276 in 190 JAR artifacts (17 deprecated) [width="100%",cols="4,1,5",options="header"] |======================================================================= @@ -173,6 +173,9 @@ Number of Components: 275 in 189 JAR artifacts (17 deprecated) | link:camel-crypto/src/main/docs/crypto-component.adoc[Crypto (JCE)] (camel-crypto) + `crypto:cryptoOperation:name` | 2.3 | The crypto component is used for signing and verifying exchanges using the Signature Service of the Java Cryptographic Extension (JCE). +| link:camel-crypto-cms/src/main/docs/crypto-cms-component.adoc[Crypto CMS] (camel-crypto-cms) + +`crypto-cms:cryptoOperation:name` | 2.20 | Camel Cryptographic Message Syntax Support + | link:camel-cxf/src/main/docs/cxf-component.adoc[CXF] (camel-cxf) + `cxf:beanId:address` | 1.0 | The cxf component is used for SOAP WebServices using Apache CXF. http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/docs/user-manual/en/SUMMARY.md ---------------------------------------------------------------------- diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md index 2b61b02..e23e2ac 100644 --- a/docs/user-manual/en/SUMMARY.md +++ b/docs/user-manual/en/SUMMARY.md @@ -174,6 +174,7 @@ * [Couchbase](couchbase-component.adoc) * [CouchDB](couchdb-component.adoc) * [Crypto (JCE)](crypto-component.adoc) + * [Crypto CMS](crypto-cms-component.adoc) * [CXF](cxf-component.adoc) * [CXF-RS](cxfrs-component.adoc) * [DigitalOcean](digitalocean-component.adoc) http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index 2bad036..e0fc31f 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -1017,6 +1017,11 @@ org.apache.camel + camel-crypto-cms + ${project.version} + + + org.apache.camel camel-csv ${project.version} @@ -2437,6 +2442,11 @@ org.apache.camel + camel-crypto-cms-starter + ${project.version} + + + org.apache.camel camel-csv-starter ${project.version} http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/platforms/spring-boot/components-starter/camel-crypto-cms-starter/pom.xml ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/pom.xml b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/pom.xml index e92c1f4..53c0922 100644 --- a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/pom.xml +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/pom.xml @@ -17,37 +17,37 @@ limitations under the License. --> - - 4.0.0 - - org.apache.camel - components-starter - 2.20.0-SNAPSHOT - - camel-crypto-cms-starter - jar - Spring-Boot Starter :: Camel :: Crypto - Spring-Boot Starter for Camel Cryptographic Support - - - org.springframework.boot - spring-boot-starter - ${spring-boot-version} - - - org.apache.camel - camel-crypto-cms - ${project.version} - - - - org.apache.camel - camel-core-starter - - - org.apache.camel - camel-spring-boot-starter - - - - + + 4.0.0 + + org.apache.camel + components-starter + 2.20.0-SNAPSHOT + + camel-crypto-cms-starter + jar + Spring-Boot Starter :: Camel :: Crypto + Spring-Boot Starter for Camel Cryptographic Support + + + org.springframework.boot + spring-boot-starter + ${spring-boot-version} + + + org.apache.camel + camel-crypto-cms + ${project.version} + + + + org.apache.camel + camel-core-starter + + + org.apache.camel + camel-spring-boot-starter + + + + http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentAutoConfiguration.java index e8d5e55..397864f 100644 --- a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentAutoConfiguration.java @@ -14,115 +14,115 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.crypto.cms.springboot; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.annotation.Generated; -import org.apache.camel.CamelContext; -import org.apache.camel.component.crypto.cms.CryptoCmsComponent; -import org.apache.camel.spi.ComponentCustomizer; -import org.apache.camel.spi.HasId; -import org.apache.camel.spring.boot.CamelAutoConfiguration; -import org.apache.camel.spring.boot.ComponentConfigurationProperties; -import org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans; -import org.apache.camel.spring.boot.util.GroupCondition; -import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator; -import org.apache.camel.util.IntrospectionSupport; -import org.apache.camel.util.ObjectHelper; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.autoconfigure.AutoConfigureAfter; -import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.ApplicationContext; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Conditional; -import org.springframework.context.annotation.Configuration; -import org.springframework.context.annotation.Lazy; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo") -@Configuration -@Conditional({ConditionalOnCamelContextAndAutoConfigurationBeans.class, - CryptoCmsComponentAutoConfiguration.GroupConditions.class}) -@AutoConfigureAfter(CamelAutoConfiguration.class) -@EnableConfigurationProperties({ComponentConfigurationProperties.class, - CryptoCmsComponentConfiguration.class}) -public class CryptoCmsComponentAutoConfiguration { - - private static final Logger LOGGER = LoggerFactory - .getLogger(CryptoCmsComponentAutoConfiguration.class); - @Autowired - private ApplicationContext applicationContext; - @Autowired - private CamelContext camelContext; - @Autowired - private CryptoCmsComponentConfiguration configuration; - @Autowired(required = false) - private List> customizers; - - static class GroupConditions extends GroupCondition { - public GroupConditions() { - super("camel.component", "camel.component.crypto-cms"); - } - } - - @Lazy - @Bean(name = "crypto-cms-component") - @ConditionalOnMissingBean(CryptoCmsComponent.class) - public CryptoCmsComponent configureCryptoCmsComponent() throws Exception { - CryptoCmsComponent component = new CryptoCmsComponent(); - component.setCamelContext(camelContext); - Map parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - if (ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer customizer : customizers) { - boolean useCustomizer = (customizer instanceof HasId) - ? HierarchicalPropertiesEvaluator.evaluate( - applicationContext.getEnvironment(), - "camel.component.customizer", - "camel.component.crypto-cms.customizer", - ((HasId) customizer).getId()) - : HierarchicalPropertiesEvaluator.evaluate( - applicationContext.getEnvironment(), - "camel.component.customizer", - "camel.component.crypto-cms.customizer"); - if (useCustomizer) { - LOGGER.debug("Configure component {}, with customizer {}", - component, customizer); - customizer.customize(component); - } - } - } - return component; - } +package org.apache.camel.component.crypto.cms.springboot; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import org.apache.camel.CamelContext; +import org.apache.camel.component.crypto.cms.CryptoCmsComponent; +import org.apache.camel.spi.ComponentCustomizer; +import org.apache.camel.spi.HasId; +import org.apache.camel.spring.boot.CamelAutoConfiguration; +import org.apache.camel.spring.boot.ComponentConfigurationProperties; +import org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans; +import org.apache.camel.spring.boot.util.GroupCondition; +import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator; +import org.apache.camel.util.IntrospectionSupport; +import org.apache.camel.util.ObjectHelper; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.autoconfigure.AutoConfigureAfter; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.boot.context.properties.EnableConfigurationProperties; +import org.springframework.context.ApplicationContext; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Conditional; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Lazy; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo") +@Configuration +@Conditional({ConditionalOnCamelContextAndAutoConfigurationBeans.class, + CryptoCmsComponentAutoConfiguration.GroupConditions.class}) +@AutoConfigureAfter(CamelAutoConfiguration.class) +@EnableConfigurationProperties({ComponentConfigurationProperties.class, + CryptoCmsComponentConfiguration.class}) +public class CryptoCmsComponentAutoConfiguration { + + private static final Logger LOGGER = LoggerFactory + .getLogger(CryptoCmsComponentAutoConfiguration.class); + @Autowired + private ApplicationContext applicationContext; + @Autowired + private CamelContext camelContext; + @Autowired + private CryptoCmsComponentConfiguration configuration; + @Autowired(required = false) + private List> customizers; + + static class GroupConditions extends GroupCondition { + public GroupConditions() { + super("camel.component", "camel.component.crypto-cms"); + } + } + + @Lazy + @Bean(name = "crypto-cms-component") + @ConditionalOnMissingBean(CryptoCmsComponent.class) + public CryptoCmsComponent configureCryptoCmsComponent() throws Exception { + CryptoCmsComponent component = new CryptoCmsComponent(); + component.setCamelContext(camelContext); + Map parameters = new HashMap<>(); + IntrospectionSupport.getProperties(configuration, parameters, null, + false); + for (Map.Entry entry : parameters.entrySet()) { + Object value = entry.getValue(); + Class paramClass = value.getClass(); + if (paramClass.getName().endsWith("NestedConfiguration")) { + Class nestedClass = null; + try { + nestedClass = (Class) paramClass.getDeclaredField( + "CAMEL_NESTED_CLASS").get(null); + HashMap nestedParameters = new HashMap<>(); + IntrospectionSupport.getProperties(value, nestedParameters, + null, false); + Object nestedProperty = nestedClass.newInstance(); + IntrospectionSupport.setProperties(camelContext, + camelContext.getTypeConverter(), nestedProperty, + nestedParameters); + entry.setValue(nestedProperty); + } catch (NoSuchFieldException e) { + } + } + } + IntrospectionSupport.setProperties(camelContext, + camelContext.getTypeConverter(), component, parameters); + if (ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer customizer : customizers) { + boolean useCustomizer = (customizer instanceof HasId) + ? HierarchicalPropertiesEvaluator.evaluate( + applicationContext.getEnvironment(), + "camel.component.customizer", + "camel.component.crypto-cms.customizer", + ((HasId) customizer).getId()) + : HierarchicalPropertiesEvaluator.evaluate( + applicationContext.getEnvironment(), + "camel.component.customizer", + "camel.component.crypto-cms.customizer"); + if (useCustomizer) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); + } + } + } + return component; + } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentConfiguration.java index 8993427..602b7b3 100644 --- a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentConfiguration.java @@ -14,69 +14,69 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.crypto.cms.springboot; - -import javax.annotation.Generated; -import org.apache.camel.component.crypto.cms.crypt.EnvelopedDataDecryptorConfiguration; -import org.apache.camel.component.crypto.cms.sig.SignedDataVerifierConfiguration; -import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon; -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; - -/** - * Camel Cryptographic Message Syntax Support - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo") -@ConfigurationProperties(prefix = "camel.component.crypto-cms") -public class CryptoCmsComponentConfiguration - extends - ComponentConfigurationPropertiesCommon { - - /** - * To configure the shared SignedDataVerifierConfiguration which determines - * the uri parameters for the verify operation. - */ - @NestedConfigurationProperty - private SignedDataVerifierConfiguration signedDataVerifierConfiguration; - /** - * To configure the shared EnvelopedDataDecryptorConfiguration which - * determines the uri parameters for the decrypt operation. - */ - @NestedConfigurationProperty - private EnvelopedDataDecryptorConfiguration envelopedDataDecryptorConfiguration; - /** - * Whether the component should resolve property placeholders on itself when - * starting. Only properties which are of String type can use property - * placeholders. - */ - private Boolean resolvePropertyPlaceholders = true; - - public SignedDataVerifierConfiguration getSignedDataVerifierConfiguration() { - return signedDataVerifierConfiguration; - } - - public void setSignedDataVerifierConfiguration( - SignedDataVerifierConfiguration signedDataVerifierConfiguration) { - this.signedDataVerifierConfiguration = signedDataVerifierConfiguration; - } - - public EnvelopedDataDecryptorConfiguration getEnvelopedDataDecryptorConfiguration() { - return envelopedDataDecryptorConfiguration; - } - - public void setEnvelopedDataDecryptorConfiguration( - EnvelopedDataDecryptorConfiguration envelopedDataDecryptorConfiguration) { - this.envelopedDataDecryptorConfiguration = envelopedDataDecryptorConfiguration; - } - - public Boolean getResolvePropertyPlaceholders() { - return resolvePropertyPlaceholders; - } - - public void setResolvePropertyPlaceholders( - Boolean resolvePropertyPlaceholders) { - this.resolvePropertyPlaceholders = resolvePropertyPlaceholders; - } +package org.apache.camel.component.crypto.cms.springboot; + +import javax.annotation.Generated; +import org.apache.camel.component.crypto.cms.crypt.EnvelopedDataDecryptorConfiguration; +import org.apache.camel.component.crypto.cms.sig.SignedDataVerifierConfiguration; +import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.boot.context.properties.NestedConfigurationProperty; + +/** + * Camel Cryptographic Message Syntax Support + * + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo") +@ConfigurationProperties(prefix = "camel.component.crypto-cms") +public class CryptoCmsComponentConfiguration + extends + ComponentConfigurationPropertiesCommon { + + /** + * To configure the shared SignedDataVerifierConfiguration which determines + * the uri parameters for the verify operation. + */ + @NestedConfigurationProperty + private SignedDataVerifierConfiguration signedDataVerifierConfiguration; + /** + * To configure the shared EnvelopedDataDecryptorConfiguration which + * determines the uri parameters for the decrypt operation. + */ + @NestedConfigurationProperty + private EnvelopedDataDecryptorConfiguration envelopedDataDecryptorConfiguration; + /** + * Whether the component should resolve property placeholders on itself when + * starting. Only properties which are of String type can use property + * placeholders. + */ + private Boolean resolvePropertyPlaceholders = true; + + public SignedDataVerifierConfiguration getSignedDataVerifierConfiguration() { + return signedDataVerifierConfiguration; + } + + public void setSignedDataVerifierConfiguration( + SignedDataVerifierConfiguration signedDataVerifierConfiguration) { + this.signedDataVerifierConfiguration = signedDataVerifierConfiguration; + } + + public EnvelopedDataDecryptorConfiguration getEnvelopedDataDecryptorConfiguration() { + return envelopedDataDecryptorConfiguration; + } + + public void setEnvelopedDataDecryptorConfiguration( + EnvelopedDataDecryptorConfiguration envelopedDataDecryptorConfiguration) { + this.envelopedDataDecryptorConfiguration = envelopedDataDecryptorConfiguration; + } + + public Boolean getResolvePropertyPlaceholders() { + return resolvePropertyPlaceholders; + } + + public void setResolvePropertyPlaceholders( + Boolean resolvePropertyPlaceholders) { + this.resolvePropertyPlaceholders = resolvePropertyPlaceholders; + } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/21ece1b8/platforms/spring-boot/components-starter/pom.xml ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/pom.xml b/platforms/spring-boot/components-starter/pom.xml index 279a009..f2a20a5 100644 --- a/platforms/spring-boot/components-starter/pom.xml +++ b/platforms/spring-boot/components-starter/pom.xml @@ -17,327 +17,327 @@ limitations under the License. --> - - 4.0.0 - - org.apache.camel - camel-starter-parent - 2.20.0-SNAPSHOT - ../../../platforms/spring-boot/spring-boot-dm/camel-starter-parent - - components-starter - pom - Camel :: Components :: Starter - Camel Components Starter - - - - org.springframework.boot - spring-boot - ${spring-boot-version} - provided - - - org.springframework.boot - spring-boot-autoconfigure - ${spring-boot-version} - provided - - - org.springframework.boot - spring-boot-configuration-processor - ${spring-boot-version} - provided - - - - org.springframework.boot - spring-boot-starter-test - ${spring-boot-version} - test - - - org.apache.camel - camel-test-spring - ${project.version} - test - - - - - - maven-surefire-plugin - - false - - - - - - - camel-ahc-starter - camel-ahc-ws-starter - camel-amqp-starter - camel-apns-starter - camel-asterisk-starter - camel-atmos-starter - camel-atmosphere-websocket-starter - camel-atom-starter - camel-atomix-starter - camel-avro-starter - camel-aws-starter - camel-azure-starter - camel-bam-starter - camel-barcode-starter - camel-base64-starter - camel-bean-validator-starter - camel-beanio-starter - camel-beanstalk-starter - camel-bindy-starter - camel-bonita-starter - camel-boon-starter - camel-box-starter - camel-braintree-starter - camel-cache-starter - camel-caffeine-starter - camel-cassandraql-starter - camel-castor-starter - camel-chronicle-starter - camel-chunk-starter - camel-cm-sms-starter - camel-cmis-starter - camel-coap-starter - camel-cometd-starter - camel-consul-starter - camel-context-starter - camel-core-starter - camel-couchbase-starter - camel-couchdb-starter - camel-crypto-cms-starter - camel-crypto-starter - camel-csv-starter - camel-cxf-starter - camel-cxf-transport-starter - camel-digitalocean-starter - camel-disruptor-starter - camel-dns-starter - camel-docker-starter - camel-dozer-starter - camel-drill-starter - camel-dropbox-starter - camel-eclipse-starter - camel-ehcache-starter - camel-elasticsearch-starter - camel-elasticsearch5-starter - camel-elsql-starter - camel-etcd-starter - camel-exec-starter - camel-facebook-starter - camel-fastjson-starter - camel-flatpack-starter - camel-flink-starter - camel-fop-starter - camel-freemarker-starter - camel-ftp-starter - camel-ganglia-starter - camel-geocoder-starter - camel-git-starter - camel-github-starter - camel-google-calendar-starter - camel-google-drive-starter - camel-google-mail-starter - camel-google-pubsub-starter - camel-gora-starter - camel-grape-starter - camel-groovy-starter - camel-grpc-starter - camel-gson-starter - camel-guava-eventbus-starter - camel-guice-starter - camel-hawtdb-starter - camel-hazelcast-starter - camel-hbase-starter - camel-hdfs-starter - camel-hdfs2-starter - camel-headersmap-starter - camel-hessian-starter - camel-hipchat-starter - camel-hl7-starter - camel-http-common-starter - camel-http-starter - camel-http4-starter - camel-hystrix-starter - camel-ical-starter - camel-ignite-starter - camel-infinispan-starter - camel-influxdb-starter - camel-irc-starter - camel-ironmq-starter - camel-jackson-starter - camel-jacksonxml-starter - camel-jasypt-starter - camel-javaspace-starter - camel-jaxb-starter - camel-jbpm-starter - camel-jcache-starter - camel-jcr-starter - camel-jdbc-starter - camel-jetty-common-starter - camel-jetty-starter - camel-jetty9-starter - camel-jgroups-starter - camel-jibx-starter - camel-jing-starter - camel-jira-starter - camel-jms-starter - camel-jmx-starter - camel-johnzon-starter - camel-jolt-starter - camel-josql-starter - camel-jpa-starter - camel-jsch-starter - camel-jsonpath-starter - camel-jt400-starter - camel-juel-starter - camel-jxpath-starter - camel-kafka-starter - camel-kestrel-starter - camel-krati-starter - camel-kubernetes-starter - camel-kura-starter - camel-ldap-starter - camel-leveldb-starter - camel-linkedin-starter - camel-lucene-starter - camel-lumberjack-starter - camel-lzf-starter - camel-mail-starter - camel-metrics-starter - camel-milo-starter - camel-mina2-starter - camel-mllp-starter - camel-mongodb-gridfs-starter - camel-mongodb-starter - camel-mongodb3-starter - camel-mqtt-starter - camel-msv-starter - camel-mustache-starter - camel-mvel-starter - camel-mybatis-starter - camel-nagios-starter - camel-nats-starter - camel-netty-http-starter - camel-netty-starter - camel-netty4-http-starter - camel-netty4-starter - camel-ognl-starter - camel-olingo2-starter - camel-olingo4-starter - camel-openshift-starter - camel-openstack-starter - camel-opentracing-starter - camel-optaplanner-starter - camel-paho-starter - camel-pdf-starter - camel-pgevent-starter - camel-printer-starter - camel-protobuf-starter - camel-pubnub-starter - camel-quartz2-starter - camel-quickfix-starter - camel-rabbitmq-starter - camel-reactive-streams-starter - camel-reactor-starter - camel-rest-swagger-starter - camel-restlet-starter - camel-ribbon-starter - camel-rmi-starter - camel-routebox-starter - camel-rss-starter - camel-ruby-starter - camel-rx-starter - camel-salesforce-starter - camel-sap-netweaver-starter - camel-saxon-starter - camel-schematron-starter - camel-script-starter - camel-servicenow-starter - camel-servlet-starter - camel-servletlistener-starter - camel-shiro-starter - camel-sip-starter - camel-sjms-starter - camel-sjms2-starter - camel-slack-starter - camel-smpp-starter - camel-snakeyaml-starter - camel-snmp-starter - camel-soap-starter - camel-solr-starter - camel-spark-starter - camel-splunk-starter - camel-spring-batch-starter - camel-spring-boot-starter - camel-spring-cloud-netflix-starter - camel-spring-cloud-starter - camel-spring-integration-starter - camel-spring-javaconfig-starter - camel-spring-ldap-starter - camel-spring-redis-starter - camel-spring-security-starter - camel-spring-starter - camel-spring-ws-starter - camel-sql-starter - camel-ssh-starter - camel-stax-starter - camel-stomp-starter - camel-stream-starter - camel-stringtemplate-starter - camel-swagger-java-starter - camel-syslog-starter - camel-tagsoup-starter - camel-tarfile-starter - camel-telegram-starter - camel-thrift-starter - camel-tika-starter - camel-twilio-starter - camel-twitter-starter - camel-undertow-starter - camel-univocity-parsers-starter - camel-urlrewrite-starter - camel-velocity-starter - camel-vertx-starter - camel-weather-starter - camel-websocket-starter - camel-xmlbeans-starter - camel-xmljson-starter - camel-xmlrpc-starter - camel-xmlsecurity-starter - camel-xmpp-starter - camel-xstream-starter - camel-yammer-starter - camel-zendesk-starter - camel-zipfile-starter - camel-zipkin-starter - camel-zookeeper-master-starter - camel-zookeeper-starter - - - - jdk9-build - - 9 - - - - - maven-surefire-plugin - - --add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED - - - - - - - + + 4.0.0 + + org.apache.camel + camel-starter-parent + 2.20.0-SNAPSHOT + ../../../platforms/spring-boot/spring-boot-dm/camel-starter-parent + + components-starter + pom + Camel :: Components :: Starter + Camel Components Starter + + + + org.springframework.boot + spring-boot + ${spring-boot-version} + provided + + + org.springframework.boot + spring-boot-autoconfigure + ${spring-boot-version} + provided + + + org.springframework.boot + spring-boot-configuration-processor + ${spring-boot-version} + provided + + + + org.springframework.boot + spring-boot-starter-test + ${spring-boot-version} + test + + + org.apache.camel + camel-test-spring + ${project.version} + test + + + + + + maven-surefire-plugin + + false + + + + + + + camel-ahc-starter + camel-ahc-ws-starter + camel-amqp-starter + camel-apns-starter + camel-asterisk-starter + camel-atmos-starter + camel-atmosphere-websocket-starter + camel-atom-starter + camel-atomix-starter + camel-avro-starter + camel-aws-starter + camel-azure-starter + camel-bam-starter + camel-barcode-starter + camel-base64-starter + camel-bean-validator-starter + camel-beanio-starter + camel-beanstalk-starter + camel-bindy-starter + camel-bonita-starter + camel-boon-starter + camel-box-starter + camel-braintree-starter + camel-cache-starter + camel-caffeine-starter + camel-cassandraql-starter + camel-castor-starter + camel-chronicle-starter + camel-chunk-starter + camel-cm-sms-starter + camel-cmis-starter + camel-coap-starter + camel-cometd-starter + camel-consul-starter + camel-context-starter + camel-core-starter + camel-couchbase-starter + camel-couchdb-starter + camel-crypto-cms-starter + camel-crypto-starter + camel-csv-starter + camel-cxf-starter + camel-cxf-transport-starter + camel-digitalocean-starter + camel-disruptor-starter + camel-dns-starter + camel-docker-starter + camel-dozer-starter + camel-drill-starter + camel-dropbox-starter + camel-eclipse-starter + camel-ehcache-starter + camel-elasticsearch-starter + camel-elasticsearch5-starter + camel-elsql-starter + camel-etcd-starter + camel-exec-starter + camel-facebook-starter + camel-fastjson-starter + camel-flatpack-starter + camel-flink-starter + camel-fop-starter + camel-freemarker-starter + camel-ftp-starter + camel-ganglia-starter + camel-geocoder-starter + camel-git-starter + camel-github-starter + camel-google-calendar-starter + camel-google-drive-starter + camel-google-mail-starter + camel-google-pubsub-starter + camel-gora-starter + camel-grape-starter + camel-groovy-starter + camel-grpc-starter + camel-gson-starter + camel-guava-eventbus-starter + camel-guice-starter + camel-hawtdb-starter + camel-hazelcast-starter + camel-hbase-starter + camel-hdfs-starter + camel-hdfs2-starter + camel-headersmap-starter + camel-hessian-starter + camel-hipchat-starter + camel-hl7-starter + camel-http-common-starter + camel-http-starter + camel-http4-starter + camel-hystrix-starter + camel-ical-starter + camel-ignite-starter + camel-infinispan-starter + camel-influxdb-starter + camel-irc-starter + camel-ironmq-starter + camel-jackson-starter + camel-jacksonxml-starter + camel-jasypt-starter + camel-javaspace-starter + camel-jaxb-starter + camel-jbpm-starter + camel-jcache-starter + camel-jcr-starter + camel-jdbc-starter + camel-jetty-common-starter + camel-jetty-starter + camel-jetty9-starter + camel-jgroups-starter + camel-jibx-starter + camel-jing-starter + camel-jira-starter + camel-jms-starter + camel-jmx-starter + camel-johnzon-starter + camel-jolt-starter + camel-josql-starter + camel-jpa-starter + camel-jsch-starter + camel-jsonpath-starter + camel-jt400-starter + camel-juel-starter + camel-jxpath-starter + camel-kafka-starter + camel-kestrel-starter + camel-krati-starter + camel-kubernetes-starter + camel-kura-starter + camel-ldap-starter + camel-leveldb-starter + camel-linkedin-starter + camel-lucene-starter + camel-lumberjack-starter + camel-lzf-starter + camel-mail-starter + camel-metrics-starter + camel-milo-starter + camel-mina2-starter + camel-mllp-starter + camel-mongodb-gridfs-starter + camel-mongodb-starter + camel-mongodb3-starter + camel-mqtt-starter + camel-msv-starter + camel-mustache-starter + camel-mvel-starter + camel-mybatis-starter + camel-nagios-starter + camel-nats-starter + camel-netty-http-starter + camel-netty-starter + camel-netty4-http-starter + camel-netty4-starter + camel-ognl-starter + camel-olingo2-starter + camel-olingo4-starter + camel-openshift-starter + camel-openstack-starter + camel-opentracing-starter + camel-optaplanner-starter + camel-paho-starter + camel-pdf-starter + camel-pgevent-starter + camel-printer-starter + camel-protobuf-starter + camel-pubnub-starter + camel-quartz2-starter + camel-quickfix-starter + camel-rabbitmq-starter + camel-reactive-streams-starter + camel-reactor-starter + camel-rest-swagger-starter + camel-restlet-starter + camel-ribbon-starter + camel-rmi-starter + camel-routebox-starter + camel-rss-starter + camel-ruby-starter + camel-rx-starter + camel-salesforce-starter + camel-sap-netweaver-starter + camel-saxon-starter + camel-schematron-starter + camel-script-starter + camel-servicenow-starter + camel-servlet-starter + camel-servletlistener-starter + camel-shiro-starter + camel-sip-starter + camel-sjms-starter + camel-sjms2-starter + camel-slack-starter + camel-smpp-starter + camel-snakeyaml-starter + camel-snmp-starter + camel-soap-starter + camel-solr-starter + camel-spark-starter + camel-splunk-starter + camel-spring-batch-starter + camel-spring-boot-starter + camel-spring-cloud-netflix-starter + camel-spring-cloud-starter + camel-spring-integration-starter + camel-spring-javaconfig-starter + camel-spring-ldap-starter + camel-spring-redis-starter + camel-spring-security-starter + camel-spring-starter + camel-spring-ws-starter + camel-sql-starter + camel-ssh-starter + camel-stax-starter + camel-stomp-starter + camel-stream-starter + camel-stringtemplate-starter + camel-swagger-java-starter + camel-syslog-starter + camel-tagsoup-starter + camel-tarfile-starter + camel-telegram-starter + camel-thrift-starter + camel-tika-starter + camel-twilio-starter + camel-twitter-starter + camel-undertow-starter + camel-univocity-parsers-starter + camel-urlrewrite-starter + camel-velocity-starter + camel-vertx-starter + camel-weather-starter + camel-websocket-starter + camel-xmlbeans-starter + camel-xmljson-starter + camel-xmlrpc-starter + camel-xmlsecurity-starter + camel-xmpp-starter + camel-xstream-starter + camel-yammer-starter + camel-zendesk-starter + camel-zipfile-starter + camel-zipkin-starter + camel-zookeeper-master-starter + camel-zookeeper-starter + + + + jdk9-build + + 9 + + + + + maven-surefire-plugin + + --add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED + + + + + + +