[ 
https://issues.apache.org/jira/browse/CAMEL-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231333#comment-17231333
 ] 

Otavio Rodolfo Piske commented on CAMEL-15789:
----------------------------------------------

[~davsclaus] just to be sure: do you mean that the reproducer is wrong or do 
you mean that the unit tests on the code base are wrong (or both)? I created 
the reproducer based on the unit tests there, so it's possible both are wrong.

> 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
>            Assignee: Matej Melko
>            Priority: Major
>         Attachments: couchbase-reproducer.patch
>
>
> 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