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 859e3d0 [create-pull-request] automated change
859e3d0 is described below
commit 859e3d0c1972c2e82a436109b3cee92d41ad651e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 24 01:00:50 2020 +0000
[create-pull-request] automated change
---
.../springboot/catalog/components/aws2-eventbridge.json | 10 ++++------
.../src/main/docs/aws2-eventbridge-starter.adoc | 3 +--
.../springboot/EventbridgeComponentConfiguration.java | 13 -------------
docs/modules/ROOT/pages/aws2-eventbridge-starter.adoc | 3 +--
4 files changed, 6 insertions(+), 23 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 c2e1292..c012189 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
@@ -14,7 +14,7 @@
"version": "3.6.0-SNAPSHOT",
"scheme": "aws2-eventbridge",
"extendsScheme": "",
- "syntax": "aws2-eventbridge:label",
+ "syntax": "aws2-eventbridge:\/\/eventbusNameOrArn",
"async": false,
"api": false,
"consumerOnly": false,
@@ -25,10 +25,9 @@
"autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover
Client", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Setting the
autoDiscoverClient mechanism, if true, the component will look for a client
instanc [...]
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"deprecated": false, "secret": false, "description": "Component configuration"
},
"eventbridgeClient": { "kind": "property", "displayName": "Eventbridge
Client", "group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.services.eventbridge.EventBridgeClient",
"deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To use a existing
configured AWS Eventbridge as client" },
- "eventbusName": { "kind": "property", "displayName": "Eventbus Name",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"defaultValue": "default", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "The eventbus name, the
default value is default and this means it will be the AWS event bus of your a
[...]
"eventPatternFile": { "kind": "property", "displayName": "Event Pattern
File", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": 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, "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.eventbridge.EventbridgeOperations", "enum": [
"putRule", "putTargets", "removeTargets" ], "deprecated": false,
"deprecationNote": "", "secret": false, "defaultValue": "putRule",
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", [...]
+ "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", "listRules" ], "deprecated": false, "deprecationNote": "",
"secret": false, "defaultValue": "putRule", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.Eventbrid [...]
"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.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, "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, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Eventbridge client" },
@@ -40,13 +39,12 @@
"secretKey": { "kind": "property", "displayName": "Secret Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": true,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" }
},
"properties": {
- "label": { "kind": "path", "displayName": "Label", "group": "producer",
"label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "secret":
false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Logical name" },
+ "eventbusNameOrArn": { "kind": "path", "displayName": "Eventbus Name Or
Arn", "group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"secret": false, "description": "Event bus name or ARN" },
"autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover
Client", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "Setting the
autoDiscoverClient mechanism, if true, the component will look for a client
instan [...]
"eventbridgeClient": { "kind": "parameter", "displayName": "Eventbridge
Client", "group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.services.eventbridge.EventBridgeClient",
"deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To use a existing
configured AWS Eventbridge as client" },
- "eventbusName": { "kind": "parameter", "displayName": "Eventbus Name",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"defaultValue": "default", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "The eventbus name, the
default value is default and this means it will be the AWS event bus of your
[...]
"eventPatternFile": { "kind": "parameter", "displayName": "Event Pattern
File", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": 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, "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.eventbridge.EventbridgeOperations", "enum": [
"putRule", "putTargets", "removeTargets" ], "deprecated": false,
"deprecationNote": "", "secret": false, "defaultValue": "putRule",
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration" [...]
+ "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", "listRules" ], "deprecated": false, "deprecationNote": "",
"secret": false, "defaultValue": "putRule", "configurationClass":
"org.apache.camel.component.aws2.eventbridge.Eventbri [...]
"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.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, "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, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Eventbridge client" },
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 7cbcde0..54ed5f1 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 17 options, which are listed below.
+The component supports 16 options, which are listed below.
@@ -30,7 +30,6 @@ The component supports 17 options, which are listed below.
| *camel.component.aws2-eventbridge.enabled* | Whether to enable auto
configuration of the aws2-eventbridge component. This is enabled by default. |
| Boolean
| *camel.component.aws2-eventbridge.event-pattern-file* | EventPattern File |
| String
| *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. | | String
-| *camel.component.aws2-eventbridge.eventbus-name* | The eventbus name, the
default value is default and this means it will be the AWS event bus of your
account. | default | String
| *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.pojo-request* | If we want to use a POJO
request as body or not | false | Boolean
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 ca1a208..f1b0fa0 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
@@ -58,11 +58,6 @@ public class EventbridgeComponentConfiguration
*/
private String eventbridgeClient;
/**
- * The eventbus name, the default value is default and this means it will
be
- * the AWS event bus of your account.
- */
- private String eventbusName = "default";
- /**
* EventPattern File
*/
private String eventPatternFile;
@@ -146,14 +141,6 @@ public class EventbridgeComponentConfiguration
this.eventbridgeClient = eventbridgeClient;
}
- public String getEventbusName() {
- return eventbusName;
- }
-
- public void setEventbusName(String eventbusName) {
- this.eventbusName = eventbusName;
- }
-
public String getEventPatternFile() {
return eventPatternFile;
}
diff --git a/docs/modules/ROOT/pages/aws2-eventbridge-starter.adoc
b/docs/modules/ROOT/pages/aws2-eventbridge-starter.adoc
index 7cbcde0..54ed5f1 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 17 options, which are listed below.
+The component supports 16 options, which are listed below.
@@ -30,7 +30,6 @@ The component supports 17 options, which are listed below.
| *camel.component.aws2-eventbridge.enabled* | Whether to enable auto
configuration of the aws2-eventbridge component. This is enabled by default. |
| Boolean
| *camel.component.aws2-eventbridge.event-pattern-file* | EventPattern File |
| String
| *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. | | String
-| *camel.component.aws2-eventbridge.eventbus-name* | The eventbus name, the
default value is default and this means it will be the AWS event bus of your
account. | default | String
| *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.pojo-request* | If we want to use a POJO
request as body or not | false | Boolean