Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: None
    • Labels:
      None

      Description

      In the past, there had been plans for the camel-ftp to support WebDAV. This is not the case now.

      It would be great for Camel to have a WebDAV component, that could be as easy to use as a File or FTP component, as a consumer or a producer.

        Activity

        Hide
        Claus Ibsen added a comment -

        Is anyone interrested in webdav and if so willing to work on this? I dont see the need as much anynore, and consider to close this ticket

        Show
        Claus Ibsen added a comment - Is anyone interrested in webdav and if so willing to work on this? I dont see the need as much anynore, and consider to close this ticket
        Hide
        Xavier Marin added a comment -

        Thanks for your support. I've started to work on a GitHub pull request, but, due to lack of time, I gave up. I'll try again next year. Feel free to do it with my code .

        Show
        Xavier Marin added a comment - Thanks for your support. I've started to work on a GitHub pull request, but, due to lack of time, I gave up. I'll try again next year. Feel free to do it with my code .
        Hide
        Claus Ibsen added a comment -

        For any code contributions to ASF, the author of the code must submit it to ASF such as attaching a .zip to this JIRA ticket. Or from github do a pull request.

        Show
        Claus Ibsen added a comment - For any code contributions to ASF, the author of the code must submit it to ASF such as attaching a .zip to this JIRA ticket. Or from github do a pull request.
        Hide
        Borut Bolcina added a comment -

        Hi, thanks for your hard work also from me. I am also interested to know if this web dav component will make it into the main release?

        Show
        Borut Bolcina added a comment - Hi, thanks for your hard work also from me. I am also interested to know if this web dav component will make it into the main release?
        Hide
        Hieu Nguyen added a comment - - edited

        Xavier Marin: Thanks for your hard work
        Claus Ibsen: will this be integrated with camel main stream?

        Show
        Hieu Nguyen added a comment - - edited Xavier Marin : Thanks for your hard work Claus Ibsen : will this be integrated with camel main stream?
        Hide
        Xavier Marin added a comment -

        Hi Claus, according to me, the code of the camel-dav is ready. Best rgds.

        Show
        Xavier Marin added a comment - Hi Claus, according to me, the code of the camel-dav is ready. Best rgds.
        Hide
        Claus Ibsen added a comment -

        Xavier, sounds cool. Keep coding. And when you think your code is ready, then let us know. Would be great with camel-dav out of the box.

        Show
        Claus Ibsen added a comment - Xavier, sounds cool. Keep coding. And when you think your code is ready, then let us know. Would be great with camel-dav out of the box.
        Hide
        Xavier Marin added a comment -

        Hi all, here is the very first release : http://giwi.free.fr/docs/camel-dav/
        Enjoy!

        Show
        Xavier Marin added a comment - Hi all, here is the very first release : http://giwi.free.fr/docs/camel-dav/ Enjoy!
        Hide
        Xavier Marin added a comment -

        Ok Matt, you can open issues on github

        Show
        Xavier Marin added a comment - Ok Matt, you can open issues on github
        Hide
        Matt McCann added a comment - - edited

        Could I get you to open up issues for anything you know isn't working on GitHub? This way I can dive right in.

        EDIT: By the way, I read French well enough to understand your closed tickets, so feel free to keep writing them that way.

        Show
        Matt McCann added a comment - - edited Could I get you to open up issues for anything you know isn't working on GitHub? This way I can dive right in. EDIT: By the way, I read French well enough to understand your closed tickets, so feel free to keep writing them that way.
        Hide
        Xavier Marin added a comment -

        Hi Matt, I reached about 70% of the way. I'm happy to see that someone cares about my job
        Any help is welcome. Of course you can contribute on my Github. Tomorrow I'll try to pass more junit tests. I haven't tried anything on Windows yet.
        Best regards.

        Show
        Xavier Marin added a comment - Hi Matt, I reached about 70% of the way. I'm happy to see that someone cares about my job Any help is welcome. Of course you can contribute on my Github. Tomorrow I'll try to pass more junit tests. I haven't tried anything on Windows yet. Best regards.
        Hide
        Matt McCann added a comment -

        Xavier, it looks like you've been busy! How close would you say you are to completion?

        I need this component for a project at work. I was going to implement it if it didn't exist but since you have made such progress, I'd like to team up if you are amenable.

        Show
        Matt McCann added a comment - Xavier, it looks like you've been busy! How close would you say you are to completion? I need this component for a project at work. I was going to implement it if it didn't exist but since you have made such progress, I'd like to team up if you are amenable.
        Hide
        Xavier Marin added a comment - - edited

        Hi all, I just begin to work on that component based on Sardine and inspired by camel-ftp. You can follow my code here : https://github.com/BreizhBeans/camel-dav . All advice and help are welcome.

        Show
        Xavier Marin added a comment - - edited Hi all, I just begin to work on that component based on Sardine and inspired by camel-ftp. You can follow my code here : https://github.com/BreizhBeans/camel-dav . All advice and help are welcome.
        Hide
        Claus Ibsen added a comment -

        There is a camel-ahc component now in 2.8. We could maybe look into what it takes to add webdav on top of that using the file component from camel-core (if possible)

        Show
        Claus Ibsen added a comment - There is a camel-ahc component now in 2.8. We could maybe look into what it takes to add webdav on top of that using the file component from camel-core (if possible)
        Hide
        Claus Ibsen added a comment -

        Async http client has WebDAV support
        http://github.com/ning/async-http-client

        Show
        Claus Ibsen added a comment - Async http client has WebDAV support http://github.com/ning/async-http-client
        Hide
        Claus Ibsen added a comment -

        Cool great that this is now in motion.

        At the Camel site I suggest to take a look at how we did the FTP component on top of the Generic File component from camel-core.
        Basically most work is in creating a WebDavOperations class.

        Show
        Claus Ibsen added a comment - Cool great that this is now in motion. At the Camel site I suggest to take a look at how we did the FTP component on top of the Generic File component from camel-core. Basically most work is in creating a WebDavOperations class.
        Hide
        Jon Stevens added a comment -

        I just added COPY as well.

        Show
        Jon Stevens added a comment - I just added COPY as well.
        Hide
        S. Ali Tokmen added a comment -

        @Jon: No problems. I'm don't have any tool preference, ANT projects are just fine. On the other hand, do you mind if your binaries are (manually) deployed on a Maven2 repository?

        Apart from that, r25 of the project fixes many issues. Thanks Jon for accepting my patches; currently Sardine can LIST, PUT and GET

        I think for the creation of a Camel endpoint, that looks like the FTP endpoint, we'd also need to implement MOVE and MKDIR (MKCOL in WebDAV language)

        In our build environment, we have a whole stack that test WebDAV with Sardine. It uses the OW2 JOnAS application server, a WAR application for deploying a WebDAV resource and finally Maven for connecting to it and PUT, GET and DELETE files.

        I might have time this week to port these on the OW2 forge (open source).

        Show
        S. Ali Tokmen added a comment - @Jon: No problems. I'm don't have any tool preference, ANT projects are just fine. On the other hand, do you mind if your binaries are (manually) deployed on a Maven2 repository? – Apart from that, r25 of the project fixes many issues. Thanks Jon for accepting my patches; currently Sardine can LIST, PUT and GET I think for the creation of a Camel endpoint, that looks like the FTP endpoint, we'd also need to implement MOVE and MKDIR (MKCOL in WebDAV language) – In our build environment, we have a whole stack that test WebDAV with Sardine. It uses the OW2 JOnAS application server, a WAR application for deploying a WebDAV resource and finally Maven for connecting to it and PUT, GET and DELETE files. – I might have time this week to port these on the OW2 forge (open source).
        Hide
        Hadrian Zbarcea added a comment -

        Jon, I beg do differ, but you are entitled to your opinion like I am entitled to mine. I really don't see how we could manage the build system with ant for camel. But I do see how ant would work very well, easier than camel for a small project. I also agree with most your other points, however you don't need more network connectivity with maven then you need with ant. While maven has its more or less potential problems (like the nasty one revealed by sun moving its mave1 repos) it works quite well in practice.

        That said, sardine does not have to use maven for us to be able to use it, but it must use an ASF approved license, which it does. A camel-dav would have to be built with maven to integrate with camel, but we can take care of that part if somebody could contribute working code and tests using sardine. I personally won't have the bandwidth to tackle this challenge in the foreseeable future, but contributions are welcome. There are other specs based on WebDAV, such as CalDAV, and I would love to see camel access shared calendars for instance.

        Show
        Hadrian Zbarcea added a comment - Jon, I beg do differ, but you are entitled to your opinion like I am entitled to mine. I really don't see how we could manage the build system with ant for camel. But I do see how ant would work very well, easier than camel for a small project. I also agree with most your other points, however you don't need more network connectivity with maven then you need with ant. While maven has its more or less potential problems (like the nasty one revealed by sun moving its mave1 repos) it works quite well in practice. That said, sardine does not have to use maven for us to be able to use it, but it must use an ASF approved license, which it does. A camel-dav would have to be built with maven to integrate with camel, but we can take care of that part if somebody could contribute working code and tests using sardine. I personally won't have the bandwidth to tackle this challenge in the foreseeable future, but contributions are welcome. There are other specs based on WebDAV, such as CalDAV, and I would love to see camel access shared calendars for instance.
        Hide
        Jon Stevens added a comment -

        Hi guys, as I said on the homepage for sardine, if there are features you would like to see, contribute some patches or feel free to open issues. I'm an ASF member and sardine is under an ASF license, so you are more than welcome to include it in Camel. I just want to be clear that sardine is not intended to be a full blow webdav client. The protocol is too complicated and I really just want a tool that provides an api to specific use cases.

        @Savas: Sorry, I'm pretty hardfast in my absolute hatred towards that piece of dog crap called maven, so don't expect to see that one anytime soon. Oh yea, right before my sardine blog post, I just made another blog posting about it: http://lookfirst.com/2010/01/which-build-tool-to-use.html

        jon

        Show
        Jon Stevens added a comment - Hi guys, as I said on the homepage for sardine, if there are features you would like to see, contribute some patches or feel free to open issues. I'm an ASF member and sardine is under an ASF license, so you are more than welcome to include it in Camel. I just want to be clear that sardine is not intended to be a full blow webdav client. The protocol is too complicated and I really just want a tool that provides an api to specific use cases. @Savas: Sorry, I'm pretty hardfast in my absolute hatred towards that piece of dog crap called maven, so don't expect to see that one anytime soon. Oh yea, right before my sardine blog post, I just made another blog posting about it: http://lookfirst.com/2010/01/which-build-tool-to-use.html jon
        Hide
        Claus Ibsen added a comment -

        Jon Stevens, the Sardine author posted a blot post about it.
        http://lookfirst.com/2010/01/sardine-very-partial-webdav-client-for.html

        I have commented whether he will be interested to help out somehow.

        Show
        Claus Ibsen added a comment - Jon Stevens, the Sardine author posted a blot post about it. http://lookfirst.com/2010/01/sardine-very-partial-webdav-client-for.html I have commented whether he will be interested to help out somehow.
        Hide
        S. Ali Tokmen added a comment -

        Sardine, created the 22nd of December 2009, is an extremely simple client.

        I've opened the first issue, http://code.google.com/p/sardine/issues/detail?id=1 that asks Mavenization.

        Show
        S. Ali Tokmen added a comment - Sardine, created the 22nd of December 2009, is an extremely simple client. I've opened the first issue, http://code.google.com/p/sardine/issues/detail?id=1 that asks Mavenization.
        Hide
        Claus Ibsen added a comment -

        Maybe this project is what we could use? A lightweight one for file transfering

        http://code.google.com/p/sardine/

        Show
        Claus Ibsen added a comment - Maybe this project is what we could use? A lightweight one for file transfering http://code.google.com/p/sardine/

          People

          • Assignee:
            Unassigned
            Reporter:
            S. Ali Tokmen
          • Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:

              Development