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 2018/01/09 10:19:01 UTC
[camel] branch master updated: CAMEL-12130 - Minimal changes
required to be able to upgrade braintree SDK to 2.74.0
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
The following commit(s) were added to refs/heads/master by this push:
new 8013229 CAMEL-12130 - Minimal changes required to be able to upgrade braintree SDK to 2.74.0
8013229 is described below
commit 8013229758c2ec46e00fe392f08f90a42f98af3e
Author: Russ Johnson <ru...@magento.com>
AuthorDate: Fri Jan 5 13:07:44 2018 +0100
CAMEL-12130 - Minimal changes required to be able to upgrade braintree SDK to 2.74.0
---
components/camel-braintree/pom.xml | 39 ++++++++++++++++++++++++++++++++++++++
parent/pom.xml | 2 +-
2 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/components/camel-braintree/pom.xml b/components/camel-braintree/pom.xml
index 498fdb5..1637634 100644
--- a/components/camel-braintree/pom.xml
+++ b/components/camel-braintree/pom.xml
@@ -151,6 +151,22 @@
<apiName>merchantAccount</apiName>
<proxyClass>com.braintreegateway.MerchantAccountGateway</proxyClass>
<fromJavadoc/>
+ <substitutions>
+ <substitution>
+ <method>^.+$</method>
+ <argName>^.+$</argName>
+ <argType>com.braintreegateway.MerchantAccountRequest</argType>
+ <replacement>request</replacement>
+ <replaceWithType>false</replaceWithType>
+ </substitution>
+ <substitution>
+ <method>^.+$</method>
+ <argName>^.+$</argName>
+ <argType>com.braintreegateway.MerchantAccountCreateForCurrencyRequest</argType>
+ <replacement>currencyRequest</replacement>
+ <replaceWithType>false</replaceWithType>
+ </substitution>
+ </substitutions>
</api>
<api>
<apiName>paymentMethod</apiName>
@@ -158,6 +174,22 @@
<fromJavadoc>
<excludeMethods>.*parse.*</excludeMethods>
</fromJavadoc>
+ <substitutions>
+ <substitution>
+ <method>^.+$</method>
+ <argName>^.+$</argName>
+ <argType>com.braintreegateway.PaymentMethodRequest</argType>
+ <replacement>request</replacement>
+ <replaceWithType>false</replaceWithType>
+ </substitution>
+ <substitution>
+ <method>^.+$</method>
+ <argName>^.+$</argName>
+ <argType>com.braintreegateway.PaymentMethodDeleteRequest</argType>
+ <replacement>deleteRequest</replacement>
+ <replaceWithType>false</replaceWithType>
+ </substitution>
+ </substitutions>
</api>
<api>
<apiName>paymentMethodNonce</apiName>
@@ -198,6 +230,13 @@
<substitution>
<method>^.+$</method>
<argName>^.+$</argName>
+ <argType>com.braintreegateway.TransactionRefundRequest</argType>
+ <replacement>refundRequest</replacement>
+ <replaceWithType>false</replaceWithType>
+ </substitution>
+ <substitution>
+ <method>^.+$</method>
+ <argName>^.+$</argName>
<argType>com.braintreegateway.TransactionCloneRequest</argType>
<replacement>cloneRequest</replacement>
<replaceWithType>false</replaceWithType>
diff --git a/parent/pom.xml b/parent/pom.xml
index b2f70a0..b81176d 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -97,7 +97,7 @@
<bouncycastle-version>1.57</bouncycastle-version>
<boxjavalibv2.version>3.2.1</boxjavalibv2.version>
<box-java-sdk-version>2.8.2</box-java-sdk-version>
- <braintree-gateway-version>2.63.0</braintree-gateway-version>
+ <braintree-gateway-version>2.74.0</braintree-gateway-version>
<brave-zipkin-version>4.13.2</brave-zipkin-version>
<build-helper-maven-plugin-version>1.10</build-helper-maven-plugin-version>
<c3p0-version>0.9.5.2</c3p0-version>
--
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].