[
https://issues.apache.org/jira/browse/CAMEL-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676304#comment-13676304
]
Babak Vahdat commented on CAMEL-6428:
-------------------------------------
Hi Dhiraj,
Thanks for the contribution. I think {{test-salesforce-login.properties}} is
missing inside the provided patch which is required for running the tests. As
an example when I run {{SessionIntegrationTest}} inside my IDE I get:
{code}
java.io.FileNotFoundException: test-salesforce-login.properties (No such file
or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at java.io.FileInputStream.<init>(FileInputStream.java:79)
at
org.apache.camel.component.salesforce.LoginConfigHelper.getLoginConfig(LoginConfigHelper.java:34)
at
org.apache.camel.component.salesforce.internal.SessionIntegrationTest.testLogin(SessionIntegrationTest.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
...
...
{code}
Also is the folder hierarchy being checked-in intentional? I think the
{{camel-salesforce-maven-plugin}} module should go into our maven folder where
all other plugins are also there: {{tooling/maven/}}
I made the code to compile using Java 6 which we should still support (The base
reflection exception {{ReflectiveOperationException}} is Java 7+)
> Salesforce Component
> --------------------
>
> Key: CAMEL-6428
> URL: https://issues.apache.org/jira/browse/CAMEL-6428
> Project: Camel
> Issue Type: New Feature
> Affects Versions: 2.12.0
> Reporter: Dhiraj Bokde
> Assignee: Claus Ibsen
> Labels: patch
> Fix For: 2.12.0
>
> Attachments: salesforce-component-201306050258.patch
>
>
> Submitting a new component for Salesforce support
> Supports Salesforce REST (including blob field retrieval), Batch, and
> Streaming APIs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira