You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/02/13 14:46:14 UTC

[camel] branch master updated (120d7f9 -> 78ce73c)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 120d7f9  Regen
     new e1fe780  CAMEL-14551 - Create an AWS-SES component based on SDK v2, Fixed some descriptions
     new a268836  CAMEL-14551 - Create an AWS-SES component based on SDK v2, Regen the generated code
     new 78ce73c  CAMEL-14551 - Create an AWS-SES component based on SDK v2, Regen docs

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../services/org/apache/camel/component.properties |  2 +-
 .../services/org/apache/camel/component/aws-ses    |  2 -
 .../org/apache/camel/configurer/aws-ses-component  |  2 -
 .../org/apache/camel/configurer/aws-ses-endpoint   |  2 -
 .../apache/camel/component/aws/ses/aws-ses.json    | 46 ----------------------
 .../apache/camel/component/aws2/ses/aws2-ses.json  |  2 +-
 .../camel/component/aws2/ses/Ses2Endpoint.java     |  2 +-
 .../camel/component/aws2/ses/Ses2Producer.java     |  2 +-
 .../component/ComponentsBuilderFactory.java        |  2 +-
 .../dsl/Aws2SesComponentBuilderFactory.java        |  4 +-
 .../src/generated/resources/metadata.json          |  2 +-
 docs/components/modules/ROOT/pages/index.adoc      |  2 +-
 12 files changed, 9 insertions(+), 61 deletions(-)
 delete mode 100644 components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component/aws-ses
 delete mode 100644 components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-component
 delete mode 100644 components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-endpoint
 delete mode 100644 components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws/ses/aws-ses.json


[camel] 02/03: CAMEL-14551 - Create an AWS-SES component based on SDK v2, Regen the generated code

Posted by ac...@apache.org.
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.git

commit a268836edf6602eff1a0143b07c97f373e747c3b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 13 15:17:34 2020 +0100

    CAMEL-14551 - Create an AWS-SES component based on SDK v2, Regen the generated code
---
 .../services/org/apache/camel/component.properties |  2 +-
 .../services/org/apache/camel/component/aws-ses    |  2 -
 .../org/apache/camel/configurer/aws-ses-component  |  2 -
 .../org/apache/camel/configurer/aws-ses-endpoint   |  2 -
 .../apache/camel/component/aws/ses/aws-ses.json    | 46 ----------------------
 5 files changed, 1 insertion(+), 53 deletions(-)

diff --git a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index a5f6be3..0957599 100644
--- a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
 # Generated by camel build tools - do NOT edit this file!
-components=aws-ses aws2-ses
+components=aws2-ses
 groupId=org.apache.camel
 artifactId=camel-aws2-ses
 version=3.1.0-SNAPSHOT
