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 b1d969a Regen Spring Boot starters after updates to aws2-msk and
aws2-s3
b1d969a is described below
commit b1d969a317ab791cf278ea280f82bca2eae061d8
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Apr 16 15:25:56 2020 +0200
Regen Spring Boot starters after updates to aws2-msk and aws2-s3
---
.../apache/camel/springboot/catalog/components/aws2-msk.json | 2 ++
.../apache/camel/springboot/catalog/components/aws2-s3.json | 2 ++
.../src/main/docs/aws2-msk-starter.adoc | 3 ++-
.../aws2/msk/springboot/MSK2ComponentConfiguration.java | 12 ++++++++++++
.../camel-aws2-s3-starter/src/main/docs/aws2-s3-starter.adoc | 3 ++-
.../aws2/s3/springboot/AWS2S3ComponentConfiguration.java | 12 ++++++++++++
docs/modules/ROOT/pages/aws2-msk-starter.adoc | 3 ++-
docs/modules/ROOT/pages/aws2-s3-starter.adoc | 3 ++-
8 files changed, 36 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-msk.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-msk.json
index 2b2d066..d4508b5 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-msk.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-msk.json
@@ -25,6 +25,7 @@
"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 [...]
"mskClient": { "kind": "property", "displayName": "Msk Client", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.kafka.KafkaClient", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "To use a existing configured AWS MSK as
client" },
"operation": { "kind": "property", "displayName": "Operation", "group":
"producer", "label": "", "required": true, "type": "object", "javaType":
"org.apache.camel.component.aws2.msk.MSK2Operations", "enum": [ "listClusters",
"createCluster", "deleteCluster", "describeCluster" ], "deprecated": false,
"deprecationNote": "", "secret": false, "configurationClass":
"org.apache.camel.component.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "The operation [...]
+ "pojoRequest": { "kind": "property", "displayName": "Pojo Request",
"group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not" },
"proxyHost": { "kind": "property", "displayName": "Proxy Host", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
MSK client" },
"proxyPort": { "kind": "property", "displayName": "Proxy Port", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.msk.MSK2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the MSK client" },
"proxyProtocol": { "kind": "property", "displayName": "Proxy Protocol",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS"
], "deprecated": false, "secret": false, "defaultValue": "HTTPS",
"configurationClass": "org.apache.camel.component.aws2.msk.MSK2Configuration",
"configurationField": "configuration", "description": "To define a proxy
protocol when instantiating the MSK client" },
@@ -38,6 +39,7 @@
"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 [...]
"mskClient": { "kind": "parameter", "displayName": "Msk Client", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.kafka.KafkaClient", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "To use a existing configured AWS MSK as
client" },
"operation": { "kind": "parameter", "displayName": "Operation", "group":
"producer", "label": "", "required": true, "type": "object", "javaType":
"org.apache.camel.component.aws2.msk.MSK2Operations", "enum": [ "listClusters",
"createCluster", "deleteCluster", "describeCluster" ], "deprecated": false,
"deprecationNote": "", "secret": false, "configurationClass":
"org.apache.camel.component.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "The operatio [...]
+ "pojoRequest": { "kind": "parameter", "displayName": "Pojo Request",
"group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not" },
"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.aws2.msk.MSK2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
MSK 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.aws2.msk.MSK2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the MSK client" },
"proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS"
], "deprecated": false, "secret": false, "defaultValue": "HTTPS",
"configurationClass": "org.apache.camel.component.aws2.msk.MSK2Configuration",
"configurationField": "configuration", "description": "To define a proxy
protocol when instantiating the MSK client" },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
index d713d7f..376d9ae 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
@@ -25,6 +25,7 @@
"autoCreateBucket": { "kind": "property", "displayName": "Auto Create
Bucket", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "Setting the autocreation of the bucket" },
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "org.apache.camel.component.aws2.s3.AWS2S3Configuration",
"deprecated": false, "secret": false, "description": "The component
configuration" },
"overrideEndpoint": { "kind": "property", "displayName": "Override
Endpoint", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "Set the need for overidding the endpoint. This
option needs to be used in combination with uriEndpointOverride option" },
+ "pojoRequest": { "kind": "property", "displayName": "Pojo Request",
"group": "common", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not" },
"policy": { "kind": "property", "displayName": "Policy", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "The policy for this queue to set in the
com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method." },
"proxyHost": { "kind": "property", "displayName": "Proxy Host", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
SQS client" },
"proxyPort": { "kind": "property", "displayName": "Proxy Port", "group":
"common", "label": "", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration",
"configurationField": "configuration", "description": "Specify a proxy port to
be used inside the client definition." },
@@ -58,6 +59,7 @@
"amazonS3Client": { "kind": "parameter", "displayName": "Amazon S3
Client", "group": "common", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.services.s3.S3Client", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "Reference to a
com.amazonaws.services.s3.AmazonS3 in the registry." },
"autoCreateBucket": { "kind": "parameter", "displayName": "Auto Create
Bucket", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "Setting the autocreation of the bucket" },
"overrideEndpoint": { "kind": "parameter", "displayName": "Override
Endpoint", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "Set the need for overidding the endpoint. This
option needs to be used in combination with uriEndpointOverride option" },
+ "pojoRequest": { "kind": "parameter", "displayName": "Pojo Request",
"group": "common", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not" },
"policy": { "kind": "parameter", "displayName": "Policy", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "The policy for this queue to set in the
com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method." },
"proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
SQS client" },
"proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group":
"common", "label": "", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration",
"configurationField": "configuration", "description": "Specify a proxy port to
be used inside the client definition." },
diff --git
a/components-starter/camel-aws2-msk-starter/src/main/docs/aws2-msk-starter.adoc
b/components-starter/camel-aws2-msk-starter/src/main/docs/aws2-msk-starter.adoc
index c40db76..7d2f673 100644
---
a/components-starter/camel-aws2-msk-starter/src/main/docs/aws2-msk-starter.adoc
+++
b/components-starter/camel-aws2-msk-starter/src/main/docs/aws2-msk-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-msk with Spring Boot make sure to use the
following Maven depend
----
-The component supports 12 options, which are listed below.
+The component supports 13 options, which are listed below.
@@ -31,6 +31,7 @@ The component supports 12 options, which are listed below.
| *camel.component.aws2-msk.lazy-start-producer* | 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 route to fail being started. By
deferring this startup to be lazy then the startup failure can be handled
during routing messages via Camel's routing error handlers. Beware that when
the first message is processed t [...]
| *camel.component.aws2-msk.msk-client* | To use a existing configured AWS MSK
as client. The option is a software.amazon.awssdk.services.kafka.KafkaClient
type. | | String
| *camel.component.aws2-msk.operation* | The operation to perform | |
MSK2Operations
+| *camel.component.aws2-msk.pojo-request* | If we want to use a POJO request
as body or not | false | Boolean
| *camel.component.aws2-msk.proxy-host* | To define a proxy host when
instantiating the MSK client | | String
| *camel.component.aws2-msk.proxy-port* | To define a proxy port when
instantiating the MSK client | | Integer
| *camel.component.aws2-msk.proxy-protocol* | To define a proxy protocol when
instantiating the MSK client | | Protocol
diff --git
a/components-starter/camel-aws2-msk-starter/src/main/java/org/apache/camel/component/aws2/msk/springboot/MSK2ComponentConfiguration.java
b/components-starter/camel-aws2-msk-starter/src/main/java/org/apache/camel/component/aws2/msk/springboot/MSK2ComponentConfiguration.java
index 2362986..da043c7 100644
---
a/components-starter/camel-aws2-msk-starter/src/main/java/org/apache/camel/component/aws2/msk/springboot/MSK2ComponentConfiguration.java
+++
b/components-starter/camel-aws2-msk-starter/src/main/java/org/apache/camel/component/aws2/msk/springboot/MSK2ComponentConfiguration.java
@@ -65,6 +65,10 @@ public class MSK2ComponentConfiguration
*/
private MSK2Operations operation;
/**
+ * If we want to use a POJO request as body or not
+ */
+ private Boolean pojoRequest = false;
+ /**
* To define a proxy host when instantiating the MSK client
*/
private String proxyHost;
@@ -128,6 +132,14 @@ public class MSK2ComponentConfiguration
this.operation = operation;
}
+ public Boolean getPojoRequest() {
+ return pojoRequest;
+ }
+
+ public void setPojoRequest(Boolean pojoRequest) {
+ this.pojoRequest = pojoRequest;
+ }
+
public String getProxyHost() {
return proxyHost;
}
diff --git
a/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3-starter.adoc
b/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3-starter.adoc
index c7cc11a..8591bb9 100644
---
a/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3-starter.adoc
+++
b/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-s3 with Spring Boot make sure to use the
following Maven depende
----
-The component supports 32 options, which are listed below.
+The component supports 33 options, which are listed below.
@@ -45,6 +45,7 @@ The component supports 32 options, which are listed below.
| *camel.component.aws2-s3.operation* | The operation to do in case the user
don't want to do only an upload | | AWS2S3Operations
| *camel.component.aws2-s3.override-endpoint* | Set the need for overidding
the endpoint. This option needs to be used in combination with
uriEndpointOverride option | false | Boolean
| *camel.component.aws2-s3.part-size* | Setup the partSize which is used in
multi part upload, the default size is 25M. | 26214400 | Long
+| *camel.component.aws2-s3.pojo-request* | If we want to use a POJO request as
body or not | false | Boolean
| *camel.component.aws2-s3.policy* | The policy for this queue to set in the
com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method. | | String
| *camel.component.aws2-s3.prefix* | The prefix which is used in the
com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we
are interested in. | | String
| *camel.component.aws2-s3.proxy-host* | To define a proxy host when
instantiating the SQS client | | String
diff --git
a/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
b/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
index 50abe64..cb25975 100644
---
a/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
+++
b/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
@@ -60,6 +60,10 @@ public class AWS2S3ComponentConfiguration
*/
private Boolean overrideEndpoint = false;
/**
+ * If we want to use a POJO request as body or not
+ */
+ private Boolean pojoRequest = false;
+ /**
* The policy for this queue to set in the
* com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method.
*/
@@ -244,6 +248,14 @@ public class AWS2S3ComponentConfiguration
this.overrideEndpoint = overrideEndpoint;
}
+ public Boolean getPojoRequest() {
+ return pojoRequest;
+ }
+
+ public void setPojoRequest(Boolean pojoRequest) {
+ this.pojoRequest = pojoRequest;
+ }
+
public String getPolicy() {
return policy;
}
diff --git a/docs/modules/ROOT/pages/aws2-msk-starter.adoc
b/docs/modules/ROOT/pages/aws2-msk-starter.adoc
index c40db76..7d2f673 100644
--- a/docs/modules/ROOT/pages/aws2-msk-starter.adoc
+++ b/docs/modules/ROOT/pages/aws2-msk-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-msk with Spring Boot make sure to use the
following Maven depend
----
-The component supports 12 options, which are listed below.
+The component supports 13 options, which are listed below.
@@ -31,6 +31,7 @@ The component supports 12 options, which are listed below.
| *camel.component.aws2-msk.lazy-start-producer* | 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 route to fail being started. By
deferring this startup to be lazy then the startup failure can be handled
during routing messages via Camel's routing error handlers. Beware that when
the first message is processed t [...]
| *camel.component.aws2-msk.msk-client* | To use a existing configured AWS MSK
as client. The option is a software.amazon.awssdk.services.kafka.KafkaClient
type. | | String
| *camel.component.aws2-msk.operation* | The operation to perform | |
MSK2Operations
+| *camel.component.aws2-msk.pojo-request* | If we want to use a POJO request
as body or not | false | Boolean
| *camel.component.aws2-msk.proxy-host* | To define a proxy host when
instantiating the MSK client | | String
| *camel.component.aws2-msk.proxy-port* | To define a proxy port when
instantiating the MSK client | | Integer
| *camel.component.aws2-msk.proxy-protocol* | To define a proxy protocol when
instantiating the MSK client | | Protocol
diff --git a/docs/modules/ROOT/pages/aws2-s3-starter.adoc
b/docs/modules/ROOT/pages/aws2-s3-starter.adoc
index c7cc11a..8591bb9 100644
--- a/docs/modules/ROOT/pages/aws2-s3-starter.adoc
+++ b/docs/modules/ROOT/pages/aws2-s3-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-s3 with Spring Boot make sure to use the
following Maven depende
----
-The component supports 32 options, which are listed below.
+The component supports 33 options, which are listed below.
@@ -45,6 +45,7 @@ The component supports 32 options, which are listed below.
| *camel.component.aws2-s3.operation* | The operation to do in case the user
don't want to do only an upload | | AWS2S3Operations
| *camel.component.aws2-s3.override-endpoint* | Set the need for overidding
the endpoint. This option needs to be used in combination with
uriEndpointOverride option | false | Boolean
| *camel.component.aws2-s3.part-size* | Setup the partSize which is used in
multi part upload, the default size is 25M. | 26214400 | Long
+| *camel.component.aws2-s3.pojo-request* | If we want to use a POJO request as
body or not | false | Boolean
| *camel.component.aws2-s3.policy* | The policy for this queue to set in the
com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method. | | String
| *camel.component.aws2-s3.prefix* | The prefix which is used in the
com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we
are interested in. | | String
| *camel.component.aws2-s3.proxy-host* | To define a proxy host when
instantiating the SQS client | | String