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 10ab19d Regen
10ab19d is described below
commit 10ab19d3353b855273e34da55ece85c1014c9d0c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Mar 1 14:02:02 2021 +0100
Regen
---
.../catalog/components/aws2-eventbridge.json | 4 ++++
.../catalog/components/google-storage.json | 4 ++--
.../src/main/docs/aws2-eventbridge-starter.adoc | 4 +++-
.../EventbridgeComponentConfiguration.java | 26 ++++++++++++++++++++++
.../src/main/docs/google-storage-starter.adoc | 2 +-
.../GoogleCloudStorageComponentConfiguration.java | 5 ++++-
.../ROOT/pages/aws2-eventbridge-starter.adoc | 4 +++-
.../modules/ROOT/pages/google-storage-starter.adoc | 2 +-
8 files changed, 44 insertions(+), 7 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
index e61fff4..e824ddb 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
@@ -27,12 +27,14 @@
"eventPatternFile": { "kind": "property", "displayName": "Event Pattern
File", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "EventPattern File" },
"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 [...]
"operation": { "kind": "property", "displayName": "Operation", "group":
"producer", "label": "", "required": true, "type": "object", "javaType":
"org.apache.camel.component.aws2.eventbridge.EventbridgeOperations", "enum": [
"putRule", "putTargets", "removeTargets", "deleteRule", "enableRule",
"disableRule", "describeRule", "listRules", "listTargetsByRule",
"listRuleNamesByTarget" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": "putR [...]
+ "overrideEndpoint": { "kind": "property", "displayName": "Override
Endpoint", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Set the need for
overidding the endpoint. This option needs to be used in combination [...]
"pojoRequest": { "kind": "property", "displayName": "Pojo Request",
"group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"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, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Eventbridge client" },
"proxyPort": { "kind": "property", "displayName": "Proxy Port", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Eventbridge 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, "autowired": false, "secret": false, "defaultValue":
"HTTPS", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy
protocol when [...]
"region": { "kind": "property", "displayName": "Region", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "The region in which
Eventbridge client needs to work. When using this parameter, the configuration
will expect the lowerc [...]
"trustAllCertificates": { "kind": "property", "displayName": "Trust All
Certificates", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "If we want to trust all
certificates in case of overriding the endpoint" },
+ "uriEndpointOverride": { "kind": "property", "displayName": "Uri Endpoint
Override", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEnd [...]
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "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 t [...]
"accessKey": { "kind": "property", "displayName": "Access Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
"secretKey": { "kind": "property", "displayName": "Secret Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" }
@@ -43,12 +45,14 @@
"eventPatternFile": { "kind": "parameter", "displayName": "Event Pattern
File", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "EventPattern File" },
"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 [...]
"operation": { "kind": "parameter", "displayName": "Operation", "group":
"producer", "label": "", "required": true, "type": "object", "javaType":
"org.apache.camel.component.aws2.eventbridge.EventbridgeOperations", "enum": [
"putRule", "putTargets", "removeTargets", "deleteRule", "enableRule",
"disableRule", "describeRule", "listRules", "listTargetsByRule",
"listRuleNamesByTarget" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": "put [...]
+ "overrideEndpoint": { "kind": "parameter", "displayName": "Override
Endpoint", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Set the need for
overidding the endpoint. This option needs to be used in combinatio [...]
"pojoRequest": { "kind": "parameter", "displayName": "Pojo Request",
"group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"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, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Eventbridge client" },
"proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Eventbridge 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, "autowired": false, "secret": false, "defaultValue":
"HTTPS", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy
protocol when [...]
"region": { "kind": "parameter", "displayName": "Region", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "The region in which
Eventbridge client needs to work. When using this parameter, the configuration
will expect the lower [...]
"trustAllCertificates": { "kind": "parameter", "displayName": "Trust All
Certificates", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "If we want to trust all
certificates in case of overriding the endpoint" },
+ "uriEndpointOverride": { "kind": "parameter", "displayName": "Uri Endpoint
Override", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEn [...]
"accessKey": { "kind": "parameter", "displayName": "Access Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"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, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" }
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-storage.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-storage.json
index d7381ed..1d03b31 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-storage.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-storage.json
@@ -24,7 +24,7 @@
"componentProperties": {
"autoCreateBucket": { "kind": "property", "displayName": "Auto Create
Bucket", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "Setting the autocreation
of the bucket bucketName." },
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "common", "label": "", "required": false, "type": "object",
"javaType":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
component configuration" },
- "serviceAccountKey": { "kind": "property", "displayName": "Service Account
Key", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "Service account key to
authenticate an application as a service account" },
+ "serviceAccountKey": { "kind": "property", "displayName": "Service Account
Key", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The Service account key
that can be used as credentials for the Storage client. It can b [...]
"storageClass": { "kind": "property", "displayName": "Storage Class",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "com.google.cloud.storage.StorageClass", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "STANDARD",
"configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The Cloud Storage class
to use when creating the n [...]
"storageClient": { "kind": "property", "displayName": "Storage Client",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "com.google.cloud.storage.Storage", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The storage client" },
"storageLocation": { "kind": "property", "displayName": "Storage
Location", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "US-EAST1", "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The Cloud Storage
location to use when creating the new buckets" },
@@ -42,7 +42,7 @@
"properties": {
"bucketName": { "kind": "path", "displayName": "Bucket Name", "group":
"common", "label": "common", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "Bucket name or ARN" },
"autoCreateBucket": { "kind": "parameter", "displayName": "Auto Create
Bucket", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "Setting the autocreation
of the bucket bucketName." },
- "serviceAccountKey": { "kind": "parameter", "displayName": "Service
Account Key", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "Service account key to
authenticate an application as a service account" },
+ "serviceAccountKey": { "kind": "parameter", "displayName": "Service
Account Key", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The Service account key
that can be used as credentials for the Storage client. It can [...]
"storageClass": { "kind": "parameter", "displayName": "Storage Class",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "com.google.cloud.storage.StorageClass", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "STANDARD",
"configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The Cloud Storage class
to use when creating the [...]
"storageClient": { "kind": "parameter", "displayName": "Storage Client",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "com.google.cloud.storage.Storage", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The storage client" },
"storageLocation": { "kind": "parameter", "displayName": "Storage
Location", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "US-EAST1", "configurationClass":
"org.apache.camel.component.google.storage.GoogleCloudStorageConfiguration",
"configurationField": "configuration", "description": "The Cloud Storage
location to use when creating the new buckets" },
diff --git
a/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge-starter.adoc
b/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge-starter.adoc
index d0c909b..23b4c55 100644
---
a/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge-starter.adoc
+++
b/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-eventbridge with Spring Boot make sure to use
the following Mave
----
-The component supports 15 options, which are listed below.
+The component supports 17 options, which are listed below.
@@ -32,6 +32,7 @@ The component supports 15 options, which are listed below.
| *camel.component.aws2-eventbridge.eventbridge-client* | To use a existing
configured AWS Eventbridge as client. The option is a
software.amazon.awssdk.services.eventbridge.EventBridgeClient type. | |
EventBridgeClient
| *camel.component.aws2-eventbridge.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 pro [...]
| *camel.component.aws2-eventbridge.operation* | The operation to perform | |
EventbridgeOperations
+| *camel.component.aws2-eventbridge.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-eventbridge.pojo-request* | If we want to use a POJO
request as body or not | false | Boolean
| *camel.component.aws2-eventbridge.proxy-host* | To define a proxy host when
instantiating the Eventbridge client | | String
| *camel.component.aws2-eventbridge.proxy-port* | To define a proxy port when
instantiating the Eventbridge client | | Integer
@@ -39,5 +40,6 @@ The component supports 15 options, which are listed below.
| *camel.component.aws2-eventbridge.region* | The region in which Eventbridge
client needs to work. When using this parameter, the configuration will expect
the lowercase name of the region (for example ap-east-1) You'll need to use the
name Region.EU_WEST_1.id() | | String
| *camel.component.aws2-eventbridge.secret-key* | Amazon AWS Secret Key | |
String
| *camel.component.aws2-eventbridge.trust-all-certificates* | If we want to
trust all certificates in case of overriding the endpoint | false | Boolean
+| *camel.component.aws2-eventbridge.uri-endpoint-override* | Set the
overriding uri endpoint. This option needs to be used in combination with
overrideEndpoint option | | String
|===
// spring-boot-auto-configure options: END
diff --git
a/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
b/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
index 62c88b1..d60a15b 100644
---
a/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
+++
b/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
@@ -72,6 +72,11 @@ public class EventbridgeComponentConfiguration
*/
private EventbridgeOperations operation = EventbridgeOperations.putRule;
/**
+ * Set the need for overidding the endpoint. This option needs to be used
in
+ * combination with uriEndpointOverride option
+ */
+ private Boolean overrideEndpoint = false;
+ /**
* If we want to use a POJO request as body or not
*/
private Boolean pojoRequest = false;
@@ -98,6 +103,11 @@ public class EventbridgeComponentConfiguration
*/
private Boolean trustAllCertificates = false;
/**
+ * Set the overriding uri endpoint. This option needs to be used in
+ * combination with overrideEndpoint option
+ */
+ private String uriEndpointOverride;
+ /**
* 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
@@ -155,6 +165,14 @@ public class EventbridgeComponentConfiguration
this.operation = operation;
}
+ public Boolean getOverrideEndpoint() {
+ return overrideEndpoint;
+ }
+
+ public void setOverrideEndpoint(Boolean overrideEndpoint) {
+ this.overrideEndpoint = overrideEndpoint;
+ }
+
public Boolean getPojoRequest() {
return pojoRequest;
}
@@ -203,6 +221,14 @@ public class EventbridgeComponentConfiguration
this.trustAllCertificates = trustAllCertificates;
}
+ public String getUriEndpointOverride() {
+ return uriEndpointOverride;
+ }
+
+ public void setUriEndpointOverride(String uriEndpointOverride) {
+ this.uriEndpointOverride = uriEndpointOverride;
+ }
+
public Boolean getAutowiredEnabled() {
return autowiredEnabled;
}
diff --git
a/components-starter/camel-google-storage-starter/src/main/docs/google-storage-starter.adoc
b/components-starter/camel-google-storage-starter/src/main/docs/google-storage-starter.adoc
index 900d2a5..134b1c7 100644
---
a/components-starter/camel-google-storage-starter/src/main/docs/google-storage-starter.adoc
+++
b/components-starter/camel-google-storage-starter/src/main/docs/google-storage-starter.adoc
@@ -37,7 +37,7 @@ The component supports 17 options, which are listed below.
| *camel.component.google-storage.move-after-read* | Move objects from the
origin bucket to a different bucket after they have been retrieved. To
accomplish the operation the destinationBucket option must be set. The copy
bucket operation is only performed if the Exchange is committed. If a rollback
occurs, the object is not moved. | false | Boolean
| *camel.component.google-storage.object-name* | The Object name inside the
bucket | | String
| *camel.component.google-storage.operation* | Set the operation for the
producer | | GoogleCloudStorageOperations
-| *camel.component.google-storage.service-account-key* | Service account key
to authenticate an application as a service account | | String
+| *camel.component.google-storage.service-account-key* | The Service account
key that can be used as credentials for the Storage client. It can be loaded by
default from classpath, but you can prefix with classpath:, file:, or http: to
load the resource from different systems. | | String
| *camel.component.google-storage.storage-class* | The Cloud Storage class to
use when creating the new buckets. The option is a
com.google.cloud.storage.StorageClass type. | | StorageClass
| *camel.component.google-storage.storage-client* | The storage client. The
option is a com.google.cloud.storage.Storage type. | | Storage
| *camel.component.google-storage.storage-location* | The Cloud Storage
location to use when creating the new buckets | US-EAST1 | String
diff --git
a/components-starter/camel-google-storage-starter/src/main/java/org/apache/camel/component/google/storage/springboot/GoogleCloudStorageComponentConfiguration.java
b/components-starter/camel-google-storage-starter/src/main/java/org/apache/camel/component/google/storage/springboot/GoogleCloudStorageComponentConfiguration.java
index cc19a31..5dff494 100644
---
a/components-starter/camel-google-storage-starter/src/main/java/org/apache/camel/component/google/storage/springboot/GoogleCloudStorageComponentConfiguration.java
+++
b/components-starter/camel-google-storage-starter/src/main/java/org/apache/camel/component/google/storage/springboot/GoogleCloudStorageComponentConfiguration.java
@@ -52,7 +52,10 @@ public class GoogleCloudStorageComponentConfiguration
*/
private GoogleCloudStorageConfiguration configuration;
/**
- * Service account key to authenticate an application as a service account
+ * The Service account key that can be used as credentials for the Storage
+ * client. It can be loaded by default from classpath, but you can prefix
+ * with classpath:, file:, or http: to load the resource from different
+ * systems.
*/
private String serviceAccountKey;
/**
diff --git a/docs/modules/ROOT/pages/aws2-eventbridge-starter.adoc
b/docs/modules/ROOT/pages/aws2-eventbridge-starter.adoc
index d0c909b..23b4c55 100644
--- a/docs/modules/ROOT/pages/aws2-eventbridge-starter.adoc
+++ b/docs/modules/ROOT/pages/aws2-eventbridge-starter.adoc
@@ -17,7 +17,7 @@ When using aws2-eventbridge with Spring Boot make sure to use
the following Mave
----
-The component supports 15 options, which are listed below.
+The component supports 17 options, which are listed below.
@@ -32,6 +32,7 @@ The component supports 15 options, which are listed below.
| *camel.component.aws2-eventbridge.eventbridge-client* | To use a existing
configured AWS Eventbridge as client. The option is a
software.amazon.awssdk.services.eventbridge.EventBridgeClient type. | |
EventBridgeClient
| *camel.component.aws2-eventbridge.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 pro [...]
| *camel.component.aws2-eventbridge.operation* | The operation to perform | |
EventbridgeOperations
+| *camel.component.aws2-eventbridge.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-eventbridge.pojo-request* | If we want to use a POJO
request as body or not | false | Boolean
| *camel.component.aws2-eventbridge.proxy-host* | To define a proxy host when
instantiating the Eventbridge client | | String
| *camel.component.aws2-eventbridge.proxy-port* | To define a proxy port when
instantiating the Eventbridge client | | Integer
@@ -39,5 +40,6 @@ The component supports 15 options, which are listed below.
| *camel.component.aws2-eventbridge.region* | The region in which Eventbridge
client needs to work. When using this parameter, the configuration will expect
the lowercase name of the region (for example ap-east-1) You'll need to use the
name Region.EU_WEST_1.id() | | String
| *camel.component.aws2-eventbridge.secret-key* | Amazon AWS Secret Key | |
String
| *camel.component.aws2-eventbridge.trust-all-certificates* | If we want to
trust all certificates in case of overriding the endpoint | false | Boolean
+| *camel.component.aws2-eventbridge.uri-endpoint-override* | Set the
overriding uri endpoint. This option needs to be used in combination with
overrideEndpoint option | | String
|===
// spring-boot-auto-configure options: END
diff --git a/docs/modules/ROOT/pages/google-storage-starter.adoc
b/docs/modules/ROOT/pages/google-storage-starter.adoc
index 900d2a5..134b1c7 100644
--- a/docs/modules/ROOT/pages/google-storage-starter.adoc
+++ b/docs/modules/ROOT/pages/google-storage-starter.adoc
@@ -37,7 +37,7 @@ The component supports 17 options, which are listed below.
| *camel.component.google-storage.move-after-read* | Move objects from the
origin bucket to a different bucket after they have been retrieved. To
accomplish the operation the destinationBucket option must be set. The copy
bucket operation is only performed if the Exchange is committed. If a rollback
occurs, the object is not moved. | false | Boolean
| *camel.component.google-storage.object-name* | The Object name inside the
bucket | | String
| *camel.component.google-storage.operation* | Set the operation for the
producer | | GoogleCloudStorageOperations
-| *camel.component.google-storage.service-account-key* | Service account key
to authenticate an application as a service account | | String
+| *camel.component.google-storage.service-account-key* | The Service account
key that can be used as credentials for the Storage client. It can be loaded by
default from classpath, but you can prefix with classpath:, file:, or http: to
load the resource from different systems. | | String
| *camel.component.google-storage.storage-class* | The Cloud Storage class to
use when creating the new buckets. The option is a
com.google.cloud.storage.StorageClass type. | | StorageClass
| *camel.component.google-storage.storage-client* | The storage client. The
option is a com.google.cloud.storage.Storage type. | | Storage
| *camel.component.google-storage.storage-location* | The Cloud Storage
location to use when creating the new buckets | US-EAST1 | String