Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15789

camel-couchbase: bucket not parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 3.7.0
    • 3.7.0
    • None
    • None
    • Unknown

    Description

      It seems that the bucket part of the URL in the camel-couchbase is not parsed sometimes.

      When parsing a URL like the ones used in the test code, (for example couchbase:http://localhost/bucket) the code fails to return `bucket` when trying to call the getBucket method of the CouchbaseEndpoint.

      I attached a reproducer that can be applied using the command following command:

       

      patch -p1 < couchbase-reproducer.patch

       

      Then, to run the test:

      cd components/camel-couchbase ; mvn -Dtest=CouchbaseEndpointTest#testParseURI test

       

      Attachments

        1. couchbase-reproducer.patch
          3 kB
          Otavio Rodolfo Piske

        Issue Links

          Activity

            People

              mmelko Matej Melko
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: