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

camel-couchbase: Incorrect Endpoint URI breaks CKC's couchbase connector

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.2, 3.8.0
    • Fix Version/s: 3.7.3, 3.9.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Running the Couchbase connector from CKC, leads to the following failure:

       

      Failed to resolve endpoint:
      couchbase://http:my-redacted-host:8091?bucket=testBucket85&password=xxxxxx
      due to: Invalid URI. Format must be of the form
      couchbase:http[s]://hostname[:port]/bucket?[options...]

       

      Apparently this is caused because the hostname on the UriEndpoint should be //hostname:

      https://github.com/apache/camel/blob/camel-3.8.x/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseEndpoint.java#L58

        Attachments

          Activity

            People

            • Assignee:
              orpiske Otavio Rodolfo Piske
              Reporter:
              orpiske Otavio Rodolfo Piske
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: