Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-357

add message to perform N1QL request with raw json response

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.3.3
    • None
    • None

    Description

      In some use cases, notably when developing a REST backend that could just build N1QL queries and pass the JSON response back to a javascript frontend, being able to perform a N1QL query and not interpret the response but rather return is raw (JSON ByteBuf) can make sense.
      A dedicated message can be implemented for this that will just aggregate the response body in the handler and return it. The HTTP status code and message can also be returned.

      Note that FTS currently has an approach similar to this (there is no parser and specific response interpretation in the core, although there could be in the future).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            There are no comments yet on this issue.

            People

              simonbasle Simon Baslé (Inactive)
              simonbasle Simon Baslé (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty