Repository: camel Updated Branches: refs/heads/master cf96ff477 -> b831203b8
http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/util/TestOriginatorInformationProvider.java ---------------------------------------------------------------------- diff --git a/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/util/TestOriginatorInformationProvider.java b/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/util/TestOriginatorInformationProvider.java new file mode 100644 index 0000000..f5037de --- /dev/null +++ b/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/util/TestOriginatorInformationProvider.java @@ -0,0 +1,49 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.crypto.cms.util; + +import java.security.cert.X509Certificate; + +import org.apache.camel.Exchange; +import org.apache.camel.component.crypto.cms.common.OriginatorInformationProvider; +import org.apache.camel.component.crypto.cms.exception.CryptoCmsException; +import org.apache.camel.util.jsse.KeyStoreParameters; +import org.bouncycastle.cert.X509CertificateHolder; +import org.bouncycastle.cms.OriginatorInfoGenerator; +import org.bouncycastle.cms.OriginatorInformation; + +import static org.junit.Assert.assertNotNull; + +public class TestOriginatorInformationProvider implements OriginatorInformationProvider { + + @Override + public OriginatorInformation getOriginatorInformation(Exchange exchange) throws CryptoCmsException { + + try { + KeyStoreParameters keyStorePas = KeystoreUtil.getKeyStoreParameters("test.jks"); + assertNotNull(keyStorePas); + X509Certificate cert = (X509Certificate)keyStorePas.createKeyStore().getCertificate("test user keystore test"); + assertNotNull(cert); + X509CertificateHolder origCert = new X509CertificateHolder(cert.getEncoded()); + return new OriginatorInfoGenerator(origCert).generate(); + } catch (Exception e) { + throw new CryptoCmsException(e); + } + + } + +} http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/camel-crypto-cms/src/test/resources/detached_signature.base64 ---------------------------------------------------------------------- diff --git a/components/camel-crypto-cms/src/test/resources/detached_signature.base64 b/components/camel-crypto-cms/src/test/resources/detached_signature.base64 new file mode 100644 index 0000000..e5c305e --- /dev/null +++ b/components/camel-crypto-cms/src/test/resources/detached_signature.base64 @@ -0,0 +1,8 @@ +MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAMYIBXDCCAVgC +AQEwKzAjMQ4wDAYDVQQKDAVDYW1lbDERMA8GA1UEAwwIdGVzdHVzZXICBFlWR2QwCQYFKw4DAhoF +AKCBiDAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNzA2MzAxOTE1 +NDhaMCMGCSqGSIb3DQEJBDEWBBQ9I0wDF2KKttiOpt/51oW/SEI7LTApBgkqhkiG9w0BCTQxHDAa +MAkGBSsOAwIaBQChDQYJKoZIhvcNAQEBBQAwDQYJKoZIhvcNAQEBBQAEgYBi94gFvsL7B2vFqO/S +AylXrTVcDhGgQQDicRiOIB5XXOXbXbIvI32d3OA7px0XaiW7EvMBLAF9wsQ9yM4XuNE5R6VPV8l+ +4siE23HqjNkZHeapVsr1tarBzpOuxpa+PDksdHDpaGQgtdWjLGPZwgIx0CP3E8KJwZjcBs63ua2c +QgAAAAAAAA== http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/camel-crypto-cms/src/test/resources/detached_signature.binary ---------------------------------------------------------------------- diff --git a/components/camel-crypto-cms/src/test/resources/detached_signature.binary b/components/camel-crypto-cms/src/test/resources/detached_signature.binary new file mode 100644 index 0000000..619ae53 Binary files /dev/null and b/components/camel-crypto-cms/src/test/resources/detached_signature.binary differ http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/camel-crypto-cms/src/test/resources/keystore/system.jks ---------------------------------------------------------------------- diff --git a/components/camel-crypto-cms/src/test/resources/keystore/system.jks b/components/camel-crypto-cms/src/test/resources/keystore/system.jks new file mode 100644 index 0000000..c9f894e Binary files /dev/null and b/components/camel-crypto-cms/src/test/resources/keystore/system.jks differ http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/camel-crypto-cms/src/test/resources/keystore/test.jks ---------------------------------------------------------------------- diff --git a/components/camel-crypto-cms/src/test/resources/keystore/test.jks b/components/camel-crypto-cms/src/test/resources/keystore/test.jks new file mode 100644 index 0000000..4bd2c95 Binary files /dev/null and b/components/camel-crypto-cms/src/test/resources/keystore/test.jks differ http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/camel-crypto-cms/src/test/resources/log4j2.properties ---------------------------------------------------------------------- diff --git a/components/camel-crypto-cms/src/test/resources/log4j2.properties b/components/camel-crypto-cms/src/test/resources/log4j2.properties new file mode 100644 index 0000000..c55bc31 --- /dev/null +++ b/components/camel-crypto-cms/src/test/resources/log4j2.properties @@ -0,0 +1,29 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## --------------------------------------------------------------------------- + +appender.file.type = File +appender.file.name = file +appender.file.fileName = target/camel-crypto-cms-test.log +appender.file.layout.type = PatternLayout +appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n +appender.out.type = Console +appender.out.name = out +appender.out.layout.type = PatternLayout +appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n +rootLogger.level = DEBUG +#rootLogger.appenderRef.file.ref = file +rootLogger.appenderRef.out.ref = out http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/camel-crypto-cms/src/test/resources/signed_enveloped_other_CMS_vendor.binary ---------------------------------------------------------------------- diff --git a/components/camel-crypto-cms/src/test/resources/signed_enveloped_other_CMS_vendor.binary b/components/camel-crypto-cms/src/test/resources/signed_enveloped_other_CMS_vendor.binary new file mode 100644 index 0000000..27006c9 --- /dev/null +++ b/components/camel-crypto-cms/src/test/resources/signed_enveloped_other_CMS_vendor.binary @@ -0,0 +1,28 @@ +MIAGCSqGSIb3DQEHA6CAMIACAQAxgcUwgcICAQAwKzAjMQ4wDAYDVQQKDAVDYW1l +bDERMA8GA1UEAwwIdGVzdHVzZXICBFlWR2QwDQYJKoZIhvcNAQEBBQAEgYArqASJ +Bo7XOI05zGJ3C4q8tczaYhsRm+2z9LBIFPAsHulwhDG8xMwZya/wP6fT7pdr+NR/ +ZT8tIbMWEedhYYifHDZ/VRIl8TNPg5heeE9QV+u398+FyZ3wZUKJyTy+wzkoAa76 +qWnYQYm81kzIBaPWYF+HT9wUMvOW+GeWfBJ04DCABgkqhkiG9w0BBwEwFAYIKoZI +hvcNAwcECA8w3syXyAyboIAEggQYSFu9z7gvX1cKdq4+fS0HFHr960mNNB/vu/ve +kldLLIAsXDI7tIvTyyMJ3lUR2ly8xA1H73AkC+hX2tnsrjp9W8VzpRPaMYXleJX/ +nVWX4ZC3aFLh7FsaalcUvg/z6l9/xW3aTm/kcon890ghlmLQ1gnxogvgGlezZq4+ +BZ9e686cQJydjuheJRk2FJkKXkjxD2BOaZrRhiXLYf7BI83XVgN1lEXngQmTK32b +OQ6oHYfcuMPTN3FghTx4v9A4Vm7QuH+UeUsywAhSGPjW7hzZ2HF0QM5psxlwqAmp +i6xOje9qUVXzc9aRxZFwawtLP51jVEewm7FZgs0zd1fz79SWP5YP3FXsYEiw3tf9 +Dq25lGy7Rt5Dh7HDRn+CcIaBnOZiD9ydG13iEd2rx+jZc/tG0zy+BrLyKOR+Ohf1 +WJvYUo+4TnrJToc6IVqCtxwCFLM6Yt9WMtL//Fc1rDTtbOPtPRpTMkoxHw7zARiR +rFSUd4gFxQjg3nvi8BkNxy2Vhwdhzy1HwMJWijmvlWZ27UH+knXdi0zmwjSiIQ8A +/VobUzpLhd9PoTaoaWp2w0u1NSHC4TH9M1FoCs0AGaIvfJDpbvzvswjRxpS0d6Tw +PK6Qe+KBA/lGJpMM+IeA7cwulLxfSQ8PQHaeo3G+ZZOr0ZYjkzc4cBjm9GtaN8ip +E35Z3+gqCecyJM0O5jxSM6PrxCA1AWFvA9H+mIadLStgQ9cG3svQqEG6lVJQPgzu +hd4C5vIvt68MkCNJD16EBID+COYH40IjM97BI8N+t/Ni+ziNcDKWQiqWwLD8/ljL +7YXePtJChaUv2EO5sSKTjBM2tJ+RMoDQr9kgMFQ8J1NahRtQmGRIH6SUAJXD5ptf +ls53ad6R6bBto9wV0ErVebxkjQKQSNUnyBeyf+w6+RJ4QnidLBKieRlMplNLUlnm +DNGbts1/0v7fIovMMr5lKVA9eLCMClUS6WQiN84EZV+1JQwHcTQ0yEOgz06bpssz +gK/9mFDv7PLZbnMa4cjkH3JZqEnVGLEv1hJEgiwkVruzHH+Q7dSTOGkRBbdbQDoe +0HDZGk0/urSe9yAbREbh8zb1DqO4bilySXWpivtLFk49IyEccYwnZJiN2la9BQFK +6A6BNZF8d8yMezeRddybHPIZkHD5r9DfLDgrKo9T0+oSefvGjDntS8AjrdsaPgm8 +dWXjjOAO9OhNxNa2dJF6Zxr/Z7bmbgFgVFkWr3K72bCEr/RfIbob5kwfkZ6IkKCg +kQxdj30HeFWTBalhxp61IkB1ySGI8MKQtH0/A71IbKyhX+YdvmEQFAoUSvhz3/FN +zZRDvc73SARqRpTuVMHLqZMdZ641o1EfXsKpwgTnbX5EExkp43ydQUiJRG4cS8+h +dK2sBu8z17apihJrLgAAAAAAAAAAAAA= \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/components/pom.xml ---------------------------------------------------------------------- diff --git a/components/pom.xml b/components/pom.xml index 72a1fd0..5a72166 100644 --- a/components/pom.xml +++ b/components/pom.xml @@ -102,6 +102,7 @@ <module>camel-couchbase</module> <module>camel-couchdb</module> <module>camel-crypto</module> + <module>camel-crypto-cms</module> <module>camel-csv</module> <module>camel-digitalocean</module> <module>camel-disruptor</module> http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/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 new file mode 100644 index 0000000..e92c1f4 --- /dev/null +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/pom.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<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 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>components-starter</artifactId> + <version>2.20.0-SNAPSHOT</version> + </parent> + <artifactId>camel-crypto-cms-starter</artifactId> + <packaging>jar</packaging> + <name>Spring-Boot Starter :: Camel :: Crypto</name> + <description>Spring-Boot Starter for Camel Cryptographic Support</description> + <dependencies> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter</artifactId> + <version>${spring-boot-version}</version> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-crypto-cms</artifactId> + <version>${project.version}</version> + </dependency> + <!--START OF GENERATED CODE--> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core-starter</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring-boot-starter</artifactId> + </dependency> + <!--END OF GENERATED CODE--> + </dependencies> +</project> http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/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 new file mode 100644 index 0000000..e8d5e55 --- /dev/null +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentAutoConfiguration.java @@ -0,0 +1,128 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * 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<ComponentCustomizer<CryptoCmsComponent>> 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<String, Object> parameters = new HashMap<>(); + IntrospectionSupport.getProperties(configuration, parameters, null, + false); + for (Map.Entry<String, Object> 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<String, Object> 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<CryptoCmsComponent> 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/b831203b/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 new file mode 100644 index 0000000..8993427 --- /dev/null +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/java/org/apache/camel/component/crypto/cms/springboot/CryptoCmsComponentConfiguration.java @@ -0,0 +1,82 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * 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; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/LICENSE.txt ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/LICENSE.txt b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/NOTICE.txt ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/NOTICE.txt b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/NOTICE.txt new file mode 100644 index 0000000..2e215bf --- /dev/null +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/NOTICE.txt @@ -0,0 +1,11 @@ + ========================================================================= + == NOTICE file corresponding to the section 4 d of == + == the Apache License, Version 2.0, == + == in this case for the Apache Camel distribution. == + ========================================================================= + + This product includes software developed by + The Apache Software Foundation (http://www.apache.org/). + + Please read the different LICENSE files present in the licenses directory of + this distribution. http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.factories b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..106227d --- /dev/null +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## --------------------------------------------------------------------------- + +org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ +org.apache.camel.component.crypto.cms.springboot.CryptoCmsComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.provides ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.provides b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.provides new file mode 100644 index 0000000..a2f9dec --- /dev/null +++ b/platforms/spring-boot/components-starter/camel-crypto-cms-starter/src/main/resources/META-INF/spring.provides @@ -0,0 +1,17 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## --------------------------------------------------------------------------- +provides: camel-crypto-cms http://git-wip-us.apache.org/repos/asf/camel/blob/b831203b/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 50a345a..279a009 100644 --- a/platforms/spring-boot/components-starter/pom.xml +++ b/platforms/spring-boot/components-starter/pom.xml @@ -17,326 +17,327 @@ limitations under the License. --> -<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 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel</groupId> - <artifactId>camel-starter-parent</artifactId> - <version>2.20.0-SNAPSHOT</version> - <relativePath>../../../platforms/spring-boot/spring-boot-dm/camel-starter-parent</relativePath> - </parent> - <artifactId>components-starter</artifactId> - <packaging>pom</packaging> - <name>Camel :: Components :: Starter</name> - <description>Camel Components Starter</description> - <!-- to support spring-boot auto configuration in the Camel components --> - <dependencies> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot</artifactId> - <version>${spring-boot-version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-autoconfigure</artifactId> - <version>${spring-boot-version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-configuration-processor</artifactId> - <version>${spring-boot-version}</version> - <scope>provided</scope> - </dependency> - <!-- Test dependencies --> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-test</artifactId> - <version>${spring-boot-version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> - <version>${project.version}</version> - <scope>test</scope> - </dependency> - </dependencies> - <build> - <plugins> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <failIfNoTests>false</failIfNoTests> - </configuration> - </plugin> - </plugins> - </build> - <!-- WARNING: do not edit the modules section, it is update automatically by the camel-package plugin --> - <modules> - <module>camel-ahc-starter</module> - <module>camel-ahc-ws-starter</module> - <module>camel-amqp-starter</module> - <module>camel-apns-starter</module> - <module>camel-asterisk-starter</module> - <module>camel-atmos-starter</module> - <module>camel-atmosphere-websocket-starter</module> - <module>camel-atom-starter</module> - <module>camel-atomix-starter</module> - <module>camel-avro-starter</module> - <module>camel-aws-starter</module> - <module>camel-azure-starter</module> - <module>camel-bam-starter</module> - <module>camel-barcode-starter</module> - <module>camel-base64-starter</module> - <module>camel-bean-validator-starter</module> - <module>camel-beanio-starter</module> - <module>camel-beanstalk-starter</module> - <module>camel-bindy-starter</module> - <module>camel-bonita-starter</module> - <module>camel-boon-starter</module> - <module>camel-box-starter</module> - <module>camel-braintree-starter</module> - <module>camel-cache-starter</module> - <module>camel-caffeine-starter</module> - <module>camel-cassandraql-starter</module> - <module>camel-castor-starter</module> - <module>camel-chronicle-starter</module> - <module>camel-chunk-starter</module> - <module>camel-cm-sms-starter</module> - <module>camel-cmis-starter</module> - <module>camel-coap-starter</module> - <module>camel-cometd-starter</module> - <module>camel-consul-starter</module> - <module>camel-context-starter</module> - <module>camel-core-starter</module> - <module>camel-couchbase-starter</module> - <module>camel-couchdb-starter</module> - <module>camel-crypto-starter</module> - <module>camel-csv-starter</module> - <module>camel-cxf-starter</module> - <module>camel-cxf-transport-starter</module> - <module>camel-digitalocean-starter</module> - <module>camel-disruptor-starter</module> - <module>camel-dns-starter</module> - <module>camel-docker-starter</module> - <module>camel-dozer-starter</module> - <module>camel-drill-starter</module> - <module>camel-dropbox-starter</module> - <module>camel-eclipse-starter</module> - <module>camel-ehcache-starter</module> - <module>camel-elasticsearch-starter</module> - <module>camel-elasticsearch5-starter</module> - <module>camel-elsql-starter</module> - <module>camel-etcd-starter</module> - <module>camel-exec-starter</module> - <module>camel-facebook-starter</module> - <module>camel-fastjson-starter</module> - <module>camel-flatpack-starter</module> - <module>camel-flink-starter</module> - <module>camel-fop-starter</module> - <module>camel-freemarker-starter</module> - <module>camel-ftp-starter</module> - <module>camel-ganglia-starter</module> - <module>camel-geocoder-starter</module> - <module>camel-git-starter</module> - <module>camel-github-starter</module> - <module>camel-google-calendar-starter</module> - <module>camel-google-drive-starter</module> - <module>camel-google-mail-starter</module> - <module>camel-google-pubsub-starter</module> - <module>camel-gora-starter</module> - <module>camel-grape-starter</module> - <module>camel-groovy-starter</module> - <module>camel-grpc-starter</module> - <module>camel-gson-starter</module> - <module>camel-guava-eventbus-starter</module> - <module>camel-guice-starter</module> - <module>camel-hawtdb-starter</module> - <module>camel-hazelcast-starter</module> - <module>camel-hbase-starter</module> - <module>camel-hdfs-starter</module> - <module>camel-hdfs2-starter</module> - <module>camel-headersmap-starter</module> - <module>camel-hessian-starter</module> - <module>camel-hipchat-starter</module> - <module>camel-hl7-starter</module> - <module>camel-http-common-starter</module> - <module>camel-http-starter</module> - <module>camel-http4-starter</module> - <module>camel-hystrix-starter</module> - <module>camel-ical-starter</module> - <module>camel-ignite-starter</module> - <module>camel-infinispan-starter</module> - <module>camel-influxdb-starter</module> - <module>camel-irc-starter</module> - <module>camel-ironmq-starter</module> - <module>camel-jackson-starter</module> - <module>camel-jacksonxml-starter</module> - <module>camel-jasypt-starter</module> - <module>camel-javaspace-starter</module> - <module>camel-jaxb-starter</module> - <module>camel-jbpm-starter</module> - <module>camel-jcache-starter</module> - <module>camel-jcr-starter</module> - <module>camel-jdbc-starter</module> - <module>camel-jetty-common-starter</module> - <module>camel-jetty-starter</module> - <module>camel-jetty9-starter</module> - <module>camel-jgroups-starter</module> - <module>camel-jibx-starter</module> - <module>camel-jing-starter</module> - <module>camel-jira-starter</module> - <module>camel-jms-starter</module> - <module>camel-jmx-starter</module> - <module>camel-johnzon-starter</module> - <module>camel-jolt-starter</module> - <module>camel-josql-starter</module> - <module>camel-jpa-starter</module> - <module>camel-jsch-starter</module> - <module>camel-jsonpath-starter</module> - <module>camel-jt400-starter</module> - <module>camel-juel-starter</module> - <module>camel-jxpath-starter</module> - <module>camel-kafka-starter</module> - <module>camel-kestrel-starter</module> - <module>camel-krati-starter</module> - <module>camel-kubernetes-starter</module> - <module>camel-kura-starter</module> - <module>camel-ldap-starter</module> - <module>camel-leveldb-starter</module> - <module>camel-linkedin-starter</module> - <module>camel-lucene-starter</module> - <module>camel-lumberjack-starter</module> - <module>camel-lzf-starter</module> - <module>camel-mail-starter</module> - <module>camel-metrics-starter</module> - <module>camel-milo-starter</module> - <module>camel-mina2-starter</module> - <module>camel-mllp-starter</module> - <module>camel-mongodb-gridfs-starter</module> - <module>camel-mongodb-starter</module> - <module>camel-mongodb3-starter</module> - <module>camel-mqtt-starter</module> - <module>camel-msv-starter</module> - <module>camel-mustache-starter</module> - <module>camel-mvel-starter</module> - <module>camel-mybatis-starter</module> - <module>camel-nagios-starter</module> - <module>camel-nats-starter</module> - <module>camel-netty-http-starter</module> - <module>camel-netty-starter</module> - <module>camel-netty4-http-starter</module> - <module>camel-netty4-starter</module> - <module>camel-ognl-starter</module> - <module>camel-olingo2-starter</module> - <module>camel-olingo4-starter</module> - <module>camel-openshift-starter</module> - <module>camel-openstack-starter</module> - <module>camel-opentracing-starter</module> - <module>camel-optaplanner-starter</module> - <module>camel-paho-starter</module> - <module>camel-pdf-starter</module> - <module>camel-pgevent-starter</module> - <module>camel-printer-starter</module> - <module>camel-protobuf-starter</module> - <module>camel-pubnub-starter</module> - <module>camel-quartz2-starter</module> - <module>camel-quickfix-starter</module> - <module>camel-rabbitmq-starter</module> - <module>camel-reactive-streams-starter</module> - <module>camel-reactor-starter</module> - <module>camel-rest-swagger-starter</module> - <module>camel-restlet-starter</module> - <module>camel-ribbon-starter</module> - <module>camel-rmi-starter</module> - <module>camel-routebox-starter</module> - <module>camel-rss-starter</module> - <module>camel-ruby-starter</module> - <module>camel-rx-starter</module> - <module>camel-salesforce-starter</module> - <module>camel-sap-netweaver-starter</module> - <module>camel-saxon-starter</module> - <module>camel-schematron-starter</module> - <module>camel-script-starter</module> - <module>camel-servicenow-starter</module> - <module>camel-servlet-starter</module> - <module>camel-servletlistener-starter</module> - <module>camel-shiro-starter</module> - <module>camel-sip-starter</module> - <module>camel-sjms-starter</module> - <module>camel-sjms2-starter</module> - <module>camel-slack-starter</module> - <module>camel-smpp-starter</module> - <module>camel-snakeyaml-starter</module> - <module>camel-snmp-starter</module> - <module>camel-soap-starter</module> - <module>camel-solr-starter</module> - <module>camel-spark-starter</module> - <module>camel-splunk-starter</module> - <module>camel-spring-batch-starter</module> - <module>camel-spring-boot-starter</module> - <module>camel-spring-cloud-netflix-starter</module> - <module>camel-spring-cloud-starter</module> - <module>camel-spring-integration-starter</module> - <module>camel-spring-javaconfig-starter</module> - <module>camel-spring-ldap-starter</module> - <module>camel-spring-redis-starter</module> - <module>camel-spring-security-starter</module> - <module>camel-spring-starter</module> - <module>camel-spring-ws-starter</module> - <module>camel-sql-starter</module> - <module>camel-ssh-starter</module> - <module>camel-stax-starter</module> - <module>camel-stomp-starter</module> - <module>camel-stream-starter</module> - <module>camel-stringtemplate-starter</module> - <module>camel-swagger-java-starter</module> - <module>camel-syslog-starter</module> - <module>camel-tagsoup-starter</module> - <module>camel-tarfile-starter</module> - <module>camel-telegram-starter</module> - <module>camel-thrift-starter</module> - <module>camel-tika-starter</module> - <module>camel-twilio-starter</module> - <module>camel-twitter-starter</module> - <module>camel-undertow-starter</module> - <module>camel-univocity-parsers-starter</module> - <module>camel-urlrewrite-starter</module> - <module>camel-velocity-starter</module> - <module>camel-vertx-starter</module> - <module>camel-weather-starter</module> - <module>camel-websocket-starter</module> - <module>camel-xmlbeans-starter</module> - <module>camel-xmljson-starter</module> - <module>camel-xmlrpc-starter</module> - <module>camel-xmlsecurity-starter</module> - <module>camel-xmpp-starter</module> - <module>camel-xstream-starter</module> - <module>camel-yammer-starter</module> - <module>camel-zendesk-starter</module> - <module>camel-zipfile-starter</module> - <module>camel-zipkin-starter</module> - <module>camel-zookeeper-master-starter</module> - <module>camel-zookeeper-starter</module> - </modules> - <profiles> - <profile> - <id>jdk9-build</id> - <activation> - <jdk>9</jdk> - </activation> - <build> - <plugins> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine> - </configuration> - </plugin> - </plugins> - </build> - </profile> - </profiles> -</project> +<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 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>camel-starter-parent</artifactId> + <version>2.20.0-SNAPSHOT</version> + <relativePath>../../../platforms/spring-boot/spring-boot-dm/camel-starter-parent</relativePath> + </parent> + <artifactId>components-starter</artifactId> + <packaging>pom</packaging> + <name>Camel :: Components :: Starter</name> + <description>Camel Components Starter</description> + <!-- to support spring-boot auto configuration in the Camel components --> + <dependencies> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot</artifactId> + <version>${spring-boot-version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-autoconfigure</artifactId> + <version>${spring-boot-version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-configuration-processor</artifactId> + <version>${spring-boot-version}</version> + <scope>provided</scope> + </dependency> + <!-- Test dependencies --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <version>${spring-boot-version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-test-spring</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <failIfNoTests>false</failIfNoTests> + </configuration> + </plugin> + </plugins> + </build> + <!-- WARNING: do not edit the modules section, it is update automatically by the camel-package plugin --> + <modules> + <module>camel-ahc-starter</module> + <module>camel-ahc-ws-starter</module> + <module>camel-amqp-starter</module> + <module>camel-apns-starter</module> + <module>camel-asterisk-starter</module> + <module>camel-atmos-starter</module> + <module>camel-atmosphere-websocket-starter</module> + <module>camel-atom-starter</module> + <module>camel-atomix-starter</module> + <module>camel-avro-starter</module> + <module>camel-aws-starter</module> + <module>camel-azure-starter</module> + <module>camel-bam-starter</module> + <module>camel-barcode-starter</module> + <module>camel-base64-starter</module> + <module>camel-bean-validator-starter</module> + <module>camel-beanio-starter</module> + <module>camel-beanstalk-starter</module> + <module>camel-bindy-starter</module> + <module>camel-bonita-starter</module> + <module>camel-boon-starter</module> + <module>camel-box-starter</module> + <module>camel-braintree-starter</module> + <module>camel-cache-starter</module> + <module>camel-caffeine-starter</module> + <module>camel-cassandraql-starter</module> + <module>camel-castor-starter</module> + <module>camel-chronicle-starter</module> + <module>camel-chunk-starter</module> + <module>camel-cm-sms-starter</module> + <module>camel-cmis-starter</module> + <module>camel-coap-starter</module> + <module>camel-cometd-starter</module> + <module>camel-consul-starter</module> + <module>camel-context-starter</module> + <module>camel-core-starter</module> + <module>camel-couchbase-starter</module> + <module>camel-couchdb-starter</module> + <module>camel-crypto-cms-starter</module> + <module>camel-crypto-starter</module> + <module>camel-csv-starter</module> + <module>camel-cxf-starter</module> + <module>camel-cxf-transport-starter</module> + <module>camel-digitalocean-starter</module> + <module>camel-disruptor-starter</module> + <module>camel-dns-starter</module> + <module>camel-docker-starter</module> + <module>camel-dozer-starter</module> + <module>camel-drill-starter</module> + <module>camel-dropbox-starter</module> + <module>camel-eclipse-starter</module> + <module>camel-ehcache-starter</module> + <module>camel-elasticsearch-starter</module> + <module>camel-elasticsearch5-starter</module> + <module>camel-elsql-starter</module> + <module>camel-etcd-starter</module> + <module>camel-exec-starter</module> + <module>camel-facebook-starter</module> + <module>camel-fastjson-starter</module> + <module>camel-flatpack-starter</module> + <module>camel-flink-starter</module> + <module>camel-fop-starter</module> + <module>camel-freemarker-starter</module> + <module>camel-ftp-starter</module> + <module>camel-ganglia-starter</module> + <module>camel-geocoder-starter</module> + <module>camel-git-starter</module> + <module>camel-github-starter</module> + <module>camel-google-calendar-starter</module> + <module>camel-google-drive-starter</module> + <module>camel-google-mail-starter</module> + <module>camel-google-pubsub-starter</module> + <module>camel-gora-starter</module> + <module>camel-grape-starter</module> + <module>camel-groovy-starter</module> + <module>camel-grpc-starter</module> + <module>camel-gson-starter</module> + <module>camel-guava-eventbus-starter</module> + <module>camel-guice-starter</module> + <module>camel-hawtdb-starter</module> + <module>camel-hazelcast-starter</module> + <module>camel-hbase-starter</module> + <module>camel-hdfs-starter</module> + <module>camel-hdfs2-starter</module> + <module>camel-headersmap-starter</module> + <module>camel-hessian-starter</module> + <module>camel-hipchat-starter</module> + <module>camel-hl7-starter</module> + <module>camel-http-common-starter</module> + <module>camel-http-starter</module> + <module>camel-http4-starter</module> + <module>camel-hystrix-starter</module> + <module>camel-ical-starter</module> + <module>camel-ignite-starter</module> + <module>camel-infinispan-starter</module> + <module>camel-influxdb-starter</module> + <module>camel-irc-starter</module> + <module>camel-ironmq-starter</module> + <module>camel-jackson-starter</module> + <module>camel-jacksonxml-starter</module> + <module>camel-jasypt-starter</module> + <module>camel-javaspace-starter</module> + <module>camel-jaxb-starter</module> + <module>camel-jbpm-starter</module> + <module>camel-jcache-starter</module> + <module>camel-jcr-starter</module> + <module>camel-jdbc-starter</module> + <module>camel-jetty-common-starter</module> + <module>camel-jetty-starter</module> + <module>camel-jetty9-starter</module> + <module>camel-jgroups-starter</module> + <module>camel-jibx-starter</module> + <module>camel-jing-starter</module> + <module>camel-jira-starter</module> + <module>camel-jms-starter</module> + <module>camel-jmx-starter</module> + <module>camel-johnzon-starter</module> + <module>camel-jolt-starter</module> + <module>camel-josql-starter</module> + <module>camel-jpa-starter</module> + <module>camel-jsch-starter</module> + <module>camel-jsonpath-starter</module> + <module>camel-jt400-starter</module> + <module>camel-juel-starter</module> + <module>camel-jxpath-starter</module> + <module>camel-kafka-starter</module> + <module>camel-kestrel-starter</module> + <module>camel-krati-starter</module> + <module>camel-kubernetes-starter</module> + <module>camel-kura-starter</module> + <module>camel-ldap-starter</module> + <module>camel-leveldb-starter</module> + <module>camel-linkedin-starter</module> + <module>camel-lucene-starter</module> + <module>camel-lumberjack-starter</module> + <module>camel-lzf-starter</module> + <module>camel-mail-starter</module> + <module>camel-metrics-starter</module> + <module>camel-milo-starter</module> + <module>camel-mina2-starter</module> + <module>camel-mllp-starter</module> + <module>camel-mongodb-gridfs-starter</module> + <module>camel-mongodb-starter</module> + <module>camel-mongodb3-starter</module> + <module>camel-mqtt-starter</module> + <module>camel-msv-starter</module> + <module>camel-mustache-starter</module> + <module>camel-mvel-starter</module> + <module>camel-mybatis-starter</module> + <module>camel-nagios-starter</module> + <module>camel-nats-starter</module> + <module>camel-netty-http-starter</module> + <module>camel-netty-starter</module> + <module>camel-netty4-http-starter</module> + <module>camel-netty4-starter</module> + <module>camel-ognl-starter</module> + <module>camel-olingo2-starter</module> + <module>camel-olingo4-starter</module> + <module>camel-openshift-starter</module> + <module>camel-openstack-starter</module> + <module>camel-opentracing-starter</module> + <module>camel-optaplanner-starter</module> + <module>camel-paho-starter</module> + <module>camel-pdf-starter</module> + <module>camel-pgevent-starter</module> + <module>camel-printer-starter</module> + <module>camel-protobuf-starter</module> + <module>camel-pubnub-starter</module> + <module>camel-quartz2-starter</module> + <module>camel-quickfix-starter</module> + <module>camel-rabbitmq-starter</module> + <module>camel-reactive-streams-starter</module> + <module>camel-reactor-starter</module> + <module>camel-rest-swagger-starter</module> + <module>camel-restlet-starter</module> + <module>camel-ribbon-starter</module> + <module>camel-rmi-starter</module> + <module>camel-routebox-starter</module> + <module>camel-rss-starter</module> + <module>camel-ruby-starter</module> + <module>camel-rx-starter</module> + <module>camel-salesforce-starter</module> + <module>camel-sap-netweaver-starter</module> + <module>camel-saxon-starter</module> + <module>camel-schematron-starter</module> + <module>camel-script-starter</module> + <module>camel-servicenow-starter</module> + <module>camel-servlet-starter</module> + <module>camel-servletlistener-starter</module> + <module>camel-shiro-starter</module> + <module>camel-sip-starter</module> + <module>camel-sjms-starter</module> + <module>camel-sjms2-starter</module> + <module>camel-slack-starter</module> + <module>camel-smpp-starter</module> + <module>camel-snakeyaml-starter</module> + <module>camel-snmp-starter</module> + <module>camel-soap-starter</module> + <module>camel-solr-starter</module> + <module>camel-spark-starter</module> + <module>camel-splunk-starter</module> + <module>camel-spring-batch-starter</module> + <module>camel-spring-boot-starter</module> + <module>camel-spring-cloud-netflix-starter</module> + <module>camel-spring-cloud-starter</module> + <module>camel-spring-integration-starter</module> + <module>camel-spring-javaconfig-starter</module> + <module>camel-spring-ldap-starter</module> + <module>camel-spring-redis-starter</module> + <module>camel-spring-security-starter</module> + <module>camel-spring-starter</module> + <module>camel-spring-ws-starter</module> + <module>camel-sql-starter</module> + <module>camel-ssh-starter</module> + <module>camel-stax-starter</module> + <module>camel-stomp-starter</module> + <module>camel-stream-starter</module> + <module>camel-stringtemplate-starter</module> + <module>camel-swagger-java-starter</module> + <module>camel-syslog-starter</module> + <module>camel-tagsoup-starter</module> + <module>camel-tarfile-starter</module> + <module>camel-telegram-starter</module> + <module>camel-thrift-starter</module> + <module>camel-tika-starter</module> + <module>camel-twilio-starter</module> + <module>camel-twitter-starter</module> + <module>camel-undertow-starter</module> + <module>camel-univocity-parsers-starter</module> + <module>camel-urlrewrite-starter</module> + <module>camel-velocity-starter</module> + <module>camel-vertx-starter</module> + <module>camel-weather-starter</module> + <module>camel-websocket-starter</module> + <module>camel-xmlbeans-starter</module> + <module>camel-xmljson-starter</module> + <module>camel-xmlrpc-starter</module> + <module>camel-xmlsecurity-starter</module> + <module>camel-xmpp-starter</module> + <module>camel-xstream-starter</module> + <module>camel-yammer-starter</module> + <module>camel-zendesk-starter</module> + <module>camel-zipfile-starter</module> + <module>camel-zipkin-starter</module> + <module>camel-zookeeper-master-starter</module> + <module>camel-zookeeper-starter</module> + </modules> + <profiles> + <profile> + <id>jdk9-build</id> + <activation> + <jdk>9</jdk> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> +</project>