X

Oracle Spatial and Graph – technical tips, best practices, and news from the product team

Finding Relevant REST APIs for Your Graph Operations

Alan Wu
Architect

From time to time, I got a request asking for details on the REST APIs for the PGX component of Oracle Spatial and Graph (OSG) and Oracle Big Data Spatial and Graph (BDSG). In this blog post, I am going to show a simple way, demonstrated to me by my colleague Korbi Schmid,  to find details on REST API calls using the most recent property graph patch.

It is actually very simple. Just enable the trace level log4j setting for Groovy (or your own Java program), connect to a PGX instance, run some Java APIs, and you will find the relevant REST APIs from the trace.

The following trace was from a flow of establishing a PGX session, loading a graph from Oracle Database, and running a PGQL. It's annotated for better readability. As a convention, "<<" denotes an incoming response from an REST call, while ">>" denotes an outgoing REST request.


-- Assume we have a graph config as follows and the PGX endpoint used is  http://127.0.0.1:7007/

{"attributes":{},"username":"pg","error_handling":{},"db_engine":"RDBMS","vertex_id_type":"long","format":"pg","jdbc_url":"jdbc:oracle:thin:@127.0.0.1:1521:orcl122","max_num_connections":2,"loading":{"load_edge_label":false},"vertex_props":[{"type":"timestamp_with_timezone","name":"ts"},{"type":"string","default":"default_name","name":"name"}],"name":"g1","password":"*******","edge_props":[{"type":"double","default":"1000000","name":"cost"}]}


** Get a CSRF token and PGX server version info

15:35:48.650 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-0 >> "GET /token HTTP/1.1[\r][\n]"


15:35:48.656 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 201 [\r][\n]"
15:35:48.656 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-0 << "SET-COOKIE: _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc;Version=1; HttpOnly[\r][\n]"
15:35:48.656 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 0[\r][\n]"
15:35:48.656 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Thu, 16 Aug 2018 22:35:48 GMT[\r][\n]"
15:35:48.656 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]"


15:35:48.684 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 >> "GET /version?extendedInfo=true HTTP/1.1[\r][\n]"
15:35:48.684 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 >> "Host: 127.0.0.1:7007[\r][\n]"
15:35:48.684 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]"
15:35:48.684 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:35:48.684 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 >> "Cookie: _csrf_token=18bf8ab2-c1af-49ce-9a33-190ab1208647[\r][\n]"
15:35:48.684 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:35:48.684 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 >> "[\r][\n]"
15:35:48.691 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 << "HTTP/1.1 200 [\r][\n]"
15:35:48.691 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:35:48.691 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 << "Content-Length: 130[\r][\n]"
15:35:48.691 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 << "Date: Thu, 16 Aug 2018 22:35:48 GMT[\r][\n]"
15:35:48.691 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 << "[\r][\n]"
15:35:48.691 [pgx-client-thread-1] DEBUG org.apache.http.wire - http-outgoing-1 << "{"version":"3.1.0","commit":"cb648f2da0cdf006f10588a69bb1beca81b65190","server_type":"sm","built":"2018-08-06T22:29:43.011-07:00"}"


*
* Create a new PGX session. Need to pass in the CSRF token
*
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /core/v1/sessions HTTP/1.1[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 132[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/json; charset=UTF-8[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: 127.0.0.1:7007[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "Cookie: _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]"
15:35:48.704 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 >> "{"source":"session1","idleTimeout":null,"taskTimeout":null,"timeUnitName":null,"_csrf_token":"a838d0ad-e165-4e79-928f-139628db11fc"}"
15:35:48.748 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 201 [\r][\n]"
15:35:48.748 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 << "SET-COOKIE: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12;Version=1; HttpOnly[\r][\n]"
15:35:48.748 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 0[\r][\n]"
15:35:48.749 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Thu, 16 Aug 2018 22:35:48 GMT[\r][\n]"
15:35:48.749 [pgx-client-thread-2] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]"


*
* Issue a load graph command. Need to pass in session ID, CSRF token, and the graph config itself.
*
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "POST /core/v1/loadGraph HTTP/1.1[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Content-Length: 503[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Content-Type: application/json; charset=UTF-8[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
15:50:12.799 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "{"graphConfig":{"username":"pg","db_engine":"RDBMS","format":"pg","jdbc_url":"jdbc:oracle:thin:@127.0.0.1:1521:orcl122","attributes":{},"error_handling":{},"max_num_connections":2,"loading":{"load_edge_label":false},"vertex_props":[{"type":"timestamp_with_timezone","name":"ts"},{"type":"string","default":"default_name","name":"name"}],"name":"g1","password":"pg","edge_props":[{"type":"double","default":"1000000","name":"cost"}]},"graphName":null,"_csrf_token":"a838d0ad-e165-4e79-928f-139628db11fc"}"
15:50:12.901 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 202 [\r][\n]"
15:50:12.901 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Location: http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/status[\r][\n]"
15:50:12.901 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:50:12.901 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 51[\r][\n]"
15:50:12.901 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Thu, 16 Aug 2018 22:50:12 GMT[\r][\n]"
15:50:12.901 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
15:50:12.902 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "{"futureId":"4cb75a56-8acc-4958-bc67-eab12c67e513"}"


*
* Wait for the async task (future) to complete
*
15:50:12.908 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "GET /core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/status HTTP/1.1[\r][\n]"
15:50:12.908 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
15:50:12.908 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
15:50:12.908 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:50:12.908 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:50:12.908 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:50:12.908 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
15:50:12.930 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 200 [\r][\n]"
15:50:12.931 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:50:12.931 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 577[\r][\n]"
15:50:12.931 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Thu, 16 Aug 2018 22:50:12 GMT[\r][\n]"
15:50:12.931 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
15:50:12.931 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "{"id":"4cb75a56-8acc-4958-bc67-eab12c67e513","links":[{"href":"http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/status","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513","rel":"abort","method":"DELETE","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/status","rel":"canonical","method":"GET","interaction":["async-polling"]}],"progress":"processing","completed":false,"intervalToPoll":1}"


*
* The above has not completed, yet. Try again.
*
15:50:18.066 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "GET /core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/status HTTP/1.1[\r][\n]"
15:50:18.066 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
15:50:18.066 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
15:50:18.066 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:50:18.066 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:50:18.066 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:50:18.066 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
15:50:18.070 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 200 [\r][\n]"
15:50:18.070 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:50:18.070 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 733[\r][\n]"
15:50:18.070 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Thu, 16 Aug 2018 22:50:18 GMT[\r][\n]"
15:50:18.070 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
15:50:18.070 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "{"id":"4cb75a56-8acc-4958-bc67-eab12c67e513","links":[{"href":"http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/status","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513","rel":"abort","method":"DELETE","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/status","rel":"canonical","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/value","rel":"related","method":"GET","interaction":["async-polling"]}],"progress":"succeeded","completed":true,"intervalToPoll":1000}"


*
* Graph is now read into memory. Get some meta data of the graph
*
15:50:19.074 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "GET /core/v1/futures/4cb75a56-8acc-4958-bc67-eab12c67e513/value HTTP/1.1[\r][\n]"
15:50:19.074 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
15:50:19.074 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
15:50:19.074 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:50:19.074 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:50:19.074 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:50:19.074 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
15:50:19.108 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 201 [\r][\n]"
15:50:19.108 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Location: http://127.0.0.1:7007/core/v1/graphs/g1[\r][\n]"
15:50:19.108 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:50:19.108 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 2175[\r][\n]"
15:50:19.108 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Thu, 16 Aug 2018 22:50:19 GMT[\r][\n]"
15:50:19.108 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
15:50:19.108 [pgx-client-thread-4] DEBUG org.apache.http.wire - http-outgoing-2 << "{"id":"g1","links":[{"href":"http://127.0.0.1:7007/core/v1/graphs/g1","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/graphs/g1","rel":"canonical","method":"GET","interaction":["async-polling"]}],"nodeProperties":{"name":{"id":"name","links":[{"href":"http://127.0.0.1:7007/core/v1/graphs/g1/properties/name","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/graphs/g1/properties/name","rel":"canonical","method":"GET","interaction":["async-polling"]}],"dimension":0,"name":"name","entityType":"vertex","type":"string","transi ent":false},"ts":{"id":"ts","links":[{"href":"http://127.0.0.1:7007/core/v1/graphs/g1/properties/ts","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/graphs/g1/properties/ts","rel":"canonical","method":"GET","interaction":["async-polling"]}],"dimension":0,"name":"ts","entityType":"vertex","type":"timestamp_with_timezone","transient":false}},"metaData":{"id":null,"links":null,"numVertices":482372,"numEdges":241186,"memoryMb":34,"dataSourceVersion":"21321357","config":{"vertex_props":[{"name":"ts","type":"timestamp_with_timezone"},{"name":"name","default":"default_name","type":"string"}],"error_handling":{},"edge_props":[{"name":"cost","default":"1000000","type":"double"}],"password":"pg","format":"pg","attributes":{}, "name":"g1","max_num_connections":2,"jdbc_url":"jdbc:oracle:thin:@127.0.0.1:1521:orcl122","db_engine":"RDBMS","loading":{"load_edge_label":false},"username":"pg"},"creationRequestTimestamp":1534459812913,"creationTimestamp":1534459816597,"vertexIdType":"long","edgeIdType":"long","directed":true},"vertexLabels":null,"edgeLabel":null,"graphName":"g1","edgeProperties":{"cost":{"id":"cost","links":[{"href":"http://127.0.0.1:7007/core/v1/graphs/g1/properties/cost","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/graphs/g1/properties/cost","rel":"canonical","method":"GET","interaction":["async-polling"]}],"dimension":0,"name":"cost","entityType":"edge", "type":"double","transient":false}},"ageMs":0,"transient":false}"


*
* Get ready to run PGQL. Need to pass in SID, CSRF token, and PGQL body + graph name etc.
* Here I am running a very simple PGQL: SELECT n.ts WHERE (n), n.name = 'unique'

15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "POST /core/v1/pgql/run HTTP/1.1[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Content-Length: 180[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Content-Type: application/json; charset=UTF-8[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Host: 127.0.0.1:7007[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "[\r][\n]"
15:57:54.766 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "{"pgqlQuery":"SELECT n.ts WHERE (n), n.name = 'unique'","semantic":"HOMOMORPHISM","graphName":"g1","schemaStrictnessMode":true,"_csrf_token":"a838d0ad-e165-4e79-928f-139628db11fc"}"
15:57:54.784 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "HTTP/1.1 202 [\r][\n]"
15:57:54.784 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "Location: http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/status[\r][\n]"
15:57:54.784 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:57:54.784 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Length: 51[\r][\n]"
15:57:54.784 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "Date: Thu, 16 Aug 2018 22:57:54 GMT[\r][\n]"
15:57:54.784 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "[\r][\n]"
15:57:54.784 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "{"futureId":"1e6c3163-d549-4357-8924-f539001a1640"}"


*
* Wait for the above async PGQL call to complete. Not yet.
*
15:57:54.789 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "GET /core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/status HTTP/1.1[\r][\n]"
15:57:54.789 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Host: 127.0.0.1:7007[\r][\n]"
15:57:54.789 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]"
15:57:54.789 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:57:54.789 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:57:54.789 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:57:54.789 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "[\r][\n]"
15:57:54.793 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "HTTP/1.1 200 [\r][\n]"
15:57:54.793 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:57:54.793 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Length: 577[\r][\n]"
15:57:54.793 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Date: Thu, 16 Aug 2018 22:57:54 GMT[\r][\n]"
15:57:54.793 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "[\r][\n]"
15:57:54.793 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "{"id":"1e6c3163-d549-4357-8924-f539001a1640","links":[{"href":"http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/status","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640","rel":"abort","method":"DELETE","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/status","rel":"canonical","method":"GET","interaction":["async-polling"]}],"progress":"processing","completed":false,"intervalToPoll":1}"


*
* Ping again to see if PGQL completes
*
15:57:55.355 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "GET /core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/status HTTP/1.1[\r][\n]"
15:57:55.355 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Host: 127.0.0.1:7007[\r][\n]"
15:57:55.355 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]"
15:57:55.355 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:57:55.355 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:57:55.355 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:57:55.355 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "[\r][\n]"
15:57:55.359 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "HTTP/1.1 200 [\r][\n]"
15:57:55.359 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:57:55.359 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Length: 732[\r][\n]"
15:57:55.359 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Date: Thu, 16 Aug 2018 22:57:54 GMT[\r][\n]"
15:57:55.359 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "[\r][\n]"
15:57:55.359 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "{"id":"1e6c3163-d549-4357-8924-f539001a1640","links":[{"href":"http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/status","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640","rel":"abort","method":"DELETE","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/status","rel":"canonical","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/value","rel":"related","method":"GET","interaction":["async-polling"]}],"progress":"succeeded","completed":true,"intervalToPoll":512}"


*
* Fetch PGQL results.
*
15:57:55.873 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "GET /core/v1/futures/1e6c3163-d549-4357-8924-f539001a1640/value HTTP/1.1[\r][\n]"
15:57:55.873 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Host: 127.0.0.1:7007[\r][\n]"
15:57:55.873 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]"
15:57:55.873 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:57:55.873 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:57:55.873 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:57:55.873 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "[\r][\n]"
15:57:55.878 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "HTTP/1.1 201 [\r][\n]"
15:57:55.878 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Location: http://127.0.0.1:7007/core/v1/pgql/run[\r][\n]"
15:57:55.878 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:57:55.878 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Length: 587[\r][\n]"
15:57:55.878 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Date: Thu, 16 Aug 2018 22:57:55 GMT[\r][\n]"
15:57:55.878 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "[\r][\n]"
15:57:55.878 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "{"id":"pgql_1","links":[{"href":"http://127.0.0.1:7007/core/v1/pgqlProxies/pgql_1","rel":"self","method":"GET","interaction":["sync"]},{"href":"http://127.0.0.1:7007/core/v1/pgqlResultProxies/pgql_1/elements","rel":"related","method":"GET","interaction":["sync"]},{"href":"http://127.0.0.1:7007/core/v1/pgqlResultProxies/pgql_1/results","rel":"related","method":"GET","interaction":["sync"]},{"href":"http://127.0.0.1:7007/core/v1/pgqlProxies/pgql_1","rel":"canonical","method":"GET","interaction":["async-polling"]}],"exists":true,"graphName":"g1","resultSetId":"pgql_1","numResults":1}"

