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 87c5a0af8a45991af8a479573d91e700755ba4cd Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Sep 28 09:03:50 2020 +0200 Camel-AWS2-Eventbridge: Regen --- .../catalog/docs/aws2-eventbridge-component.adoc | 4 +-- .../EventbridgeComponentConfigurer.java | 39 +++++++++------------ .../eventbridge/EventbridgeEndpointConfigurer.java | 40 +++++++++------------- .../eventbridge/EventbridgeEndpointUriFactory.java | 1 + .../aws2/eventbridge/aws2-eventbridge.json | 4 +-- .../src/main/docs/aws2-eventbridge-component.adoc | 4 +-- .../aws2/eventbridge/EventbridgeProducer.java | 7 ++-- .../dsl/EventbridgeEndpointBuilderFactory.java | 3 +- .../ROOT/pages/aws2-eventbridge-component.adoc | 4 +-- 9 files changed, 49 insertions(+), 57 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc index a2d6dbc..d007b72 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc @@ -59,7 +59,7 @@ The AWS 2 Eventbridge component supports 15 options, which are listed below. | *eventbridgeClient* (producer) | To use a existing configured AWS Eventbridge as client | | EventBridgeClient | *eventPatternFile* (producer) | EventPattern File | | String | *lazyStartProducer* (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 then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 9 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule | putRule | EventbridgeOperations +| *operation* (producer) | *Required* The operation to perform. There are 10 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule, listRuleNamesByTarget | putRule | EventbridgeOperations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the Eventbridge client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the Eventbridge client | | Integer @@ -104,7 +104,7 @@ with the following path and query parameters: | *eventbridgeClient* (producer) | To use a existing configured AWS Eventbridge as client | | EventBridgeClient | *eventPatternFile* (producer) | EventPattern File | | String | *lazyStartProducer* (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 then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 9 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule | putRule | EventbridgeOperations +| *operation* (producer) | *Required* The operation to perform. There are 10 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule, listRuleNamesByTarget | putRule | EventbridgeOperations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the Eventbridge client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the Eventbridge client | | Integer diff --git a/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeComponentConfigurer.java b/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeComponentConfigurer.java index 67fa7dd..b9c00a1 100644 --- a/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeComponentConfigurer.java +++ b/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeComponentConfigurer.java @@ -15,27 +15,6 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; @SuppressWarnings("unchecked") public class EventbridgeComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { - private static final Map<String, Object> ALL_OPTIONS; - static { - Map<String, Object> map = new CaseInsensitiveMap(); - map.put("autoDiscoverClient", boolean.class); - map.put("configuration", org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration.class); - map.put("eventbridgeClient", software.amazon.awssdk.services.eventbridge.EventBridgeClient.class); - map.put("eventPatternFile", java.lang.String.class); - map.put("lazyStartProducer", boolean.class); - map.put("operation", org.apache.camel.component.aws2.eventbridge.EventbridgeOperations.class); - map.put("pojoRequest", boolean.class); - map.put("proxyHost", java.lang.String.class); - map.put("proxyPort", java.lang.Integer.class); - map.put("proxyProtocol", software.amazon.awssdk.core.Protocol.class); - map.put("region", java.lang.String.class); - map.put("trustAllCertificates", boolean.class); - map.put("basicPropertyBinding", boolean.class); - map.put("accessKey", java.lang.String.class); - map.put("secretKey", java.lang.String.class); - ALL_OPTIONS = map; - } - private org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration getOrCreateConfiguration(EventbridgeComponent target) { if (target.getConfiguration() == null) { target.setConfiguration(new org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration()); @@ -80,7 +59,23 @@ public class EventbridgeComponentConfigurer extends PropertyConfigurerSupport im @Override public Map<String, Object> getAllOptions(Object target) { - return ALL_OPTIONS; + Map<String, Object> answer = new CaseInsensitiveMap(); + answer.put("accessKey", java.lang.String.class); + answer.put("autoDiscoverClient", boolean.class); + answer.put("basicPropertyBinding", boolean.class); + answer.put("configuration", org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration.class); + answer.put("eventPatternFile", java.lang.String.class); + answer.put("eventbridgeClient", software.amazon.awssdk.services.eventbridge.EventBridgeClient.class); + answer.put("lazyStartProducer", boolean.class); + answer.put("operation", org.apache.camel.component.aws2.eventbridge.EventbridgeOperations.class); + answer.put("pojoRequest", boolean.class); + answer.put("proxyHost", java.lang.String.class); + answer.put("proxyPort", java.lang.Integer.class); + answer.put("proxyProtocol", software.amazon.awssdk.core.Protocol.class); + answer.put("region", java.lang.String.class); + answer.put("secretKey", java.lang.String.class); + answer.put("trustAllCertificates", boolean.class); + return answer; } @Override diff --git a/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointConfigurer.java b/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointConfigurer.java index 1537c1d..8f26101 100644 --- a/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointConfigurer.java +++ b/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointConfigurer.java @@ -15,28 +15,6 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; @SuppressWarnings("unchecked") public class EventbridgeEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { - private static final Map<String, Object> ALL_OPTIONS; - static { - Map<String, Object> map = new CaseInsensitiveMap(); - map.put("eventbusNameOrArn", java.lang.String.class); - map.put("autoDiscoverClient", boolean.class); - map.put("eventbridgeClient", software.amazon.awssdk.services.eventbridge.EventBridgeClient.class); - map.put("eventPatternFile", java.lang.String.class); - map.put("lazyStartProducer", boolean.class); - map.put("operation", org.apache.camel.component.aws2.eventbridge.EventbridgeOperations.class); - map.put("pojoRequest", boolean.class); - map.put("proxyHost", java.lang.String.class); - map.put("proxyPort", java.lang.Integer.class); - map.put("proxyProtocol", software.amazon.awssdk.core.Protocol.class); - map.put("region", java.lang.String.class); - map.put("trustAllCertificates", boolean.class); - map.put("basicPropertyBinding", boolean.class); - map.put("synchronous", boolean.class); - map.put("accessKey", java.lang.String.class); - map.put("secretKey", java.lang.String.class); - ALL_OPTIONS = map; - } - @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { EventbridgeEndpoint target = (EventbridgeEndpoint) obj; @@ -74,7 +52,23 @@ public class EventbridgeEndpointConfigurer extends PropertyConfigurerSupport imp @Override public Map<String, Object> getAllOptions(Object target) { - return ALL_OPTIONS; + Map<String, Object> answer = new CaseInsensitiveMap(); + answer.put("accessKey", java.lang.String.class); + answer.put("autoDiscoverClient", boolean.class); + answer.put("basicPropertyBinding", boolean.class); + answer.put("eventPatternFile", java.lang.String.class); + answer.put("eventbridgeClient", software.amazon.awssdk.services.eventbridge.EventBridgeClient.class); + answer.put("lazyStartProducer", boolean.class); + answer.put("operation", org.apache.camel.component.aws2.eventbridge.EventbridgeOperations.class); + answer.put("pojoRequest", boolean.class); + answer.put("proxyHost", java.lang.String.class); + answer.put("proxyPort", java.lang.Integer.class); + answer.put("proxyProtocol", software.amazon.awssdk.core.Protocol.class); + answer.put("region", java.lang.String.class); + answer.put("secretKey", java.lang.String.class); + answer.put("synchronous", boolean.class); + answer.put("trustAllCertificates", boolean.class); + return answer; } @Override diff --git a/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointUriFactory.java b/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointUriFactory.java index 0c370cb..87ac2b9 100644 --- a/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointUriFactory.java +++ b/components/camel-aws2-eventbridge/src/generated/java/org/apache/camel/component/aws2/eventbridge/EventbridgeEndpointUriFactory.java @@ -38,6 +38,7 @@ public class EventbridgeEndpointUriFactory extends org.apache.camel.support.comp PROPERTY_NAMES = set; } + @Override public boolean isEnabled(String scheme) { return "aws2-eventbridge".equals(scheme); diff --git a/components/camel-aws2-eventbridge/src/generated/resources/org/apache/camel/component/aws2/eventbridge/aws2-eventbridge.json b/components/camel-aws2-eventbridge/src/generated/resources/org/apache/camel/component/aws2/eventbridge/aws2-eventbridge.json index a165738..e4b0695 100644 --- a/components/camel-aws2-eventbridge/src/generated/resources/org/apache/camel/component/aws2/eventbridge/aws2-eventbridge.json +++ b/components/camel-aws2-eventbridge/src/generated/resources/org/apache/camel/component/aws2/eventbridge/aws2-eventbridge.json @@ -27,7 +27,7 @@ "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" }, "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", "deleteRule", "enableRule", "disableRule", "describeRule", "listRules", "listTargetsByRule" ], "deprecated": false, "deprecationNote": "", "secret": false, "defaultValue": "putRule", "configurationClass": "org.apache.camel [...] + "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": "", "secret": false, "defaultValue": "putRule", "configuration [...] "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" }, @@ -44,7 +44,7 @@ "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" }, "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", "deleteRule", "enableRule", "disableRule", "describeRule", "listRules", "listTargetsByRule" ], "deprecated": false, "deprecationNote": "", "secret": false, "defaultValue": "putRule", "configurationClass": "org.apache.came [...] + "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": "", "secret": false, "defaultValue": "putRule", "configuratio [...] "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/camel-aws2-eventbridge/src/main/docs/aws2-eventbridge-component.adoc b/components/camel-aws2-eventbridge/src/main/docs/aws2-eventbridge-component.adoc index a2d6dbc..d007b72 100644 --- a/components/camel-aws2-eventbridge/src/main/docs/aws2-eventbridge-component.adoc +++ b/components/camel-aws2-eventbridge/src/main/docs/aws2-eventbridge-component.adoc @@ -59,7 +59,7 @@ The AWS 2 Eventbridge component supports 15 options, which are listed below. | *eventbridgeClient* (producer) | To use a existing configured AWS Eventbridge as client | | EventBridgeClient | *eventPatternFile* (producer) | EventPattern File | | String | *lazyStartProducer* (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 then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 9 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule | putRule | EventbridgeOperations +| *operation* (producer) | *Required* The operation to perform. There are 10 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule, listRuleNamesByTarget | putRule | EventbridgeOperations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the Eventbridge client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the Eventbridge client | | Integer @@ -104,7 +104,7 @@ with the following path and query parameters: | *eventbridgeClient* (producer) | To use a existing configured AWS Eventbridge as client | | EventBridgeClient | *eventPatternFile* (producer) | EventPattern File | | String | *lazyStartProducer* (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 then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 9 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule | putRule | EventbridgeOperations +| *operation* (producer) | *Required* The operation to perform. There are 10 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule, listRuleNamesByTarget | putRule | EventbridgeOperations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the Eventbridge client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the Eventbridge client | | Integer diff --git a/components/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java b/components/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java index 208c017..f88184a 100644 --- a/components/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java +++ b/components/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java @@ -446,7 +446,7 @@ public class EventbridgeProducer extends DefaultProducer { message.setBody(result); } } - + private void listRuleNamesByTarget(EventBridgeClient eventbridgeClient, Exchange exchange) throws InvalidPayloadException { if (getConfiguration().isPojoRequest()) { Object payload = exchange.getIn().getMandatoryBody(); @@ -455,14 +455,15 @@ public class EventbridgeProducer extends DefaultProducer { try { result = eventbridgeClient.listRuleNamesByTarget((ListRuleNamesByTargetRequest) payload); } catch (AwsServiceException ase) { - LOG.trace("List Rule Name by Targets command returned the error code {}", ase.awsErrorDetails().errorCode()); + LOG.trace("List Rule Name by Targets command returned the error code {}", + ase.awsErrorDetails().errorCode()); throw ase; } Message message = getMessageForResponse(exchange); message.setBody(result); } } else { - ListRuleNamesByTargetRequest.Builder builder = ListRuleNamesByTargetRequest.builder(); + ListRuleNamesByTargetRequest.Builder builder = ListRuleNamesByTargetRequest.builder(); if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(EventbridgeConstants.TARGET_ARN))) { String targetArn = exchange.getIn().getHeader(EventbridgeConstants.TARGET_ARN, String.class); builder.targetArn(targetArn); diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java index ed033b8..373b53e 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java @@ -408,7 +408,8 @@ public interface EventbridgeEndpointBuilderFactory { disableRule, describeRule, listRules, - listTargetsByRule; + listTargetsByRule, + listRuleNamesByTarget; } /** diff --git a/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc b/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc index e8c8723..4f30158 100644 --- a/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc @@ -61,7 +61,7 @@ The AWS 2 Eventbridge component supports 15 options, which are listed below. | *eventbridgeClient* (producer) | To use a existing configured AWS Eventbridge as client | | EventBridgeClient | *eventPatternFile* (producer) | EventPattern File | | String | *lazyStartProducer* (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 then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 9 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule | putRule | EventbridgeOperations +| *operation* (producer) | *Required* The operation to perform. There are 10 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule, listRuleNamesByTarget | putRule | EventbridgeOperations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the Eventbridge client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the Eventbridge client | | Integer @@ -106,7 +106,7 @@ with the following path and query parameters: | *eventbridgeClient* (producer) | To use a existing configured AWS Eventbridge as client | | EventBridgeClient | *eventPatternFile* (producer) | EventPattern File | | String | *lazyStartProducer* (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 then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 9 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule | putRule | EventbridgeOperations +| *operation* (producer) | *Required* The operation to perform. There are 10 enums and the value can be one of: putRule, putTargets, removeTargets, deleteRule, enableRule, disableRule, describeRule, listRules, listTargetsByRule, listRuleNamesByTarget | putRule | EventbridgeOperations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the Eventbridge client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the Eventbridge client | | Integer