{"action":"created","comment":{"url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/comments/243970533","pull_request_review_id":187863288,"id":243970533,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mzk3MDUzMw==","diff_hunk":"@@ -61,9 +60,20 @@ public BoardSerializer() {\n \n     private void initBoardRepository() {\n         configuration = StudioApiConfig.getInstance();\n+        String baseDir = configuration.getBaseDirectory();\n+        Preconditions.checkNotNull(baseDir);\n+        LOG.debug(\"The base directory is: {}\", baseDir);\n+        File dir = new File(baseDir);\n+        if (!dir.exists()) {\n+            dir.mkdirs();\n+        }\n+        Preconditions.checkArgument(dir.exists() && dir.isDirectory());","path":"studio-api/src/main/java/com/baidu/hugegraph/studio/board/serializer/BoardSerializer.java","position":44,"original_position":44,"commit_id":"b2c1a359288002784e4099867f5bd8bfe0496570","original_commit_id":"b2c1a359288002784e4099867f5bd8bfe0496570","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":"add some error message","created_at":"2018-12-26T09:42:33Z","updated_at":"2018-12-26T09:42:50Z","html_url":"https://github.com/hugegraph/hugegraph-studio/pull/10#discussion_r243970533","pull_request_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/comments/243970533"},"html":{"href":"https://github.com/hugegraph/hugegraph-studio/pull/10#discussion_r243970533"},"pull_request":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10","id":240181599,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMTgxNTk5","html_url":"https://github.com/hugegraph/hugegraph-studio/pull/10","diff_url":"https://github.com/hugegraph/hugegraph-studio/pull/10.diff","patch_url":"https://github.com/hugegraph/hugegraph-studio/pull/10.patch","issue_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/10","number":10,"state":"open","locked":false,"title":"Show last history when studio is reopened","user":{"login":"Linary","id":9151831,"node_id":"MDQ6VXNlcjkxNTE4MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/9151831?v=4","gravatar_id":"","url":"https://api.github.com/users/Linary","html_url":"https://github.com/Linary","followers_url":"https://api.github.com/users/Linary/followers","following_url":"https://api.github.com/users/Linary/following{/other_user}","gists_url":"https://api.github.com/users/Linary/gists{/gist_id}","starred_url":"https://api.github.com/users/Linary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linary/subscriptions","organizations_url":"https://api.github.com/users/Linary/orgs","repos_url":"https://api.github.com/users/Linary/repos","events_url":"https://api.github.com/users/Linary/events{/privacy}","received_events_url":"https://api.github.com/users/Linary/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-20T14:05:28Z","updated_at":"2018-12-26T09:42:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1bb9ebb85ca2479b68f3ad1ee62f1cf4c17911bc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10/commits","review_comments_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10/comments","review_comment_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/10/comments","statuses_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/statuses/b2c1a359288002784e4099867f5bd8bfe0496570","head":{"label":"hugegraph:history","ref":"history","sha":"b2c1a359288002784e4099867f5bd8bfe0496570","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":142439113,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI0MzkxMTM=","name":"hugegraph-studio","full_name":"hugegraph/hugegraph-studio","private":false,"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},"html_url":"https://github.com/hugegraph/hugegraph-studio","description":"HugeGraph Database web UI","fork":false,"url":"https://api.github.com/repos/hugegraph/hugegraph-studio","forks_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/forks","keys_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/teams","hooks_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/hooks","issue_events_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/events{/number}","events_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/events","assignees_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/assignees{/user}","branches_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/branches{/branch}","tags_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/tags","blobs_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/languages","stargazers_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/stargazers","contributors_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/contributors","subscribers_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/subscribers","subscription_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/subscription","commits_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/contents/{+path}","compare_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/merges","archive_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/downloads","issues_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues{/number}","pulls_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/labels{/name}","releases_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/releases{/id}","deployments_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/deployments","created_at":"2018-07-26T12:39:51Z","updated_at":"2018-11-23T13:43:22Z","pushed_at":"2018-12-25T14:56:17Z","git_url":"git://github.com/hugegraph/hugegraph-studio.git","ssh_url":"git@github.com:hugegraph/hugegraph-studio.git","clone_url":"https://github.com/hugegraph/hugegraph-studio.git","svn_url":"https://github.com/hugegraph/hugegraph-studio","homepage":null,"size":1643,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"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":2,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"hugegraph:master","ref":"master","sha":"6721a27270265e0a796b5121a1adce78a7ec1a95","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":142439113,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI0MzkxMTM=","name":"hugegraph-studio","full_name":"hugegraph/hugegraph-studio","private":false,"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},"html_url":"https://github.com/hugegraph/hugegraph-studio","description":"HugeGraph Database web UI","fork":false,"url":"https://api.github.com/repos/hugegraph/hugegraph-studio","forks_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/forks","keys_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/teams","hooks_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/hooks","issue_events_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/events{/number}","events_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/events","assignees_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/assignees{/user}","branches_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/branches{/branch}","tags_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/tags","blobs_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/languages","stargazers_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/stargazers","contributors_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/contributors","subscribers_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/subscribers","subscription_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/subscription","commits_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/contents/{+path}","compare_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/merges","archive_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/downloads","issues_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues{/number}","pulls_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/labels{/name}","releases_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/releases{/id}","deployments_url":"https://api.github.com/repos/hugegraph/hugegraph-studio/deployments","created_at":"2018-07-26T12:39:51Z","updated_at":"2018-11-23T13:43:22Z","pushed_at":"2018-12-25T14:56:17Z","git_url":"git://github.com/hugegraph/hugegraph-studio.git","ssh_url":"git@github.com:hugegraph/hugegraph-studio.git","clone_url":"https://github.com/hugegraph/hugegraph-studio.git","svn_url":"https://github.com/hugegraph/hugegraph-studio","homepage":null,"size":1643,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"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":2,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10"},"html":{"href":"https://github.com/hugegraph/hugegraph-studio/pull/10"},"issue":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/10"},"comments":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/hugegraph/hugegraph-studio/statuses/b2c1a359288002784e4099867f5bd8bfe0496570"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"javeme"}}