You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "michael elbaz (JIRA)" <ji...@apache.org> on 2018/10/21 12:31:00 UTC

[jira] [Comment Edited] (CAMEL-12892) [CAMEL-COUCHBASE] Get document from couchbase error

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

michael elbaz edited comment on CAMEL-12892 at 10/21/18 12:30 PM:
------------------------------------------------------------------

It is not maintened and not working so i don't see the point to maintain this kind of component is just my point of view.

By the way view are in roadmap to be deprecated, if you are doing modification please just provide the availability to get document by ids without need of using view.

 

To reproduce you just need to do something like:
{code:java}
from("couchbase:http://localhost/test?username=username&password=password").log(body().toString());
{code}
{code:java}
// from http://camel.apache.org/couchbase.html
from("couchbase:http://localhost/test?username=username&password=password?operation='GET'").log(body().toString());
{code}
{code:java}
// from https://github.com/apache/camel/blob/master/components/camel-couchbase/src/main/docs/couchbase-component.adoc
from("couchbase:http://localhost/test?username=username&password=password?operation=CCB_GET").log(body().toString());
{code}

Also the documentation is wrong and/or outdated.

 


was (Author: michael992):
It is not maintened and not working so i don't see the point to maintain this kind of component is just my point of view.

By the way view are in roadmap to be deprecated, if you are doing modification please just provide the availability to get document by ids without need of using view.

> [CAMEL-COUCHBASE] Get document from couchbase error
> ---------------------------------------------------
>
>                 Key: CAMEL-12892
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12892
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.22.1
>            Reporter: michael elbaz
>            Assignee: Andrea Cosentino
>            Priority: Major
>
> /!\ IT IS NOT RELATED TO COUCHDB BUT TO COUCHBASE
>  
> I try to get a document from couchbase and i getting this error
> {code:java}
> because of Could not load view "brewery_beers" for design doc "beer"
> {code}
> So couchbase is a key value engine i just want to get a document by this key and without using view how i suppose to do that ? could someone fix this or remove this component from camel (there is not point tho have this component if there is no possibility to get document with the key from a key value storage engine).
> There is even not a camel-couchbase option in Jira.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)