Otavio Rodolfo Piske created CAMEL-15789:
--------------------------------------------

             Summary: camel-couchbase: bucket not parsed
                 Key: CAMEL-15789
                 URL: https://issues.apache.org/jira/browse/CAMEL-15789
             Project: Camel
          Issue Type: Bug
    Affects Versions: 3.7.0
            Reporter: Otavio Rodolfo Piske


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:

 
{code:java}
patch -p1 < couchbase-reproducer.patch{code}
 

Then, to run the test:
{code:java}
cd components/camel-couchbase ; mvn -Dtest=CouchbaseEndpointTest#testParseURI 
test{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to