[
https://issues.apache.org/jira/browse/CAMEL-12703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564878#comment-16564878
]
ASF GitHub Bot commented on CAMEL-12703:
----------------------------------------
zregvart closed pull request #2447: CAMEL-12703: camel-salesforce - Added JSON
as a valid contentType
URL: https://github.com/apache/camel/pull/2447
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ContentType.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ContentType.java
index c5b4541ec00..ce324890dc1 100644
---
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ContentType.java
+++
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ContentType.java
@@ -30,8 +30,10 @@
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="XML"/>
* <enumeration value="CSV"/>
+ * <enumeration value="JSON"/>
* <enumeration value="ZIP_XML"/>
* <enumeration value="ZIP_CSV"/>
+ * <enumeration value="ZIP_JSON"/>
* </restriction>
* </simpleType>
* </pre>
@@ -42,8 +44,10 @@
XML,
CSV,
+ JSON,
ZIP_XML,
- ZIP_CSV;
+ ZIP_CSV,
+ ZIP_JSON;
public String value() {
return name();
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Support JSON as a ContentType for JobInfo
> -----------------------------------------
>
> Key: CAMEL-12703
> URL: https://issues.apache.org/jira/browse/CAMEL-12703
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce
> Reporter: Jesse Sightler
> Priority: Major
>
> This content type is listed here:
> [https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_reference_jobinfo.htm]
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)