{"action":"created","comment":{"url":"https://api.github.com/repos/hugegraph/hugegraph/pulls/comments/215137395","pull_request_review_id":152326645,"id":215137395,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTEzNzM5NQ==","diff_hunk":"@@ -194,6 +198,33 @@ public String writePaths(String name, Collection<HugeTraverser.Path> paths,\n         return writeList(name, pathList);\n     }\n \n+    @Override\n+    public String writeSubGraphPaths(\n+                  MultivaluedMap<Boolean, HugeTraverser.Path> paths,\n+                  boolean withCrossPoint) {\n+        try (ByteArrayOutputStream out = new ByteArrayOutputStream(LBUF_SIZE)) {\n+            out.write(\"{\\\"loop path\\\": \".getBytes(API.CHARSET));","path":"hugegraph-api/src/main/java/com/baidu/hugegraph/serializer/JsonSerializer.java","position":25,"original_position":25,"commit_id":"d2c114ae8edd3e9943421a2016da147fcacb905f","original_commit_id":"d2c114ae8edd3e9943421a2016da147fcacb905f","user":{"login":"javeme","id":9625821,"node_id":"MDQ6VXNlcjk2MjU4MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/9625821?v=4","gravatar_id":"","url":"https://api.github.com/users/javeme","html_url":"https://github.com/javeme","followers_url":"https://api.github.com/users/javeme/followers","following_url":"https://api.github.com/users/javeme/following{/other_user}","gists_url":"https://api.github.com/users/javeme/gists{/gist_id}","starred_url":"https://api.github.com/users/javeme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javeme/subscriptions","organizations_url":"https://api.github.com/users/javeme/orgs","repos_url":"https://api.github.com/users/javeme/repos","events_url":"https://api.github.com/users/javeme/events{/privacy}","received_events_url":"https://api.github.com/users/javeme/received_events","type":"User","site_admin":false},"body":"loop_path","created_at":"2018-09-05T05:09:27Z","updated_at":"2018-09-05T05:10:49Z","html_url":"https://github.com/hugegraph/hugegraph/pull/43#discussion_r215137395","pull_request_url":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hugegraph/hugegraph/pulls/comments/215137395"},"html":{"href":"https://github.com/hugegraph/hugegraph/pull/43#discussion_r215137395"},"pull_request":{"href":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43","id":212258248,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMjU4MjQ4","html_url":"https://github.com/hugegraph/hugegraph/pull/43","diff_url":"https://github.com/hugegraph/hugegraph/pull/43.diff","patch_url":"https://github.com/hugegraph/hugegraph/pull/43.patch","issue_url":"https://api.github.com/repos/hugegraph/hugegraph/issues/43","number":43,"state":"open","locked":false,"title":"add subgraphpaths restful api","user":{"login":"zhoney","id":17330028,"node_id":"MDQ6VXNlcjE3MzMwMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/17330028?v=4","gravatar_id":"","url":"https://api.github.com/users/zhoney","html_url":"https://github.com/zhoney","followers_url":"https://api.github.com/users/zhoney/followers","following_url":"https://api.github.com/users/zhoney/following{/other_user}","gists_url":"https://api.github.com/users/zhoney/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoney/subscriptions","organizations_url":"https://api.github.com/users/zhoney/orgs","repos_url":"https://api.github.com/users/zhoney/repos","events_url":"https://api.github.com/users/zhoney/events{/privacy}","received_events_url":"https://api.github.com/users/zhoney/received_events","type":"User","site_admin":false},"body":"fix #39\r\n\r\nChange-Id: I41f82b73cee0ce657b3bcaaf1a68cf3479788fbf","created_at":"2018-08-31T02:24:39Z","updated_at":"2018-09-05T05:10:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f38fd237ec1d70900e9022654791e3e83361abf1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43/commits","review_comments_url":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43/comments","review_comment_url":"https://api.github.com/repos/hugegraph/hugegraph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hugegraph/hugegraph/issues/43/comments","statuses_url":"https://api.github.com/repos/hugegraph/hugegraph/statuses/d2c114ae8edd3e9943421a2016da147fcacb905f","head":{"label":"zhoney:subgraph","ref":"subgraph","sha":"d2c114ae8edd3e9943421a2016da147fcacb905f","user":{"login":"zhoney","id":17330028,"node_id":"MDQ6VXNlcjE3MzMwMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/17330028?v=4","gravatar_id":"","url":"https://api.github.com/users/zhoney","html_url":"https://github.com/zhoney","followers_url":"https://api.github.com/users/zhoney/followers","following_url":"https://api.github.com/users/zhoney/following{/other_user}","gists_url":"https://api.github.com/users/zhoney/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoney/subscriptions","organizations_url":"https://api.github.com/users/zhoney/orgs","repos_url":"https://api.github.com/users/zhoney/repos","events_url":"https://api.github.com/users/zhoney/events{/privacy}","received_events_url":"https://api.github.com/users/zhoney/received_events","type":"User","site_admin":false},"repo":{"id":145112933,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUxMTI5MzM=","name":"hugegraph","full_name":"zhoney/hugegraph","owner":{"login":"zhoney","id":17330028,"node_id":"MDQ6VXNlcjE3MzMwMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/17330028?v=4","gravatar_id":"","url":"https://api.github.com/users/zhoney","html_url":"https://github.com/zhoney","followers_url":"https://api.github.com/users/zhoney/followers","following_url":"https://api.github.com/users/zhoney/following{/other_user}","gists_url":"https://api.github.com/users/zhoney/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoney/subscriptions","organizations_url":"https://api.github.com/users/zhoney/orgs","repos_url":"https://api.github.com/users/zhoney/repos","events_url":"https://api.github.com/users/zhoney/events{/privacy}","received_events_url":"https://api.github.com/users/zhoney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhoney/hugegraph","description":"HugeGraph Database core component, including graph engine, API, and built-in backends","fork":true,"url":"https://api.github.com/repos/zhoney/hugegraph","forks_url":"https://api.github.com/repos/zhoney/hugegraph/forks","keys_url":"https://api.github.com/repos/zhoney/hugegraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhoney/hugegraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhoney/hugegraph/teams","hooks_url":"https://api.github.com/repos/zhoney/hugegraph/hooks","issue_events_url":"https://api.github.com/repos/zhoney/hugegraph/issues/events{/number}","events_url":"https://api.github.com/repos/zhoney/hugegraph/events","assignees_url":"https://api.github.com/repos/zhoney/hugegraph/assignees{/user}","branches_url":"https://api.github.com/repos/zhoney/hugegraph/branches{/branch}","tags_url":"https://api.github.com/repos/zhoney/hugegraph/tags","blobs_url":"https://api.github.com/repos/zhoney/hugegraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhoney/hugegraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhoney/hugegraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhoney/hugegraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhoney/hugegraph/statuses/{sha}","languages_url":"https://api.github.com/repos/zhoney/hugegraph/languages","stargazers_url":"https://api.github.com/repos/zhoney/hugegraph/stargazers","contributors_url":"https://api.github.com/repos/zhoney/hugegraph/contributors","subscribers_url":"https://api.github.com/repos/zhoney/hugegraph/subscribers","subscription_url":"https://api.github.com/repos/zhoney/hugegraph/subscription","commits_url":"https://api.github.com/repos/zhoney/hugegraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhoney/hugegraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhoney/hugegraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhoney/hugegraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhoney/hugegraph/contents/{+path}","compare_url":"https://api.github.com/repos/zhoney/hugegraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhoney/hugegraph/merges","archive_url":"https://api.github.com/repos/zhoney/hugegraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhoney/hugegraph/downloads","issues_url":"https://api.github.com/repos/zhoney/hugegraph/issues{/number}","pulls_url":"https://api.github.com/repos/zhoney/hugegraph/pulls{/number}","milestones_url":"https://api.github.com/repos/zhoney/hugegraph/milestones{/number}","notifications_url":"https://api.github.com/repos/zhoney/hugegraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhoney/hugegraph/labels{/name}","releases_url":"https://api.github.com/repos/zhoney/hugegraph/releases{/id}","deployments_url":"https://api.github.com/repos/zhoney/hugegraph/deployments","created_at":"2018-08-17T11:33:40Z","updated_at":"2018-08-31T02:22:09Z","pushed_at":"2018-08-31T02:24:14Z","git_url":"git://github.com/zhoney/hugegraph.git","ssh_url":"git@github.com:zhoney/hugegraph.git","clone_url":"https://github.com/zhoney/hugegraph.git","svn_url":"https://github.com/zhoney/hugegraph","homepage":null,"size":4882,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hugegraph:master","ref":"master","sha":"0623f48393adeee4e4e8af879e51a1b361e86d8f","user":{"login":"hugegraph","id":40235049,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMjM1MDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/40235049?v=4","gravatar_id":"","url":"https://api.github.com/users/hugegraph","html_url":"https://github.com/hugegraph","followers_url":"https://api.github.com/users/hugegraph/followers","following_url":"https://api.github.com/users/hugegraph/following{/other_user}","gists_url":"https://api.github.com/users/hugegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/hugegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugegraph/subscriptions","organizations_url":"https://api.github.com/users/hugegraph/orgs","repos_url":"https://api.github.com/users/hugegraph/repos","events_url":"https://api.github.com/users/hugegraph/events{/privacy}","received_events_url":"https://api.github.com/users/hugegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":141376301,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzNzYzMDE=","name":"hugegraph","full_name":"hugegraph/hugegraph","owner":{"login":"hugegraph","id":40235049,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMjM1MDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/40235049?v=4","gravatar_id":"","url":"https://api.github.com/users/hugegraph","html_url":"https://github.com/hugegraph","followers_url":"https://api.github.com/users/hugegraph/followers","following_url":"https://api.github.com/users/hugegraph/following{/other_user}","gists_url":"https://api.github.com/users/hugegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/hugegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugegraph/subscriptions","organizations_url":"https://api.github.com/users/hugegraph/orgs","repos_url":"https://api.github.com/users/hugegraph/repos","events_url":"https://api.github.com/users/hugegraph/events{/privacy}","received_events_url":"https://api.github.com/users/hugegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hugegraph/hugegraph","description":"HugeGraph Database core component, including graph engine, API, and built-in backends","fork":false,"url":"https://api.github.com/repos/hugegraph/hugegraph","forks_url":"https://api.github.com/repos/hugegraph/hugegraph/forks","keys_url":"https://api.github.com/repos/hugegraph/hugegraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hugegraph/hugegraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hugegraph/hugegraph/teams","hooks_url":"https://api.github.com/repos/hugegraph/hugegraph/hooks","issue_events_url":"https://api.github.com/repos/hugegraph/hugegraph/issues/events{/number}","events_url":"https://api.github.com/repos/hugegraph/hugegraph/events","assignees_url":"https://api.github.com/repos/hugegraph/hugegraph/assignees{/user}","branches_url":"https://api.github.com/repos/hugegraph/hugegraph/branches{/branch}","tags_url":"https://api.github.com/repos/hugegraph/hugegraph/tags","blobs_url":"https://api.github.com/repos/hugegraph/hugegraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hugegraph/hugegraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hugegraph/hugegraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/hugegraph/hugegraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hugegraph/hugegraph/statuses/{sha}","languages_url":"https://api.github.com/repos/hugegraph/hugegraph/languages","stargazers_url":"https://api.github.com/repos/hugegraph/hugegraph/stargazers","contributors_url":"https://api.github.com/repos/hugegraph/hugegraph/contributors","subscribers_url":"https://api.github.com/repos/hugegraph/hugegraph/subscribers","subscription_url":"https://api.github.com/repos/hugegraph/hugegraph/subscription","commits_url":"https://api.github.com/repos/hugegraph/hugegraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/hugegraph/hugegraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/hugegraph/hugegraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/hugegraph/hugegraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/hugegraph/hugegraph/contents/{+path}","compare_url":"https://api.github.com/repos/hugegraph/hugegraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hugegraph/hugegraph/merges","archive_url":"https://api.github.com/repos/hugegraph/hugegraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hugegraph/hugegraph/downloads","issues_url":"https://api.github.com/repos/hugegraph/hugegraph/issues{/number}","pulls_url":"https://api.github.com/repos/hugegraph/hugegraph/pulls{/number}","milestones_url":"https://api.github.com/repos/hugegraph/hugegraph/milestones{/number}","notifications_url":"https://api.github.com/repos/hugegraph/hugegraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hugegraph/hugegraph/labels{/name}","releases_url":"https://api.github.com/repos/hugegraph/hugegraph/releases{/id}","deployments_url":"https://api.github.com/repos/hugegraph/hugegraph/deployments","created_at":"2018-07-18T03:30:20Z","updated_at":"2018-09-05T03:40:09Z","pushed_at":"2018-09-05T03:40:51Z","git_url":"git://github.com/hugegraph/hugegraph.git","ssh_url":"git@github.com:hugegraph/hugegraph.git","clone_url":"https://github.com/hugegraph/hugegraph.git","svn_url":"https://github.com/hugegraph/hugegraph","homepage":null,"size":4899,"stargazers_count":452,"watchers_count":452,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":25,"open_issues":24,"watchers":452,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43"},"html":{"href":"https://github.com/hugegraph/hugegraph/pull/43"},"issue":{"href":"https://api.github.com/repos/hugegraph/hugegraph/issues/43"},"comments":{"href":"https://api.github.com/repos/hugegraph/hugegraph/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/hugegraph/hugegraph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hugegraph/hugegraph/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/hugegraph/hugegraph/statuses/d2c114ae8edd3e9943421a2016da147fcacb905f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"javeme"}}