You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/02/09 11:17:15 UTC
[camel-quarkus] branch main updated (169abc830e -> 289926cc44)
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
from 169abc830e Updated CHANGELOG.md
new 7c1952451a Fix JAXB native compilation issues resolving com.sun.istack.ByteArrayDataSource
new 289926cc44 Update Salesforce tests for v56.0 API
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../quarkus/component/jackson/JacksonProcessor.java | 3 ++-
.../json/path/deployment/JsonPathProcessor.java | 3 ++-
integration-tests/pom.xml | 6 +++---
.../quarkus/component/salesforce/generated/Account.java | 16 ++++++++--------
.../src/test/resources/mappings/bulApi-abortJob.json | 2 +-
.../src/test/resources/mappings/bulkApi-createJob.json | 2 +-
.../src/test/resources/mappings/deleteAccount.json | 2 +-
.../src/test/resources/mappings/getAccount.json | 2 +-
.../src/test/resources/mappings/getAccountBasicInfo.json | 4 ++--
.../src/test/resources/mappings/getAccountById.json | 2 +-
.../test/resources/mappings/getAccountDescription.json | 4 ++--
.../src/test/resources/mappings/getAccountLongQuery.json | 2 +-
.../src/test/resources/mappings/getDocument.json | 2 +-
.../src/test/resources/mappings/getLimits.json | 2 +-
.../src/test/resources/mappings/getListOfObjects.json | 4 ++--
.../src/test/resources/mappings/getRestResources.json | 4 ++--
.../src/test/resources/mappings/setAccount.json | 2 +-
pom.xml | 1 -
poms/bom/pom.xml | 5 -----
poms/bom/src/main/generated/flattened-full-pom.xml | 5 -----
poms/bom/src/main/generated/flattened-reduced-pom.xml | 5 -----
.../src/main/generated/flattened-reduced-verbose-pom.xml | 5 -----
tooling/scripts/test-categories.yaml | 3 +++
23 files changed, 35 insertions(+), 51 deletions(-)
[camel-quarkus] 01/02: Fix JAXB native compilation issues resolving com.sun.istack.ByteArrayDataSource
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 7c1952451ac022bd201a2b2d233bdc6c560f74bd
Author: James Netherton <ja...@gmail.com>
AuthorDate: Thu Feb 9 08:00:59 2023 +0000
Fix JAXB native compilation issues resolving com.sun.istack.ByteArrayDataSource
Fixes #4507
---
.../apache/camel/quarkus/component/jackson/JacksonProcessor.java | 3 ++-
.../quarkus/component/json/path/deployment/JsonPathProcessor.java | 3 ++-
integration-tests/pom.xml | 6 +++---
pom.xml | 1 -
poms/bom/pom.xml | 5 -----
poms/bom/src/main/generated/flattened-full-pom.xml | 5 -----
poms/bom/src/main/generated/flattened-reduced-pom.xml | 5 -----
poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 5 -----
tooling/scripts/test-categories.yaml | 3 +++
9 files changed, 10 insertions(+), 26 deletions(-)
diff --git a/extensions/jackson/deployment/src/main/java/org/apache/camel/quarkus/component/jackson/JacksonProcessor.java b/extensions/jackson/deployment/src/main/java/org/apache/camel/quarkus/component/jackson/JacksonProcessor.java
index 4789246bd1..07be4d0d4c 100644
--- a/extensions/jackson/deployment/src/main/java/org/apache/camel/quarkus/component/jackson/JacksonProcessor.java
+++ b/extensions/jackson/deployment/src/main/java/org/apache/camel/quarkus/component/jackson/JacksonProcessor.java
@@ -36,7 +36,8 @@ public class JacksonProcessor {
@BuildStep
List<ReflectiveClassBuildItem> registerReflectiveClasses() {
List<ReflectiveClassBuildItem> items = new ArrayList<>();
- items.add(new ReflectiveClassBuildItem(false, true, "com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule"));
+ items.add(new ReflectiveClassBuildItem(false, true,
+ "com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationModule"));
items.add(new ReflectiveClassBuildItem(false, false, JsonNode.class));
return items;
}
diff --git a/extensions/jsonpath/deployment/src/main/java/org/apache/camel/quarkus/component/json/path/deployment/JsonPathProcessor.java b/extensions/jsonpath/deployment/src/main/java/org/apache/camel/quarkus/component/json/path/deployment/JsonPathProcessor.java
index 1fa13215f2..c380767dbd 100644
--- a/extensions/jsonpath/deployment/src/main/java/org/apache/camel/quarkus/component/json/path/deployment/JsonPathProcessor.java
+++ b/extensions/jsonpath/deployment/src/main/java/org/apache/camel/quarkus/component/json/path/deployment/JsonPathProcessor.java
@@ -42,7 +42,8 @@ class JsonPathProcessor {
reflectiveClassBuildItems.add(new ReflectiveClassBuildItem(true, false, JsonPath.class));
reflectiveClassBuildItems.add(new ReflectiveClassBuildItem(false, false, JacksonJsonAdapter.class));
reflectiveClassBuildItems
- .add(new ReflectiveClassBuildItem(false, false, "com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule"));
+ .add(new ReflectiveClassBuildItem(false, false,
+ "com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationModule"));
return reflectiveClassBuildItems;
}
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index 3d22257427..8b72ab4187 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -43,7 +43,7 @@
<module>main</module>
<module>main-devmode</module>
<module>main-discovery-disabled</module>
- <!--<module>main-xml-jaxb</module> https://github.com/apache/camel-quarkus/issues/4507 -->
+ <module>main-xml-jaxb</module>
<module>main-xml-io</module>
<module>main-collector</module>
<!--<module>main-caffeine-lrucache</module>-->
@@ -80,7 +80,7 @@
<module>csv</module>
<!--<module>cxf-soap-grouped</module>-->
<module>dataformat</module>
- <!--<module>dataformats-json</module> https://github.com/apache/camel-quarkus/issues/4507 -->
+ <module>dataformats-json</module>
<!--<module>datasonnet</module>-->
<module>debezium</module>
<module>digitalocean</module>
@@ -193,7 +193,7 @@
<module>rest</module>
<module>rest-openapi</module>
<module>saga</module>
- <!--<module>salesforce</module> https://github.com/apache/camel-quarkus/issues/4526 -->
+ <module>salesforce</module>
<module>sap-netweaver</module>
<!--<module>saxon</module> https://github.com/apache/camel-quarkus/issues/4512 -->
<module>servicenow</module>
diff --git a/pom.xml b/pom.xml
index 599e20b0c9..68f17f3fe6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,7 +158,6 @@
<ftpserver.version>1.1.1</ftpserver.version>
<greenmail.version>1.6.7</greenmail.version>
<hamcrest.version>2.2</hamcrest.version><!-- Awaitility and Wiremock -->
- <istack-commons-runtime.version>3.0.10</istack-commons-runtime.version>
<htmlunit-driver.version>2.47.1</htmlunit-driver.version>
<mock-javamail.version>${mock-javamail-version}</mock-javamail.version>
<pdfbox.version>${pdfbox-version}</pdfbox.version>
diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index 3d51b66433..f41ecb4366 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -6142,11 +6142,6 @@
<artifactId>retrofit</artifactId>
<version>${retrofit.version}</version>
</dependency>
- <dependency>
- <groupId>com.sun.istack</groupId>
- <artifactId>istack-commons-runtime</artifactId>
- <version>${istack-commons-runtime.version}</version>
- </dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml
index c1410ef040..ecaf04fa4b 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -5948,11 +5948,6 @@
<artifactId>retrofit</artifactId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
<version>2.5.0</version><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
</dependency>
- <dependency>
- <groupId>com.sun.istack</groupId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
- <artifactId>istack-commons-runtime</artifactId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
- <version>3.0.10</version><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
- </dependency>
<dependency>
<groupId>commons-beanutils</groupId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
<artifactId>commons-beanutils</artifactId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml
index 7662c29ab6..8b806b63bd 100644
--- a/poms/bom/src/main/generated/flattened-reduced-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml
@@ -5943,11 +5943,6 @@
<artifactId>retrofit</artifactId>
<version>2.5.0</version>
</dependency>
- <dependency>
- <groupId>com.sun.istack</groupId>
- <artifactId>istack-commons-runtime</artifactId>
- <version>3.0.10</version>
- </dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
index 37c4042e6f..b081c7b192 100644
--- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
@@ -5943,11 +5943,6 @@
<artifactId>retrofit</artifactId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
<version>2.5.0</version><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
</dependency>
- <dependency>
- <groupId>com.sun.istack</groupId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
- <artifactId>istack-commons-runtime</artifactId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
- <version>3.0.10</version><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
- </dependency>
<dependency>
<groupId>commons-beanutils</groupId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
<artifactId>commons-beanutils</artifactId><!-- org.apache.camel.quarkus:camel-quarkus-bom:${project.version} -->
diff --git a/tooling/scripts/test-categories.yaml b/tooling/scripts/test-categories.yaml
index 1316db18e5..e6a4ac5436 100644
--- a/tooling/scripts/test-categories.yaml
+++ b/tooling/scripts/test-categories.yaml
@@ -49,6 +49,7 @@ group-03:
- main-devmode
- main-discovery-disabled
- main-xml-io
+ - main-xml-jaxb
- main-yaml
- shiro
- validator
@@ -91,6 +92,7 @@ group-06:
- saga
- sjms-qpid-amqp-client
group-07:
+ - dataformats-json
- dropbox
- geocoder
- jslt
@@ -176,6 +178,7 @@ group-13:
- jsh-dsl
- kotlin-dsl
- kubernetes
+ - salesforce
- sap-netweaver
- servicenow
- slack
[camel-quarkus] 02/02: Update Salesforce tests for v56.0 API
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 289926cc44d02d1494e0d1bfd1ecf41532ce1f63
Author: James Netherton <ja...@gmail.com>
AuthorDate: Thu Feb 9 08:00:04 2023 +0000
Update Salesforce tests for v56.0 API
Fixes #4526
---
.../quarkus/component/salesforce/generated/Account.java | 16 ++++++++--------
.../src/test/resources/mappings/bulApi-abortJob.json | 2 +-
.../src/test/resources/mappings/bulkApi-createJob.json | 2 +-
.../src/test/resources/mappings/deleteAccount.json | 2 +-
.../src/test/resources/mappings/getAccount.json | 2 +-
.../src/test/resources/mappings/getAccountBasicInfo.json | 4 ++--
.../src/test/resources/mappings/getAccountById.json | 2 +-
.../test/resources/mappings/getAccountDescription.json | 4 ++--
.../src/test/resources/mappings/getAccountLongQuery.json | 2 +-
.../src/test/resources/mappings/getDocument.json | 2 +-
.../src/test/resources/mappings/getLimits.json | 2 +-
.../src/test/resources/mappings/getListOfObjects.json | 4 ++--
.../src/test/resources/mappings/getRestResources.json | 4 ++--
.../src/test/resources/mappings/setAccount.json | 2 +-
14 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/integration-tests/salesforce/src/main/java/org/apache/camel/quarkus/component/salesforce/generated/Account.java b/integration-tests/salesforce/src/main/java/org/apache/camel/quarkus/component/salesforce/generated/Account.java
index 9a02f0cc7a..2a2770e3bb 100644
--- a/integration-tests/salesforce/src/main/java/org/apache/camel/quarkus/component/salesforce/generated/Account.java
+++ b/integration-tests/salesforce/src/main/java/org/apache/camel/quarkus/component/salesforce/generated/Account.java
@@ -991,14 +991,14 @@ public class Account extends AbstractDescribedSObjectBase {
description.setName("Account");
final SObjectDescriptionUrls sObjectDescriptionUrls1 = new SObjectDescriptionUrls();
- sObjectDescriptionUrls1.setApprovalLayouts("/services/data/v54.0/sobjects/Account/describe/approvalLayouts");
- sObjectDescriptionUrls1.setCompactLayouts("/services/data/v54.0/sobjects/Account/describe/compactLayouts");
- sObjectDescriptionUrls1.setDescribe("/services/data/v54.0/sobjects/Account/describe");
- sObjectDescriptionUrls1.setLayouts("/services/data/v54.0/sobjects/Account/describe/layouts");
- sObjectDescriptionUrls1.setListviews("/services/data/v54.0/sobjects/Account/listviews");
- sObjectDescriptionUrls1.setQuickActions("/services/data/v54.0/sobjects/Account/quickActions");
- sObjectDescriptionUrls1.setRowTemplate("/services/data/v54.0/sobjects/Account/{ID}");
- sObjectDescriptionUrls1.setSobject("/services/data/v54.0/sobjects/Account");
+ sObjectDescriptionUrls1.setApprovalLayouts("/services/data/v56.0/sobjects/Account/describe/approvalLayouts");
+ sObjectDescriptionUrls1.setCompactLayouts("/services/data/v56.0/sobjects/Account/describe/compactLayouts");
+ sObjectDescriptionUrls1.setDescribe("/services/data/v56.0/sobjects/Account/describe");
+ sObjectDescriptionUrls1.setLayouts("/services/data/v56.0/sobjects/Account/describe/layouts");
+ sObjectDescriptionUrls1.setListviews("/services/data/v56.0/sobjects/Account/listviews");
+ sObjectDescriptionUrls1.setQuickActions("/services/data/v56.0/sobjects/Account/quickActions");
+ sObjectDescriptionUrls1.setRowTemplate("/services/data/v56.0/sobjects/Account/{ID}");
+ sObjectDescriptionUrls1.setSobject("/services/data/v56.0/sobjects/Account");
sObjectDescriptionUrls1.setUiDetailTemplate("https://d24000000cqlxeai-dev-ed.my.salesforce.com/{ID}");
sObjectDescriptionUrls1.setUiEditTemplate("https://d24000000cqlxeai-dev-ed.my.salesforce.com/{ID}/e");
sObjectDescriptionUrls1.setUiNewRecord("https://d24000000cqlxeai-dev-ed.my.salesforce.com/001/e");
diff --git a/integration-tests/salesforce/src/test/resources/mappings/bulApi-abortJob.json b/integration-tests/salesforce/src/test/resources/mappings/bulApi-abortJob.json
index 61b12e2f0e..c327c906ad 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/bulApi-abortJob.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/bulApi-abortJob.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/async/54.0/job/750x0000000005LAAQ",
+ "url": "/services/async/56.0/job/750x0000000005LAAQ",
"method": "POST"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/bulkApi-createJob.json b/integration-tests/salesforce/src/test/resources/mappings/bulkApi-createJob.json
index 48be2e8530..672a0b44ee 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/bulkApi-createJob.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/bulkApi-createJob.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/async/54.0/job",
+ "url": "/services/async/56.0/job",
"method": "POST"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/deleteAccount.json b/integration-tests/salesforce/src/test/resources/mappings/deleteAccount.json
index 70aa443a04..9ad19d4389 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/deleteAccount.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/deleteAccount.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v52.0/sobjects/Account/001D000000IqhSLIAZ",
+ "url": "/services/data/v56.0/sobjects/Account/001D000000IqhSLIAZ",
"method": "DELETE"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getAccount.json b/integration-tests/salesforce/src/test/resources/mappings/getAccount.json
index f4700bcf44..1881b32392 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getAccount.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getAccount.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/query/?q=SELECT%20Id%2C%20AccountNumber%20FROM%20Account%20WHERE%20Id%20%3D%20%27001D000000IqhSLIAZ%27",
+ "url": "/services/data/v56.0/query/?q=SELECT%20Id%2C%20AccountNumber%20FROM%20Account%20WHERE%20Id%20%3D%20%27001D000000IqhSLIAZ%27",
"method": "GET"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getAccountBasicInfo.json b/integration-tests/salesforce/src/test/resources/mappings/getAccountBasicInfo.json
index 7021220827..d88ec72b1b 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getAccountBasicInfo.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getAccountBasicInfo.json
@@ -2,12 +2,12 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/sobjects/Account/",
+ "url": "/services/data/v56.0/sobjects/Account/",
"method": "GET"
},
"response": {
"status": 200,
- "body" : "{\"objectDescribe\":{\"name\":\"Account\",\"updateable\":true,\"label\":\"Account\",\"keyPrefix\":\"001\",\"replicateable\":true,\"retrieveable\":true,\"undeletable\":true,\"triggerable\":true},\"recentItems\":[{\"attributes\":{\"type\":\"Account\",\"url\":\"\/services\/data\/v54.0\/sobjects\/Account\/001D000000IqhSLIAZ\"},\"Id\":\"001D000000IqhSLIAZ\",\"Name\":\"asdasdasd\"}]}",
+ "body" : "{\"objectDescribe\":{\"name\":\"Account\",\"updateable\":true,\"label\":\"Account\",\"keyPrefix\":\"001\",\"replicateable\":true,\"retrieveable\":true,\"undeletable\":true,\"triggerable\":true},\"recentItems\":[{\"attributes\":{\"type\":\"Account\",\"url\":\"\/services\/data\/v56.0\/sobjects\/Account\/001D000000IqhSLIAZ\"},\"Id\":\"001D000000IqhSLIAZ\",\"Name\":\"asdasdasd\"}]}",
"headers": {
"Content-Type": "application/json; charset=UTF-8"
}
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getAccountById.json b/integration-tests/salesforce/src/test/resources/mappings/getAccountById.json
index 0da96c2917..46c90688ca 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getAccountById.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getAccountById.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/sobjects/Account/Id/001D000000IqhSLIAZ",
+ "url": "/services/data/v56.0/sobjects/Account/Id/001D000000IqhSLIAZ",
"method": "GET"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getAccountDescription.json b/integration-tests/salesforce/src/test/resources/mappings/getAccountDescription.json
index a96c49c261..42603acc60 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getAccountDescription.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getAccountDescription.json
@@ -2,12 +2,12 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/sobjects/Account/describe/",
+ "url": "/services/data/v56.0/sobjects/Account/describe/",
"method": "GET"
},
"response": {
"status": 200,
- "body": "{\"name\":\"Account\",\"fields\":[{\"length\":18,\"name\":\"Id\",\"type\":\"id\",\"updateable\":false,\"label\":\"Account ID\"}],\"updateable\":true,\"label\":\"Account\",\"keyPrefix\":\"001\",\"custom\":false,\"urls\":{\"uiEditTemplate\":\"https:\/\/yourInstance.salesforce.com\/{ID}\/e\",\"sobject\":\"\/services\/data\/v54.0\/sobjects\/Account\",\"uiDetailTemplate\":\"https:\/\/yourInstance.salesforce.com\/{ID}\"},\"childRelationships\":[{\"field\":\"ParentId\",\"deprecated [...]
+ "body": "{\"name\":\"Account\",\"fields\":[{\"length\":18,\"name\":\"Id\",\"type\":\"id\",\"updateable\":false,\"label\":\"Account ID\"}],\"updateable\":true,\"label\":\"Account\",\"keyPrefix\":\"001\",\"custom\":false,\"urls\":{\"uiEditTemplate\":\"https:\/\/yourInstance.salesforce.com\/{ID}\/e\",\"sobject\":\"\/services\/data\/v56.0\/sobjects\/Account\",\"uiDetailTemplate\":\"https:\/\/yourInstance.salesforce.com\/{ID}\"},\"childRelationships\":[{\"field\":\"ParentId\",\"deprecated [...]
"headers": {
"Content-Type": "application/json; charset=UTF-8"
}
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getAccountLongQuery.json b/integration-tests/salesforce/src/test/resources/mappings/getAccountLongQuery.json
index d6a466766d..e4c14dd9ab 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getAccountLongQuery.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getAccountLongQuery.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/query/?q=SELECT%20Id%2C%20IsDeleted%2C%20MasterRecordId%2C%20Name%2C%20Type%2C%20ParentId%2C%20BillingStreet%2C%20BillingCity%2C%20BillingState%2C%20BillingPostalCode%2C%20BillingCountry%2C%20BillingLatitude%2C%20BillingLongitude%2C%20BillingGeocodeAccuracy%2C%20BillingAddress%2C%20ShippingStreet%2C%20ShippingCity%2C%20ShippingState%2C%20ShippingPostalCode%2C%20ShippingCountry%2C%20ShippingLatitude%2C%20ShippingLongitude%2C%20ShippingGeocodeAccuracy%2C%20 [...]
+ "url": "/services/data/v56.0/query/?q=SELECT%20Id%2C%20IsDeleted%2C%20MasterRecordId%2C%20Name%2C%20Type%2C%20ParentId%2C%20BillingStreet%2C%20BillingCity%2C%20BillingState%2C%20BillingPostalCode%2C%20BillingCountry%2C%20BillingLatitude%2C%20BillingLongitude%2C%20BillingGeocodeAccuracy%2C%20BillingAddress%2C%20ShippingStreet%2C%20ShippingCity%2C%20ShippingState%2C%20ShippingPostalCode%2C%20ShippingCountry%2C%20ShippingLatitude%2C%20ShippingLongitude%2C%20ShippingGeocodeAccuracy%2C%20 [...]
"method": "GET"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getDocument.json b/integration-tests/salesforce/src/test/resources/mappings/getDocument.json
index 256a294498..a6936489ac 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getDocument.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getDocument.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/sobjects/Document/Name/test",
+ "url": "/services/data/v56.0/sobjects/Document/Name/test",
"method": "GET"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getLimits.json b/integration-tests/salesforce/src/test/resources/mappings/getLimits.json
index 362f479f51..496962eb15 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getLimits.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getLimits.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/limits/",
+ "url": "/services/data/v56.0/limits/",
"method": "GET"
},
"response": {
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getListOfObjects.json b/integration-tests/salesforce/src/test/resources/mappings/getListOfObjects.json
index 917181327b..9747190a6a 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getListOfObjects.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getListOfObjects.json
@@ -2,12 +2,12 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/sobjects/",
+ "url": "/services/data/v56.0/sobjects/",
"method": "GET"
},
"response": {
"status": 200,
- "body" : "{\"encoding\":\"UTF-8\",\"maxBatchSize\":200,\"sobjects\":[{\"activateable\":false,\"custom\":false,\"customSetting\":false,\"createable\":true,\"deletable\":true,\"deprecatedAndHidden\":false,\"feedEnabled\":true,\"keyPrefix\":\"001\",\"label\":\"Account\",\"labelPlural\":\"Accounts\",\"layoutable\":true,\"mergeable\":true,\"mruEnabled\":true,\"name\":\"Account\",\"queryable\":true,\"replicateable\":true,\"retrieveable\":true,\"searchable\":true,\"triggerable\":true,\"unde [...]
+ "body" : "{\"encoding\":\"UTF-8\",\"maxBatchSize\":200,\"sobjects\":[{\"activateable\":false,\"custom\":false,\"customSetting\":false,\"createable\":true,\"deletable\":true,\"deprecatedAndHidden\":false,\"feedEnabled\":true,\"keyPrefix\":\"001\",\"label\":\"Account\",\"labelPlural\":\"Accounts\",\"layoutable\":true,\"mergeable\":true,\"mruEnabled\":true,\"name\":\"Account\",\"queryable\":true,\"replicateable\":true,\"retrieveable\":true,\"searchable\":true,\"triggerable\":true,\"unde [...]
"headers": {
"Content-Type": "application/json; charset=UTF-8",
"Sforce-Limit-Info": "api-usage=18/5000"
diff --git a/integration-tests/salesforce/src/test/resources/mappings/getRestResources.json b/integration-tests/salesforce/src/test/resources/mappings/getRestResources.json
index 9e380755de..c321679881 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/getRestResources.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/getRestResources.json
@@ -2,12 +2,12 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/",
+ "url": "/services/data/v56.0/",
"method": "GET"
},
"response": {
"status": 200,
- "body": "{\"sobjects\":\"\/services\/data\/v54.0\/sobjects\",\"licensing\":\"\/services\/data\/v54.0\/licensing\",\"connect\":\"\/services\/data\/v54.0\/connect\",\"search\":\"\/services\/data\/v54.0\/search\",\"query\":\"\/services\/data\/v54.0\/query\",\"tooling\":\"\/services\/data\/v54.0\/tooling\",\"chatter\":\"\/services\/data\/v54.0\/chatter\",\"recent\":\"\/services\/data\/v54.0\/recent\"}",
+ "body": "{\"sobjects\":\"\/services\/data\/v56.0\/sobjects\",\"licensing\":\"\/services\/data\/v56.0\/licensing\",\"connect\":\"\/services\/data\/v56.0\/connect\",\"search\":\"\/services\/data\/v56.0\/search\",\"query\":\"\/services\/data\/v56.0\/query\",\"tooling\":\"\/services\/data\/v56.0\/tooling\",\"chatter\":\"\/services\/data\/v56.0\/chatter\",\"recent\":\"\/services\/data\/v56.0\/recent\"}",
"headers": {
"Content-Type": "application/json; charset=UTF-8",
"Sforce-Limit-Info": "api-usage=18/5000"
diff --git a/integration-tests/salesforce/src/test/resources/mappings/setAccount.json b/integration-tests/salesforce/src/test/resources/mappings/setAccount.json
index f2923f56e6..4fb519d378 100644
--- a/integration-tests/salesforce/src/test/resources/mappings/setAccount.json
+++ b/integration-tests/salesforce/src/test/resources/mappings/setAccount.json
@@ -2,7 +2,7 @@
"id": "09aa79df-8a19-41df-8655-e414d390d6ed",
"name": "salesforce_api_json",
"request": {
- "url": "/services/data/v54.0/sobjects/Account",
+ "url": "/services/data/v56.0/sobjects/Account",
"method": "POST"
},
"response": {