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 a9184dd Regen after AWS2-EKS update
a9184dd is described below
commit a9184dde6b1bd5c022141059fda841fb610a90a8
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Apr 10 14:59:31 2020 +0200
Regen after AWS2-EKS update
---
.../apache/camel/springboot/catalog/components/aws2-eks.json | 2 ++
.../src/main/docs/aws2-eks-starter.adoc | 3 ++-
.../aws2/eks/springboot/EKS2ComponentConfiguration.java | 12 ++++++++++++
docs/modules/ROOT/pages/aws2-eks-starter.adoc | 3 ++-
4 files changed, 18 insertions(+), 2 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eks.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eks.json
index 83bdf51..453e821 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eks.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eks.json
@@ -25,6 +25,7 @@
"eksClient": { "kind": "property", "displayName": "Eks Client", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.eks.EksClient", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.aws2.eks.EKS2Configuration", "configurationField":
"configuration", "description": "To use a existing configured AWS EKS as
client" },
"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 [...]
"operation": { "kind": "property", "displayName": "Operation", "group":
"producer", "label": "", "required": true, "type": "object", "javaType":
"org.apache.camel.component.aws2.eks.EKS2Operations", "enum": [ "listClusters",
"describeCluster", "createCluster", "deleteCluster" ], "deprecated": false,
"deprecationNote": "", "secret": false, "configurationClass":
"org.apache.camel.component.aws2.eks.EKS2Configuration", "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.eks.EKS2Configuration", "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.eks.EKS2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
EKS 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.eks.EKS2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the EKS 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.eks.EKS2Configuration",
"configurationField": "configuration", "description": "To define a proxy
protocol when instantiating the EKS client" },
@@ -38,6 +39,7 @@
"eksClient": { "kind": "parameter", "displayName": "Eks Client", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.eks.EksClient", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.aws2.eks.EKS2Configuration", "configurationField":
"configuration", "description": "To use a existing configured AWS EKS as
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 [...]
"operation": { "kind": "parameter", "displayName": "Operation", "group":
"producer", "label": "", "required": true, "type": "object", "javaType":
"org.apache.camel.component.aws2.eks.EKS2Operations", "enum": [ "listClusters",
"describeCluster", "createCluster", "deleteCluster" ], "deprecated": false,
"deprecationNote": "", "secret": false, "configurationClass":
"org.apache.camel.component.aws2.eks.EKS2Configuration", "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.eks.EKS2Configuration", "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.eks.EKS2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
EKS 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.eks.EKS2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the EKS 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.eks.EKS2Configuration",
"configurationField": "configuration", "description": "To define a proxy
protocol when instantiating the EKS client" },
diff --git
a/components-starter/camel-aws2-eks-starter/src/main/docs/aws2-eks-starter.adoc
b/components-starter/camel-aws2-eks-starter/src/main/docs/aws2-eks-starter.adoc
index 1aa49e9..549b300 100644
---
a/components-starter/camel-aws2-eks-starter/src/main/docs/aws2-eks-starter.adoc
+++
b/components-starter/camel-aws2-eks-starter/src/main/docs/aws2-eks-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-eks 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-eks.enabled* | Whether to enable auto configuration of
the aws2-eks component. This is enabled by default. | | Boolean
| *camel.component.aws2-eks.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-eks.operation* | The operation to perform | |
EKS2Operations
+| *camel.component.aws2-eks.pojo-request* | If we want to use a POJO request
as body or not | false | Boolean
| *camel.component.aws2-eks.proxy-host* | To define a proxy host when
instantiating the EKS client | | String
| *camel.component.aws2-eks.proxy-port* | To define a proxy port when
instantiating the EKS client | | Integer
| *camel.component.aws2-eks.proxy-protocol* | To define a proxy protocol when
instantiating the EKS client | | Protocol
diff --git
a/components-starter/camel-aws2-eks-starter/src/main/java/org/apache/camel/component/aws2/eks/springboot/EKS2ComponentConfiguration.java
b/components-starter/camel-aws2-eks-starter/src/main/java/org/apache/camel/component/aws2/eks/springboot/EKS2ComponentConfiguration.java
index bc41c57..8a8d2f6 100644
---
a/components-starter/camel-aws2-eks-starter/src/main/java/org/apache/camel/component/aws2/eks/springboot/EKS2ComponentConfiguration.java
+++
b/components-starter/camel-aws2-eks-starter/src/main/java/org/apache/camel/component/aws2/eks/springboot/EKS2ComponentConfiguration.java
@@ -65,6 +65,10 @@ public class EKS2ComponentConfiguration
*/
private EKS2Operations 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 EKS client
*/
private String proxyHost;
@@ -128,6 +132,14 @@ public class EKS2ComponentConfiguration
this.operation = operation;
}
+ public Boolean getPojoRequest() {
+ return pojoRequest;
+ }
+
+ public void setPojoRequest(Boolean pojoRequest) {
+ this.pojoRequest = pojoRequest;
+ }
+
public String getProxyHost() {
return proxyHost;
}
diff --git a/docs/modules/ROOT/pages/aws2-eks-starter.adoc
b/docs/modules/ROOT/pages/aws2-eks-starter.adoc
index 1aa49e9..549b300 100644
--- a/docs/modules/ROOT/pages/aws2-eks-starter.adoc
+++ b/docs/modules/ROOT/pages/aws2-eks-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-eks 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-eks.enabled* | Whether to enable auto configuration of
the aws2-eks component. This is enabled by default. | | Boolean
| *camel.component.aws2-eks.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-eks.operation* | The operation to perform | |
EKS2Operations
+| *camel.component.aws2-eks.pojo-request* | If we want to use a POJO request
as body or not | false | Boolean
| *camel.component.aws2-eks.proxy-host* | To define a proxy host when
instantiating the EKS client | | String
| *camel.component.aws2-eks.proxy-port* | To define a proxy port when
instantiating the EKS client | | Integer
| *camel.component.aws2-eks.proxy-protocol* | To define a proxy protocol when
instantiating the EKS client | | Protocol