You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/02/15 15:55:00 UTC
[jira] [Work logged] (CAMEL-13186) camel-salesforce-maven-plugin
additional customizations missing
[ https://issues.apache.org/jira/browse/CAMEL-13186?focusedWorklogId=199305&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-199305 ]
ASF GitHub Bot logged work on CAMEL-13186:
------------------------------------------
Author: ASF GitHub Bot
Created on: 15/Feb/19 15:54
Start Date: 15/Feb/19 15:54
Worklog Time Spent: 10m
Work Description: przemeklenik commented on pull request #2779: CAMEL-13186 camel-salesforce-maven-plugin additional customizations missing
URL: https://github.com/apache/camel/pull/2779
Picklist/Multipicklists can be now exclusively enforced to be of type String/enum, even when useStringsForPicklists = true.
Usage:
In "configuration" node use new property:
1. picklistToStrings - if field is type of a picklist, in DTO it will be of a String type. In case of multipicklist -> String[]. Example:
<picklistToStrings>
<picklistToString>Account.DataSource</picklistToString>
</picklistToStrings>
2. picklistToEnum - if field is type of a picklist, in DTO it will be of an Enum type. In case of multipicklist -> Enum[]. Example:
<picklistToEnums>
<picklistToEnum>Account.DataSource</picklistToEnum>
</picklistToEnums>
----------------------------------------------------------------
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:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 199305)
Time Spent: 10m
Remaining Estimate: 0h
> camel-salesforce-maven-plugin additional customizations missing
> ---------------------------------------------------------------
>
> Key: CAMEL-13186
> URL: https://issues.apache.org/jira/browse/CAMEL-13186
> Project: Camel
> Issue Type: Improvement
> Components: camel-salesforce
> Affects Versions: 2.21.4
> Reporter: Przemyslaw Lenik
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> camel-salesforce-maven-plugin is missing following customizations:
> 1. Picklist/Multipicklist fields in Salesforce can be converted either to enum or String in java using only one mechanism - setting variable useStringsForPicklists = true. This however affects all fields during plugin run. It would be great, if only specific fields could be converted to String/Enum.
> -2. Date/Datetime fields in Salesforce are converted to java.time.ZonedDateTime. It would be great if they could be converted to java.time.LocalDate, java.time.OffsetTime or String (not sure if the last one is ok). Also targetting specific fields per Object would be great.- - indeed, this feature would break functionality.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)