15:57:55.890 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "GET /core/v1/pgqlProxies/pgql_1/elements HTTP/1.1[\r][\n]"
15:57:55.890 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Host: 127.0.0.1:7007[\r][\n]"
15:57:55.890 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]"
15:57:55.890 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:57:55.890 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:57:55.890 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:57:55.890 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 >> "[\r][\n]"
15:57:55.900 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "HTTP/1.1 200 [\r][\n]"
15:57:55.900 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:57:55.900 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Length: 488[\r][\n]"
15:57:55.900 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "Date: Thu, 16 Aug 2018 22:57:55 GMT[\r][\n]"
15:57:55.900 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "[\r][\n]"
15:57:55.900 [pgx-client-thread-5] DEBUG org.apache.http.wire - http-outgoing-3 << "{"id":"/core/v1/pgqlProxies/pgql_1/elements","links":[{"href":"http://127.0.0.1:7007/core/v1/pgqlProxies/pgql_1/elements","rel":"self","method":"GET","interaction":["sync"]},{"href":"http://127.0.0.1:7007/core/v1/pgqlProxies/pgql_1/elements","rel":"canonical","method":"GET","interaction":["async-polling"]}],"count":1,"totalItems":1,"items":[{"elementType":"TIMESTAMP_WITH_TIMEZONE","varName":"n.ts","vertexEdgeIdType":null}],"hasMore":false,"offset":0,"limit":1,"showTotalResults":true}"


