hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiang Sheng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAWQ-1246) Add generation of RequestID, ClientIP, queryContext(SQL Statement) in HAWQ , and encapsulate these contents to JSON request to RPS
Date Thu, 29 Dec 2016 10:05:58 GMT
Xiang Sheng created HAWQ-1246:
---------------------------------

             Summary: Add generation of RequestID, ClientIP, queryContext(SQL Statement) in
HAWQ , and encapsulate these contents to JSON request to RPS
                 Key: HAWQ-1246
                 URL: https://issues.apache.org/jira/browse/HAWQ-1246
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Security
            Reporter: Xiang Sheng
            Assignee: Ed Espino
             Fix For: 2.2.0.0-incubating


These informations should be generated and encapsulate them to the full json request. 
Currently they are hardcoded.
{code}
json_object *jreqid = json_object_new_string("1");
json_object_object_add(jrequest, "requestId", jreqid);
json_object *jclientip = json_object_new_string("123.0.0.21");
json_object_object_add(jrequest, "clientIp", jclientip);
json_object *jcontext = json_object_new_string("SELECT * FROM DDDDDDD");
json_object_object_add(jrequest, "context", jcontext);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message