[ https://issues.apache.org/jira/browse/HAWQ-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiang Sheng resolved HAWQ-1246. ------------------------------- Resolution: Fixed > 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: Xiang Sheng > 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)