codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Camel-box download file version


That class is generated. You just need to change the methodPattern here:

https://github.com/apache/camel/blob/master/components/camel-box/camel-box-component/pom.xml#L278

If you are fancy opening a PR about that after testing the fix, you're welcome to do it

--
Andrea Cosentino 
----------------------------------
Apache Camel PMC Chair
Apache Karaf Committer
Apache Servicemix PMC Member
Email: ancosen1985@xxxxxxxxx
Twitter: @oscerd2
Github: oscerd






On Wednesday, November 28, 2018, 11:35:48 AM GMT+1, Vladimir Cherepnalkovski <cherepnalkovski@xxxxxxxxxxx> wrote: 







Done. 

 

I hope that someone will change the mapping on backend, so the shorthand alias will be available for use.

 





From: Andrea Cosentino <ancosen1985@xxxxxxxxx.INVALID>
Sent: Wednesday, November 28, 2018 11:22 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: Camel-box download file version 


 





You're welcome to work on a PR.The documentation for this component is herehttps://github.com/apache/camel/blob/master/components/camel-box/camel-box-component/src/main/docs/box-component.adoc 


  



    

camel/box-component.adoc at master · apache/camel · GitHub

  

github.com

  

Box.com requires the use of OAuth2.0 for all client application authentication. In order to use camel-box with your account, you’ll need to create a new application within Box.com at https://developer.box.com.The Box application’s client id and secret will allow access to Box APIs which require a current user.


   





--Andrea Cosentino ----------------------------------Apache Camel PMC ChairApache Karaf CommitterApache Servicemix PMC MemberEmail: ancosen1985@yahoo.comTwitter: @oscerd2Github: oscerdOn Wednesday, November 28, 2018, 11:19:12 AM GMT+1, Vladimir Cherepnalkovski <cherepnalkovski@xxxxxxxxxxx> wrote: I found the issue, and a solution.First there is a mistake in camel - box documentation.Endpoint "downloadPreviousFileVersions" should be  "downloadPreviousFileVersion".If we use full endpoint name downloadPreviousFileVersion, the route will work.Also, there is a problem in camel - box endpoint mapping.I saw that shorthand alias name is mapped to "downloadPreviousFileVersions" which not exists.