15:57:55.924 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "GET /core/v1/pgqlProxies/pgql_1/results?start=0&size=2048 HTTP/1.1[\r][\n]"
15:57:55.924 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Host: 127.0.0.1:7007[\r][\n]"
15:57:55.924 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]"
15:57:55.924 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
15:57:55.924 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Cookie: SID=e2b2ead4-10b6-41e0-a7f4-4e960859da12; _csrf_token=a838d0ad-e165-4e79-928f-139628db11fc[\r][\n]"
15:57:55.924 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:57:55.924 [main] DEBUG org.apache.http.wire - http-outgoing-3 >> "[\r][\n]"
15:57:55.931 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "HTTP/1.1 200 [\r][\n]"
15:57:55.931 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Type: application/json;charset=utf-8[\r][\n]"
15:57:55.931 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "Content-Length: 482[\r][\n]"
15:57:55.931 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "Date: Thu, 16 Aug 2018 22:57:55 GMT[\r][\n]"
15:57:55.931 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "[\r][\n]"
15:57:55.931 [main] DEBUG org.apache.http.wire - http-outgoing-3 << "{"id":"/core/v1/pgqlProxies/pgql_1/results","links":[{"href":"http://127.0.0.1:7007/core/v1/pgqlProxies/pgql_1/results","rel":"self","method":"GET","interaction":["sync"]},{"href":"http://127.0.0.1:7007/core/v1/pgqlProxies/pgql_1/results","rel":"canonical","method":"GET","interaction":["async-polling"]}],"count":1,"totalItems":1,"items":[[{"TIMESTAMP_PART_OF_TS_WITH_TZ":1534430004000,"TZ_PART_OF_TS_WITH_TZ":-25200}]],"hasMore":false,"offset":0,"limit":1,"showTotalResults":true}"


opg-oracledb> pgxGraph.close()   // JAVA Call

