DESCRIPTION

JVMCBC-357: Add raw N1QL querying msg that returns JSON

Motivation
----------
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.

Modifications:
-------------
Implemented a dedicated message for this that will just aggregate the
response body in the handler and return it. The HTTP status code and
message are also be returned.

Result
------
Users can directly query the N1QL service and get the uninterpreted
JSON response by using the RawQueryRequest message.

Change-Id: I9f96bb67da8132fa28b29e4bcfb59343f8545f32


COMMENTS

author: Estrella Humphrey
date: 2016-08-22 10:18:30.143000000

Uploaded patch set 1.

-------------------------------------
author: Gerrit Code Review
date: 2016-08-24 13:41:45.730000000

Change has been successfully cherry-picked as 748865defba072abd15b7b428dd3c07d08d973e6 by Estrella Humphrey

-------------------------------------