diff --git a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component/aws-ses b/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component/aws-ses
deleted file mode 100644
index d377d3d..0000000
--- a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/component/aws-ses
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.aws.ses.SesComponent
diff --git a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-component b/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-component
deleted file mode 100644
index e001d04..0000000
--- a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-component
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.aws.ses.SesComponentConfigurer
diff --git a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-endpoint b/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-endpoint
deleted file mode 100644
index 99b6f64..0000000
--- a/components/camel-aws2-ses/src/generated/resources/META-INF/services/org/apache/camel/configurer/aws-ses-endpoint
+++ /dev/null
@@ -1,2 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-class=org.apache.camel.component.aws.ses.SesEndpointConfigurer
diff --git a/components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws/ses/aws-ses.json b/components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws/ses/aws-ses.json
deleted file mode 100644
index 316a4f2..0000000
--- a/components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws/ses/aws-ses.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
-  "component": {
-    "kind": "component",
-    "scheme": "aws-ses",
-    "extendsScheme": "",
-    "syntax": "aws-ses:from",
-    "title": "AWS Simple Email Service",
-    "description": "The aws-ses component is used for sending emails with Amazon's SES service.",
-    "label": "cloud,mail",
-    "deprecated": false,
-    "async": false,
-    "consumerOnly": false,
-    "producerOnly": true,
-    "lenientProperties": false,
-    "javaType": "org.apache.camel.component.aws.ses.SesComponent",
-    "firstVersion": "2.9.0",
-    "groupId": "org.apache.camel",
-    "artifactId": "camel-aws-ses",
-    "version": "3.1.0-SNAPSHOT"
-  },
-  "componentProperties": {
-    "accessKey": { "kind": "property", "displayName": "Access Key", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Amazon AWS Access Key" },
-    "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the r [...]
-    "region": { "kind": "property", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The region in which SES client needs to work" },
-    "secretKey": { "kind": "property", "displayName": "Secret Key", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Amazon AWS Secret Key" },
-    "basicPropertyBinding": { "kind": "property", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" },
-    "configuration": { "kind": "property", "displayName": "Configuration", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws.ses.SesConfiguration", "deprecated": false, "secret": false, "description": "The AWS SES default configuration" }
-  },
-  "properties": {
-    "from": { "kind": "path", "displayName": "From", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "The sender's email address." },
-    "amazonSESClient": { "kind": "parameter", "displayName": "Amazon SESClient", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.amazonaws.services.simpleemail.AmazonSimpleEmailService", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "To use the AmazonSimpleEmailService as the client" },
-    "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the  [...]
-    "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the SES client" },
-    "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the SES client" },
-    "proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.amazonaws.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "To define a proxy protocol when instantiating the SES client" },
-    "region": { "kind": "parameter", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "The region in which SES client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAS [...]
-    "replyToAddresses": { "kind": "parameter", "displayName": "Reply To Addresses", "group": "producer", "label": "", "required": false, "type": "array", "javaType": "java.util.List<java.lang.String>", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "List of reply-to email address(es) for the message, override it using 'CamelAwsSesReplyToAddresses' header." },
-    "returnPath": { "kind": "parameter", "displayName": "Return Path", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "The email address to which bounce notifications are to be forwarded, override it using 'CamelAwsSesReturnPath' header." },
-    "subject": { "kind": "parameter", "displayName": "Subject", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "The subject which is used if the message header 'CamelAwsSesSubject' is not present." },
-    "to": { "kind": "parameter", "displayName": "To", "group": "producer", "label": "", "required": false, "type": "array", "javaType": "java.util.List<java.lang.String>", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "List of destination email address. Can be overriden with 'CamelAwsSesTo' header." },
-    "basicPropertyBinding": { "kind": "parameter", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" },
-    "synchronous": { "kind": "parameter", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)." },
-    "accessKey": { "kind": "parameter", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
-    "secretKey": { "kind": "parameter", "displayName": "Secret Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.ses.SesConfiguration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" }
-  }
-}


[camel] 03/03: CAMEL-14551 - Create an AWS-SES component based on SDK v2, Regen docs

Posted by ac...@apache.org.
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.git

commit 78ce73c1f73c10ba06687e48e234a5225315db6e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 13 15:41:58 2020 +0100

    CAMEL-14551 - Create an AWS-SES component based on SDK v2, Regen docs
---
 docs/components/modules/ROOT/pages/index.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/components/modules/ROOT/pages/index.adoc b/docs/components/modules/ROOT/pages/index.adoc
index 1c27d54..6380cd0 100644
--- a/docs/components/modules/ROOT/pages/index.adoc
+++ b/docs/components/modules/ROOT/pages/index.adoc
@@ -66,7 +66,7 @@ Number of Components: 326 in 260 JAR artifacts (1 deprecated)
 
 | xref:aws2-msk-component.adoc[AWS 2 MSK] (camel-aws2-msk) | 3.1 | The aws2-msk is used for managing Amazon MSK
 
-| xref:aws2-ses-component.adoc[AWS 2 Simple Email Service] (camel-aws2-ses) | 3.1 | The aws-ses component is used for sending emails with Amazon's SES service.
+| xref:aws2-ses-component.adoc[AWS 2 Simple Email Service] (camel-aws2-ses) | 3.1 | The aws2-ses component is used for sending emails with Amazon's SES service.
 
 | xref:aws2-translate-component.adoc[AWS 2 Translate] (camel-aws2-translate) | 3.1 | The aws2-translate component is used for managing Amazon Translate
 


[camel] 01/03: CAMEL-14551 - Create an AWS-SES component based on SDK v2, Fixed some descriptions

Posted by ac...@apache.org.
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.git

commit e1fe7806871b31b9b654162562dd81f90f95d752
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 13 15:16:13 2020 +0100

    CAMEL-14551 - Create an AWS-SES component based on SDK v2, Fixed some descriptions
---
 .../resources/org/apache/camel/component/aws2/ses/aws2-ses.json       | 2 +-
 .../main/java/org/apache/camel/component/aws2/ses/Ses2Endpoint.java   | 2 +-
 .../main/java/org/apache/camel/component/aws2/ses/Ses2Producer.java   | 2 +-
 .../org/apache/camel/builder/component/ComponentsBuilderFactory.java  | 2 +-
 .../camel/builder/component/dsl/Aws2SesComponentBuilderFactory.java   | 4 ++--
 core/camel-componentdsl/src/generated/resources/metadata.json         | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json b/components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json
index c41b77d..9a01dc9 100644
--- a/components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json
+++ b/components/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json
@@ -5,7 +5,7 @@
     "extendsScheme": "",
     "syntax": "aws2-ses:from",
     "title": "AWS 2 Simple Email Service",
-    "description": "The aws-ses component is used for sending emails with Amazon's SES service.",
+    "description": "The aws2-ses component is used for sending emails with Amazon's SES service.",
     "label": "cloud,mail",
     "deprecated": false,
     "async": false,
diff --git a/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Endpoint.java b/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Endpoint.java
index 4d95fb0..469646e 100644
--- a/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Endpoint.java
+++ b/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Endpoint.java
@@ -35,7 +35,7 @@ import software.amazon.awssdk.services.ses.SesClient;
 import software.amazon.awssdk.services.ses.SesClientBuilder;
 
 /**
- * The aws-ses component is used for sending emails with Amazon's SES service.
+ * The aws2-ses component is used for sending emails with Amazon's SES service.
  */
 @UriEndpoint(firstVersion = "3.1.0", scheme = "aws2-ses", title = "AWS 2 Simple Email Service", syntax = "aws2-ses:from", producerOnly = true, label = "cloud,mail")
 public class Ses2Endpoint extends DefaultEndpoint {
diff --git a/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Producer.java b/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Producer.java
index 7ebba4e..fc61236 100644
--- a/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Producer.java
+++ b/components/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Producer.java
@@ -39,7 +39,7 @@ import software.amazon.awssdk.services.ses.model.SendRawEmailRequest;
 import software.amazon.awssdk.services.ses.model.SendRawEmailResponse;
 
 /**
- * A Producer which sends messages to the Amazon Simple Email Service
+ * A Producer which sends messages to the Amazon Simple Email Service SDK v2
  * <a href="http://aws.amazon.com/ses/">AWS SES</a>
  */
 public class Ses2Producer extends DefaultProducer {
diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index cc828a0..94a2a9d 100644
--- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -575,7 +575,7 @@ public interface ComponentsBuilderFactory {
     }
     /**
      * AWS 2 Simple Email Service (camel-aws2-ses)
-     * The aws-ses component is used for sending emails with Amazon's SES
+     * The aws2-ses component is used for sending emails with Amazon's SES
      * service.
      * 
      * Category: cloud,mail
diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SesComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SesComponentBuilderFactory.java
index cc274a6..f8da3b0 100644
--- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SesComponentBuilderFactory.java
+++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SesComponentBuilderFactory.java
@@ -23,7 +23,7 @@ import org.apache.camel.builder.component.ComponentBuilder;
 import org.apache.camel.component.aws2.ses.Ses2Component;
 
 /**
- * The aws-ses component is used for sending emails with Amazon's SES service.
+ * The aws2-ses component is used for sending emails with Amazon's SES service.
  * 
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
@@ -32,7 +32,7 @@ public interface Aws2SesComponentBuilderFactory {
 
     /**
      * AWS 2 Simple Email Service (camel-aws2-ses)
-     * The aws-ses component is used for sending emails with Amazon's SES
+     * The aws2-ses component is used for sending emails with Amazon's SES
      * service.
      * 
      * Category: cloud,mail
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json
index ead0149..092747f 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -567,7 +567,7 @@
     "extendsScheme": "",
     "syntax": "aws2-ses:from",
     "title": "AWS 2 Simple Email Service",
-    "description": "The aws-ses component is used for sending emails with Amazon's SES service.",
+    "description": "The aws2-ses component is used for sending emails with Amazon's SES service.",
     "label": "cloud,mail",
     "deprecated": false,
     "deprecationNote": "cloud,mail",