This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/master by this push:
new 97d76c1 CAMEL-16293 - Camel-AWS2-Components: Autocreation of entities
should be false by default - camel-aws2-sns
97d76c1 is described below
commit 97d76c19d915d1f16c7d7a4bfcaedde62ef56296
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Mar 8 08:03:49 2021 +0100
CAMEL-16293 - Camel-AWS2-Components: Autocreation of entities should be
false by default - camel-aws2-sns
---
.../apache/camel/springboot/catalog/components/aws2-sns.json | 4 ++--
.../src/main/docs/aws2-sns-starter.adoc | 2 +-
.../aws2/sns/springboot/Sns2ComponentConfiguration.java | 2 +-
components-starter/camel-corda-starter/pom.xml | 8 ++++++++
components-starter/camel-iota-starter/pom.xml | 12 ++++++++++++
docs/modules/ROOT/pages/aws2-sns-starter.adoc | 2 +-
6 files changed, 25 insertions(+), 5 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
index 16091de..e9c4dec 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
@@ -23,7 +23,7 @@
},
"componentProperties": {
"amazonSNSClient": { "kind": "property", "displayName": "Amazon
SNSClient", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.services.sns.SnsClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.sns.Sns2Configuration",
"configurationField": "configuration", "description": "To use the AmazonSNS as
the client" },
- "autoCreateTopic": { "kind": "property", "displayName": "Auto Create
Topic", "group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField":
"configuration", "description": "Setting the autocreation of the topic" },
+ "autoCreateTopic": { "kind": "property", "displayName": "Auto Create
Topic", "group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField":
"configuration", "description": "Setting the autocreation of the topic" },
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "org.apache.camel.component.aws2.sns.Sns2Configuration",
"deprecated": false, "autowired": false, "secret": false, "description":
"Component configuration" },
"kmsMasterKeyId": { "kind": "property", "displayName": "Kms Master Key
Id", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField":
"configuration", "description": "The ID of an AWS-managed customer master key
(CMK) for Amazon SNS or a custom CMK." },
"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether the producer
should be started lazy (on the first message). By starting lazy you can use
this to allow CamelContext and routes to startup in situations where a producer
may otherwise fail during star [...]
@@ -50,7 +50,7 @@
"properties": {
"topicNameOrArn": { "kind": "path", "displayName": "Topic Name Or Arn",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Topic name or ARN" },
"amazonSNSClient": { "kind": "parameter", "displayName": "Amazon
SNSClient", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.services.sns.SnsClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.sns.Sns2Configuration",
"configurationField": "configuration", "description": "To use the AmazonSNS as
the client" },
- "autoCreateTopic": { "kind": "parameter", "displayName": "Auto Create
Topic", "group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField":
"configuration", "description": "Setting the autocreation of the topic" },
+ "autoCreateTopic": { "kind": "parameter", "displayName": "Auto Create
Topic", "group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField":
"configuration", "description": "Setting the autocreation of the topic" },
"headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HeaderFilterStrategy to map headers to\/from Camel." },
"kmsMasterKeyId": { "kind": "parameter", "displayName": "Kms Master Key
Id", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField":
"configuration", "description": "The ID of an AWS-managed customer master key
(CMK) for Amazon SNS or a custom CMK." },
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether the producer
should be started lazy (on the first message). By starting lazy you can use
this to allow CamelContext and routes to startup in situations where a producer
may otherwise fail during sta [...]
diff --git
a/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns-starter.adoc
b/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns-starter.adoc
index b6a6a5f..0ae2cdd 100644
---
a/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns-starter.adoc
+++
b/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns-starter.adoc
@@ -26,7 +26,7 @@ The component supports 25 options, which are listed below.
| Name | Description | Default | Type
| *camel.component.aws2-sns.access-key* | Amazon AWS Access Key | | String
| *camel.component.aws2-sns.amazon-s-n-s-client* | To use the AmazonSNS as the
client. The option is a software.amazon.awssdk.services.sns.SnsClient type. |
| SnsClient
-| *camel.component.aws2-sns.auto-create-topic* | Setting the autocreation of
the topic | true | Boolean
+| *camel.component.aws2-sns.auto-create-topic* | Setting the autocreation of
the topic | false | Boolean
| *camel.component.aws2-sns.autowired-enabled* | Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which then gets configured on the component. This
can be used for automatic configuring JDBC data sources, JMS connection
factories, AWS Clients, etc. | true | Boolean
| *camel.component.aws2-sns.configuration* | Component configuration. The
option is a org.apache.camel.component.aws2.sns.Sns2Configuration type. | |
Sns2Configuration
| *camel.component.aws2-sns.enabled* | Whether to enable auto configuration of
the aws2-sns component. This is enabled by default. | | Boolean
diff --git
a/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
b/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
index 72dcb26..7e957c7 100644
---
a/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
+++
b/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
@@ -48,7 +48,7 @@ public class Sns2ComponentConfiguration
/**
* Setting the autocreation of the topic
*/
- private Boolean autoCreateTopic = true;
+ private Boolean autoCreateTopic = false;
/**
* Component configuration. The option is a
* org.apache.camel.component.aws2.sns.Sns2Configuration type.
diff --git a/components-starter/camel-corda-starter/pom.xml
b/components-starter/camel-corda-starter/pom.xml
index b215b27..4aa7023 100644
--- a/components-starter/camel-corda-starter/pom.xml
+++ b/components-starter/camel-corda-starter/pom.xml
@@ -41,6 +41,14 @@
<!--START OF GENERATED CODE-->
<exclusions>
<exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ </exclusion>
+ <exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</exclusion>
diff --git a/components-starter/camel-iota-starter/pom.xml
b/components-starter/camel-iota-starter/pom.xml
index 1cdd52f..3656ac0 100644
--- a/components-starter/camel-iota-starter/pom.xml
+++ b/components-starter/camel-iota-starter/pom.xml
@@ -38,6 +38,18 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-iota</artifactId>
<version>${camel-version}</version>
+ <!--START OF GENERATED CODE-->
+ <exclusions>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ </exclusion>
+ </exclusions>
+ <!--END OF GENERATED CODE-->
</dependency>
<!--START OF GENERATED CODE-->
<dependency>
diff --git a/docs/modules/ROOT/pages/aws2-sns-starter.adoc
b/docs/modules/ROOT/pages/aws2-sns-starter.adoc
index b6a6a5f..0ae2cdd 100644
--- a/docs/modules/ROOT/pages/aws2-sns-starter.adoc
+++ b/docs/modules/ROOT/pages/aws2-sns-starter.adoc
@@ -26,7 +26,7 @@ The component supports 25 options, which are listed below.
| Name | Description | Default | Type
| *camel.component.aws2-sns.access-key* | Amazon AWS Access Key | | String
| *camel.component.aws2-sns.amazon-s-n-s-client* | To use the AmazonSNS as the
client. The option is a software.amazon.awssdk.services.sns.SnsClient type. |
| SnsClient
-| *camel.component.aws2-sns.auto-create-topic* | Setting the autocreation of
the topic | true | Boolean
+| *camel.component.aws2-sns.auto-create-topic* | Setting the autocreation of
the topic | false | Boolean
| *camel.component.aws2-sns.autowired-enabled* | Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which then gets configured on the component. This
can be used for automatic configuring JDBC data sources, JMS connection
factories, AWS Clients, etc. | true | Boolean
| *camel.component.aws2-sns.configuration* | Component configuration. The
option is a org.apache.camel.component.aws2.sns.Sns2Configuration type. | |
Sns2Configuration
| *camel.component.aws2-sns.enabled* | Whether to enable auto configuration of
the aws2-sns component. This is enabled by default. | | Boolean