// Corresponding REST APIs to close the in-memory graph
17:20:07.314 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "DELETE /core/v1/graphs/g2?_csrf_token=86f245d0-c4bf-45ca-aa7c-3b3b8b3ec181&ignoreNotFound=false&retention=DESTROY_IF_NOT_USED HTTP/1.1[\r][\n]"
17:20:07.314 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
17:20:07.314 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
17:20:07.314 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
17:20:07.314 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=f83eb140-fef0-4a46-bef0-031a09f77f9e; _csrf_token=86f245d0-c4bf-45ca-aa7c-3b3b8b3ec181[\r][\n]"
17:20:07.314 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
17:20:07.314 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
17:20:07.320 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 202 [\r][\n]"
17:20:07.320 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Location: http://127.0.0.1:7007/core/v1/futures/f93147d3-9556-4245-b60a-a51b0fea2488/status[\r][\n]"
17:20:07.320 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
17:20:07.320 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 51[\r][\n]"
17:20:07.320 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Wed, 22 Aug 2018 00:20:07 GMT[\r][\n]"
17:20:07.320 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
17:20:07.320 [main] DEBUG org.apache.http.wire - http-outgoing-2 << "{"futureId":"f93147d3-9556-4245-b60a-a51b0fea2488"}"


17:20:07.321 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "GET /core/v1/futures/f93147d3-9556-4245-b60a-a51b0fea2488/status HTTP/1.1[\r][\n]"
17:20:07.321 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
17:20:07.321 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
17:20:07.321 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
17:20:07.321 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=f83eb140-fef0-4a46-bef0-031a09f77f9e; _csrf_token=86f245d0-c4bf-45ca-aa7c-3b3b8b3ec181[\r][\n]"
17:20:07.322 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
17:20:07.322 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
17:20:07.324 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 200 [\r][\n]"
17:20:07.324 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
17:20:07.324 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 730[\r][\n]"
17:20:07.324 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Wed, 22 Aug 2018 00:20:07 GMT[\r][\n]"
17:20:07.324 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
17:20:07.324 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "{"id":"f93147d3-9556-4245-b60a-a51b0fea2488","links":[{"href":"http://127.0.0.1:7007/core/v1/futures/f93147d3-9556-4245-b60a-a51b0fea2488/status","rel":"self","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/f93147d3-9556-4245-b60a-a51b0fea2488","rel":"abort","method":"DELETE","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/f93147d3-9556-4245-b60a-a51b0fea2488/status","rel":"canonical","method":"GET","interaction":["async-polling"]},{"href":"http://127.0.0.1:7007/core/v1/futures/f93147d3-9556-4245-b60a-a51b0fea2488/value","rel":"related","method":"GET","interaction":["async-polling"]}],"progress":"succeeded","completed":true,"intervalToPoll":1}"



17:20:07.327 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "GET /core/v1/futures/f93147d3-9556-4245-b60a-a51b0fea2488/value HTTP/1.1[\r][\n]"
17:20:07.327 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
17:20:07.327 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
17:20:07.327 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
17:20:07.327 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=f83eb140-fef0-4a46-bef0-031a09f77f9e; _csrf_token=86f245d0-c4bf-45ca-aa7c-3b3b8b3ec181[\r][\n]"
17:20:07.327 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
17:20:07.327 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
17:20:07.328 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 200 [\r][\n]"
17:20:07.328 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
17:20:07.328 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 2[\r][\n]"
17:20:07.328 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Wed, 22 Aug 2018 00:20:07 GMT[\r][\n]"
17:20:07.328 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
17:20:07.328 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "{}"


opg-oracledb> pgxSession.destroy()   // Java CALL 

// Corresponding REST calls to destroy the current PGX session


17:20:38.587 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "DELETE /core/v1/session?_csrf_token=86f245d0-c4bf-45ca-aa7c-3b3b8b3ec181 HTTP/1.1[\r][\n]"
17:20:38.587 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: 127.0.0.1:7007[\r][\n]"
17:20:38.587 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
17:20:38.587 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.4 (Java/1.8.0_144)[\r][\n]"
17:20:38.587 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Cookie: SID=f83eb140-fef0-4a46-bef0-031a09f77f9e; _csrf_token=86f245d0-c4bf-45ca-aa7c-3b3b8b3ec181[\r][\n]"
17:20:38.587 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
17:20:38.587 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
17:20:38.592 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "HTTP/1.1 200 [\r][\n]"
17:20:38.592 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Type: application/json;charset=utf-8[\r][\n]"
17:20:38.592 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Content-Length: 2[\r][\n]"
17:20:38.592 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "Date: Wed, 22 Aug 2018 00:20:38 GMT[\r][\n]"
17:20:38.592 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "[\r][\n]"
17:20:38.592 [pgx-client-thread-3] DEBUG org.apache.http.wire - http-outgoing-2 << "{}"
 

Cheers,

Zhe

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.