You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/10/14 10:20:13 UTC

[GitHub] [camel-karaf] essobedo opened a new pull request, #199: CAMEL-16484: camel-dropbox - Bump to Dropbox 5.4.2

essobedo opened a new pull request, #199:
URL: https://github.com/apache/camel-karaf/pull/199

   Fix for https://issues.apache.org/jira/browse/CAMEL-16484
   
   ## Motivation 
   
   The version of Dropbox used is outdated (3.2.0) so it needs to be upgraded to the latest version.
   
   ## Modifications:
   
   * Update consequently the list of dependencies


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karaf] essobedo merged pull request #199: CAMEL-16484: camel-dropbox - Bump to Dropbox 5.4.2

Posted by GitBox <gi...@apache.org>.
essobedo merged PR #199:
URL: https://github.com/apache/camel-karaf/pull/199


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karaf] essobedo commented on pull request #199: CAMEL-16484: camel-dropbox - Bump to Dropbox 5.4.2

Posted by GitBox <gi...@apache.org>.
essobedo commented on PR #199:
URL: https://github.com/apache/camel-karaf/pull/199#issuecomment-1278811379

   Tested successfully with the next routes:
   
   ```
   <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
   		   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
              xsi:schemaLocation="
                http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
                http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
   
     <!-- blueprint property placeholders, that will use etc/dropbox.cfg as the properties file -->
     <cm:property-placeholder persistent-id="dropbox" update-strategy="reload">
   
     </cm:property-placeholder>
     
       <camelContext xmlns="http://camel.apache.org/schema/blueprint">
           <route>
               <from uri="timer:myTimer?period=10000" />
               <setBody><simple>Hello from timer at ${header.firedTime}</simple></setBody>
               <setHeader name="CamelDropboxUploadMode">
                   <constant>force</constant>
               </setHeader>
               <to uri="dropbox://put?accessToken={{accessToken}}&amp;expireIn={{expireIn}}&amp;refreshToken={{refreshToken}}&amp;apiKey={{apiKey}}&amp;apiSecret={{apiSecret}}&amp;remotePath={{workDir}}/file.txt" />
               <log message="After put ${body}"/>
               <to uri="dropbox://get?accessToken={{accessToken}}&amp;expireIn={{expireIn}}&amp;refreshToken={{refreshToken}}&amp;apiKey={{apiKey}}&amp;apiSecret={{apiSecret}}&amp;remotePath={{workDir}}/file.txt" />
               <log message="After get ${body}"/>
               <to uri="dropbox://move?accessToken={{accessToken}}&amp;expireIn={{expireIn}}&amp;refreshToken={{refreshToken}}&amp;apiKey={{apiKey}}&amp;apiSecret={{apiSecret}}&amp;remotePath={{workDir}}/file.txt&amp;newRemotePath={{workDir}}-new/file.txt" />
               <log message="After move ${body}"/>
               <to uri="dropbox://search?accessToken={{accessToken}}&amp;expireIn={{expireIn}}&amp;refreshToken={{refreshToken}}&amp;apiKey={{apiKey}}&amp;apiSecret={{apiSecret}}&amp;remotePath=/camel-test2&amp;query=index" />
               <log message="After search ${body}"/>
               <to uri="dropbox://del?accessToken={{accessToken}}&amp;expireIn={{expireIn}}&amp;refreshToken={{refreshToken}}&amp;apiKey={{apiKey}}&amp;apiSecret={{apiSecret}}&amp;remotePath={{workDir}}-new/file.txt" />
               <log message="After del ${body}"/>
           </route>
           <route>
               <from uri="dropbox://get?accessToken={{accessToken}}&amp;expireIn={{expireIn}}&amp;refreshToken={{refreshToken}}&amp;apiKey={{apiKey}}&amp;apiSecret={{apiSecret}}&amp;remotePath=/camel-test2/index.md" />
               <log message="After get consumer ${body}"/>
           </route>        
           <route>
               <from uri="dropbox://search?accessToken={{accessToken}}&amp;expireIn={{expireIn}}&amp;refreshToken={{refreshToken}}&amp;apiKey={{apiKey}}&amp;apiSecret={{apiSecret}}&amp;remotePath=/camel-test2&amp;query=index" />
               <log message="After search consumer ${body}"/>
           </route>        
       </camelContext>
   
   </blueprint>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org