[
https://issues.apache.org/jira/browse/CAMEL-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-15789.
---------------------------------
Resolution: Not A Bug
Yeah as Andrea says the bucket is a query parameter, so you use
?bucket=mybucket.
I fixed your provided test, and updated the old mistaken tests.
> 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)