You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/07/02 08:44:16 UTC
[camel] 02/02: Sync deps and regen
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 403b4b17e8a72a2b564965813359850934d01286
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 2 10:43:05 2021 +0200
Sync deps and regen
---
camel-dependencies/pom.xml | 2 +-
.../resources/org/apache/camel/catalog/components/braintree.json | 4 ++--
.../org/apache/camel/catalog/docs/braintree-component.adoc | 8 ++++++--
.../WebhookNotificationGatewayEndpointConfiguration.java | 4 ++--
.../braintree/internal/WebhookNotificationGatewayApiMethod.java | 5 +++++
.../resources/org/apache/camel/component/braintree/braintree.json | 4 ++--
components/camel-braintree/src/main/docs/braintree-component.adoc | 8 ++++++--
docs/components/modules/ROOT/pages/braintree-component.adoc | 8 ++++++--
8 files changed, 30 insertions(+), 13 deletions(-)
diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 22cb375..c89e85b 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -75,7 +75,7 @@
<beanstalkd-client-version>1.4.6</beanstalkd-client-version>
<bouncycastle-version>1.69</bouncycastle-version>
<box-java-sdk-version>2.54.0</box-java-sdk-version>
- <braintree-gateway-version>3.10.0</braintree-gateway-version>
+ <braintree-gateway-version>3.11.0</braintree-gateway-version>
<brave-zipkin-version>5.13.3</brave-zipkin-version>
<build-helper-maven-plugin-version>3.2.0</build-helper-maven-plugin-version>
<c3p0-version>0.9.5.5</c3p0-version>
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/braintree.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/braintree.json
index 72ce4d4..baa3480 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/braintree.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/braintree.json
@@ -58,7 +58,7 @@
"settlementBatchSummary": { "consumerOnly": false, "producerOnly": true, "description": "Provides methods to interact wit settlement summaries", "methods": { "generate": { "description": "", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.SettlementBatchSummary> generate(java.util.Calendar settlementDate)", "com.braintreegateway.Result<com.braintreegateway.SettlementBatchSummary> generate(java.util.Calendar settlementDate, String groupByCustomField)" ] } } },
"subscription": { "consumerOnly": false, "producerOnly": true, "description": "Provides methods to interact with Subscriptions", "methods": { "cancel": { "description": "Cancels the Subscription with the given id", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.Subscription> cancel(String id)" ] }, "create": { "description": "Creates a Subscription", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.Subscription> create(com.braintreegateway.Subscrip [...]
"transaction": { "consumerOnly": false, "producerOnly": true, "description": "Provides methods to interact with Transactions", "methods": { "adjustAuthorization": { "description": "Submits the transaction with the given id to be adjusted for the given amount which must be less than or equal to the authorization amount", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.Transaction> adjustAuthorization(String id, com.braintreegateway.TransactionRequest request)", "com. [...]
- "webhookNotification": { "consumerOnly": false, "producerOnly": true, "description": "To retrieve notifications via webhooks", "methods": { "parse": { "description": "", "signatures": [ "com.braintreegateway.WebhookNotification parse(String signature, String payload)" ] }, "verify": { "description": "", "signatures": [ "String verify(String challenge)" ] } } }
+ "webhookNotification": { "consumerOnly": false, "producerOnly": true, "description": "To retrieve notifications via webhooks", "methods": { "parse": { "description": "", "signatures": [ "com.braintreegateway.WebhookNotification parse(String signature, String payload)" ] }, "parseWithoutSignatureVerification": { "description": "", "signatures": [ "com.braintreegateway.WebhookNotification parseWithoutSignatureVerification(String payload)" ] }, "verify": { "description": "", "signatures [...]
},
"apiProperties": {
"address": { "methods": { "create": { "properties": { "customerId": { "kind": "parameter", "displayName": "Customer Id", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of the Customer", "optional": false }, "request": { "kind": "parameter", "displayName": "Request", "group": "producer", "label": "", "required": false, "type": "object", "javaType": " [...]
@@ -74,6 +74,6 @@
"settlementBatchSummary": { "methods": { "generate": { "properties": { "groupByCustomField": { "kind": "parameter", "displayName": "Group By Custom Field", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "settlementDate": { "kind": "parameter", "displayName": "Settlement Date", "group": "producer", "label": "", "required": false, "ty [...]
"subscription": { "methods": { "cancel": { "properties": { "id": { "kind": "parameter", "displayName": "Id", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Of the Subscription to cancel", "optional": false } } }, "create": { "properties": { "request": { "kind": "parameter", "displayName": "Request", "group": "producer", "label": "", "required": false, "typ [...]
"transaction": { "methods": { "adjustAuthorization": { "properties": { "amount": { "kind": "parameter", "displayName": "Amount", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "java.math.BigDecimal", "deprecated": false, "autowired": false, "secret": false, "description": "To be adjusted", "optional": false }, "id": { "kind": "parameter", "displayName": "Id", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.l [...]
- "webhookNotification": { "methods": { "parse": { "properties": { "payload": { "kind": "parameter", "displayName": "Payload", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "signature": { "kind": "parameter", "displayName": "Signature", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.Stri [...]
+ "webhookNotification": { "methods": { "parse": { "properties": { "payload": { "kind": "parameter", "displayName": "Payload", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "signature": { "kind": "parameter", "displayName": "Signature", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.Stri [...]
}
}
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/braintree-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/braintree-component.adoc
index 3859c88..53660aa 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/braintree-component.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/braintree-component.adoc
@@ -1025,7 +1025,7 @@ would override a `CamelBraintree.myParameterNameHere` header.
-The webhookNotification API has 2 method(s) which is represented by the following method signatures
+The webhookNotification API has 3 method(s) which is represented by the following method signatures
(an API method may have multiple signatures due to overloading):
[source,java]
@@ -1033,6 +1033,8 @@ The webhookNotification API has 2 method(s) which is represented by the followin
com.braintreegateway.WebhookNotification parse(String signature, String payload);
+com.braintreegateway.WebhookNotification parseWithoutSignatureVerification(String payload);
+
String verify(String challenge);
----
@@ -1043,13 +1045,14 @@ The webhookNotification API is defined in the syntax as follows:
braintree:webhookNotification/methodName?[parameters]
----
-The 2 method(s) is listed in the table below.
+The 3 method(s) is listed in the table below.
(API methods can have a shorthand alias name which can be used in the syntax instead of the name)
[width="100%",cols="2,2,6",options="header"]
|===
| Method | Alias | Description
| *parse* | |
+| *parseWithoutSignatureVerification* | |
| *verify* | |
|===
@@ -1059,6 +1062,7 @@ The webhookNotification API method(s) has the following set of parameters listed
| Method | Parameter | Description | Type
| parse | *payload* | | String
| parse | *signature* | | String
+| parseWithoutSignatureVerification | *payload* | | String
| verify | *challenge* | | String
|===
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/WebhookNotificationGatewayEndpointConfiguration.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/WebhookNotificationGatewayEndpointConfiguration.java
index ba87ecd..a6af240 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/WebhookNotificationGatewayEndpointConfiguration.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/WebhookNotificationGatewayEndpointConfiguration.java
@@ -16,7 +16,7 @@ import org.apache.camel.spi.UriParams;
*/
@ApiParams(apiName = "webhookNotification",
description = "To retrieve notifications via webhooks",
- apiMethods = {@ApiMethod(methodName = "parse", signatures={"com.braintreegateway.WebhookNotification parse(String signature, String payload)"}), @ApiMethod(methodName = "verify", signatures={"String verify(String challenge)"})}, aliases = {})
+ apiMethods = {@ApiMethod(methodName = "parse", signatures={"com.braintreegateway.WebhookNotification parse(String signature, String payload)"}), @ApiMethod(methodName = "parseWithoutSignatureVerification", signatures={"com.braintreegateway.WebhookNotification parseWithoutSignatureVerification(String payload)"}), @ApiMethod(methodName = "verify", signatures={"String verify(String challenge)"})}, aliases = {})
@UriParams
@Configurer(extended = true)
public final class WebhookNotificationGatewayEndpointConfiguration extends BraintreeConfiguration {
@@ -24,7 +24,7 @@ public final class WebhookNotificationGatewayEndpointConfiguration extends Brain
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "verify")})
private String challenge;
@UriParam
- @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "parse")})
+ @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "parse"), @ApiMethod(methodName = "parseWithoutSignatureVerification")})
private String payload;
@UriParam
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "parse")})
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
index cfe0222..f261627 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
@@ -26,6 +26,11 @@ public enum WebhookNotificationGatewayApiMethod implements ApiMethod {
arg("signature", String.class),
arg("payload", String.class)),
+ PARSE_WITHOUT_SIGNATURE_VERIFICATION(
+ com.braintreegateway.WebhookNotification.class,
+ "parseWithoutSignatureVerification",
+ arg("payload", String.class)),
+
VERIFY(
String.class,
"verify",
diff --git a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
index 72ce4d4..baa3480 100644
--- a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
+++ b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
@@ -58,7 +58,7 @@
"settlementBatchSummary": { "consumerOnly": false, "producerOnly": true, "description": "Provides methods to interact wit settlement summaries", "methods": { "generate": { "description": "", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.SettlementBatchSummary> generate(java.util.Calendar settlementDate)", "com.braintreegateway.Result<com.braintreegateway.SettlementBatchSummary> generate(java.util.Calendar settlementDate, String groupByCustomField)" ] } } },
"subscription": { "consumerOnly": false, "producerOnly": true, "description": "Provides methods to interact with Subscriptions", "methods": { "cancel": { "description": "Cancels the Subscription with the given id", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.Subscription> cancel(String id)" ] }, "create": { "description": "Creates a Subscription", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.Subscription> create(com.braintreegateway.Subscrip [...]
"transaction": { "consumerOnly": false, "producerOnly": true, "description": "Provides methods to interact with Transactions", "methods": { "adjustAuthorization": { "description": "Submits the transaction with the given id to be adjusted for the given amount which must be less than or equal to the authorization amount", "signatures": [ "com.braintreegateway.Result<com.braintreegateway.Transaction> adjustAuthorization(String id, com.braintreegateway.TransactionRequest request)", "com. [...]
- "webhookNotification": { "consumerOnly": false, "producerOnly": true, "description": "To retrieve notifications via webhooks", "methods": { "parse": { "description": "", "signatures": [ "com.braintreegateway.WebhookNotification parse(String signature, String payload)" ] }, "verify": { "description": "", "signatures": [ "String verify(String challenge)" ] } } }
+ "webhookNotification": { "consumerOnly": false, "producerOnly": true, "description": "To retrieve notifications via webhooks", "methods": { "parse": { "description": "", "signatures": [ "com.braintreegateway.WebhookNotification parse(String signature, String payload)" ] }, "parseWithoutSignatureVerification": { "description": "", "signatures": [ "com.braintreegateway.WebhookNotification parseWithoutSignatureVerification(String payload)" ] }, "verify": { "description": "", "signatures [...]
},
"apiProperties": {
"address": { "methods": { "create": { "properties": { "customerId": { "kind": "parameter", "displayName": "Customer Id", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of the Customer", "optional": false }, "request": { "kind": "parameter", "displayName": "Request", "group": "producer", "label": "", "required": false, "type": "object", "javaType": " [...]
@@ -74,6 +74,6 @@
"settlementBatchSummary": { "methods": { "generate": { "properties": { "groupByCustomField": { "kind": "parameter", "displayName": "Group By Custom Field", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "settlementDate": { "kind": "parameter", "displayName": "Settlement Date", "group": "producer", "label": "", "required": false, "ty [...]
"subscription": { "methods": { "cancel": { "properties": { "id": { "kind": "parameter", "displayName": "Id", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Of the Subscription to cancel", "optional": false } } }, "create": { "properties": { "request": { "kind": "parameter", "displayName": "Request", "group": "producer", "label": "", "required": false, "typ [...]
"transaction": { "methods": { "adjustAuthorization": { "properties": { "amount": { "kind": "parameter", "displayName": "Amount", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "java.math.BigDecimal", "deprecated": false, "autowired": false, "secret": false, "description": "To be adjusted", "optional": false }, "id": { "kind": "parameter", "displayName": "Id", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.l [...]
- "webhookNotification": { "methods": { "parse": { "properties": { "payload": { "kind": "parameter", "displayName": "Payload", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "signature": { "kind": "parameter", "displayName": "Signature", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.Stri [...]
+ "webhookNotification": { "methods": { "parse": { "properties": { "payload": { "kind": "parameter", "displayName": "Payload", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "signature": { "kind": "parameter", "displayName": "Signature", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.Stri [...]
}
}
diff --git a/components/camel-braintree/src/main/docs/braintree-component.adoc b/components/camel-braintree/src/main/docs/braintree-component.adoc
index 3859c88..53660aa 100644
--- a/components/camel-braintree/src/main/docs/braintree-component.adoc
+++ b/components/camel-braintree/src/main/docs/braintree-component.adoc
@@ -1025,7 +1025,7 @@ would override a `CamelBraintree.myParameterNameHere` header.
-The webhookNotification API has 2 method(s) which is represented by the following method signatures
+The webhookNotification API has 3 method(s) which is represented by the following method signatures
(an API method may have multiple signatures due to overloading):
[source,java]
@@ -1033,6 +1033,8 @@ The webhookNotification API has 2 method(s) which is represented by the followin
com.braintreegateway.WebhookNotification parse(String signature, String payload);
+com.braintreegateway.WebhookNotification parseWithoutSignatureVerification(String payload);
+
String verify(String challenge);
----
@@ -1043,13 +1045,14 @@ The webhookNotification API is defined in the syntax as follows:
braintree:webhookNotification/methodName?[parameters]
----
-The 2 method(s) is listed in the table below.
+The 3 method(s) is listed in the table below.
(API methods can have a shorthand alias name which can be used in the syntax instead of the name)
[width="100%",cols="2,2,6",options="header"]
|===
| Method | Alias | Description
| *parse* | |
+| *parseWithoutSignatureVerification* | |
| *verify* | |
|===
@@ -1059,6 +1062,7 @@ The webhookNotification API method(s) has the following set of parameters listed
| Method | Parameter | Description | Type
| parse | *payload* | | String
| parse | *signature* | | String
+| parseWithoutSignatureVerification | *payload* | | String
| verify | *challenge* | | String
|===
diff --git a/docs/components/modules/ROOT/pages/braintree-component.adoc b/docs/components/modules/ROOT/pages/braintree-component.adoc
index aee7b60..05b3ebd 100644
--- a/docs/components/modules/ROOT/pages/braintree-component.adoc
+++ b/docs/components/modules/ROOT/pages/braintree-component.adoc
@@ -1027,7 +1027,7 @@ would override a `CamelBraintree.myParameterNameHere` header.
-The webhookNotification API has 2 method(s) which is represented by the following method signatures
+The webhookNotification API has 3 method(s) which is represented by the following method signatures
(an API method may have multiple signatures due to overloading):
[source,java]
@@ -1035,6 +1035,8 @@ The webhookNotification API has 2 method(s) which is represented by the followin
com.braintreegateway.WebhookNotification parse(String signature, String payload);
+com.braintreegateway.WebhookNotification parseWithoutSignatureVerification(String payload);
+
String verify(String challenge);
----
@@ -1045,13 +1047,14 @@ The webhookNotification API is defined in the syntax as follows:
braintree:webhookNotification/methodName?[parameters]
----
-The 2 method(s) is listed in the table below.
+The 3 method(s) is listed in the table below.
(API methods can have a shorthand alias name which can be used in the syntax instead of the name)
[width="100%",cols="2,2,6",options="header"]
|===
| Method | Alias | Description
| *parse* | |
+| *parseWithoutSignatureVerification* | |
| *verify* | |
|===
@@ -1061,6 +1064,7 @@ The webhookNotification API method(s) has the following set of parameters listed
| Method | Parameter | Description | Type
| parse | *payload* | | String
| parse | *signature* | | String
+| parseWithoutSignatureVerification | *payload* | | String
| verify | *challenge* | | String
|===