{"action":"created","comment":{"url":"https://api.github.com/repos/omise/omise-java/pulls/comments/207425806","pull_request_review_id":143036147,"id":207425806,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzQyNTgwNg==","diff_hunk":"@@ -0,0 +1,78 @@\n+package co.omise.live;\n+\n+import co.omise.Client;\n+import co.omise.models.*;\n+import co.omise.requests.Request;\n+import com.fasterxml.jackson.core.type.TypeReference;\n+import org.junit.Ignore;\n+import org.junit.Test;\n+\n+import java.io.IOException;\n+\n+import static junit.framework.TestCase.assertEquals;\n+import static junit.framework.TestCase.assertNotNull;\n+import static org.junit.Assert.*;\n+\n+public class LiveEventRequestTest extends BaseLiveTest {\n+\n+    private static final String EVENT_ID = \"YOUR_EVENT\";\n+\n+    @Test\n+    @Ignore(\"only hit when test on live.\")\n+    public void testGetEventSuccess() throws Exception {\n+        Client client = getLiveClient();","path":"src/test/java/co/omise/live/LiveEventRequestTest.java","position":23,"original_position":23,"commit_id":"c820eca2bc1fcd1f5d0508fbe1203092249cd3db","original_commit_id":"c820eca2bc1fcd1f5d0508fbe1203092249cd3db","user":{"login":"nuxzero","id":2638321,"node_id":"MDQ6VXNlcjI2MzgzMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/2638321?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxzero","html_url":"https://github.com/nuxzero","followers_url":"https://api.github.com/users/nuxzero/followers","following_url":"https://api.github.com/users/nuxzero/following{/other_user}","gists_url":"https://api.github.com/users/nuxzero/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxzero/subscriptions","organizations_url":"https://api.github.com/users/nuxzero/orgs","repos_url":"https://api.github.com/users/nuxzero/repos","events_url":"https://api.github.com/users/nuxzero/events{/privacy}","received_events_url":"https://api.github.com/users/nuxzero/received_events","type":"User","site_admin":false},"body":"How about move `client` to the global variable?","created_at":"2018-08-03T02:26:55Z","updated_at":"2018-08-03T02:28:06Z","html_url":"https://github.com/omise/omise-java/pull/43#discussion_r207425806","pull_request_url":"https://api.github.com/repos/omise/omise-java/pulls/43","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/omise/omise-java/pulls/comments/207425806"},"html":{"href":"https://github.com/omise/omise-java/pull/43#discussion_r207425806"},"pull_request":{"href":"https://api.github.com/repos/omise/omise-java/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/omise/omise-java/pulls/43","id":205676212,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1Njc2MjEy","html_url":"https://github.com/omise/omise-java/pull/43","diff_url":"https://github.com/omise/omise-java/pull/43.diff","patch_url":"https://github.com/omise/omise-java/pull/43.patch","issue_url":"https://api.github.com/repos/omise/omise-java/issues/43","number":43,"state":"open","locked":false,"title":"Change event request flow","user":{"login":"Namiii","id":5729822,"node_id":"MDQ6VXNlcjU3Mjk4MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/5729822?v=4","gravatar_id":"","url":"https://api.github.com/users/Namiii","html_url":"https://github.com/Namiii","followers_url":"https://api.github.com/users/Namiii/followers","following_url":"https://api.github.com/users/Namiii/following{/other_user}","gists_url":"https://api.github.com/users/Namiii/gists{/gist_id}","starred_url":"https://api.github.com/users/Namiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Namiii/subscriptions","organizations_url":"https://api.github.com/users/Namiii/orgs","repos_url":"https://api.github.com/users/Namiii/repos","events_url":"https://api.github.com/users/Namiii/events{/privacy}","received_events_url":"https://api.github.com/users/Namiii/received_events","type":"User","site_admin":false},"body":"Implemented the new Request builder flow for Event request","created_at":"2018-08-02T09:43:59Z","updated_at":"2018-08-03T02:28:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57500c03740f588d55f79695512f3d558b37c9f6","assignee":{"login":"chakrit","id":45545,"node_id":"MDQ6VXNlcjQ1NTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/45545?v=4","gravatar_id":"","url":"https://api.github.com/users/chakrit","html_url":"https://github.com/chakrit","followers_url":"https://api.github.com/users/chakrit/followers","following_url":"https://api.github.com/users/chakrit/following{/other_user}","gists_url":"https://api.github.com/users/chakrit/gists{/gist_id}","starred_url":"https://api.github.com/users/chakrit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chakrit/subscriptions","organizations_url":"https://api.github.com/users/chakrit/orgs","repos_url":"https://api.github.com/users/chakrit/repos","events_url":"https://api.github.com/users/chakrit/events{/privacy}","received_events_url":"https://api.github.com/users/chakrit/received_events","type":"User","site_admin":false},"assignees":[{"login":"chakrit","id":45545,"node_id":"MDQ6VXNlcjQ1NTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/45545?v=4","gravatar_id":"","url":"https://api.github.com/users/chakrit","html_url":"https://github.com/chakrit","followers_url":"https://api.github.com/users/chakrit/followers","following_url":"https://api.github.com/users/chakrit/following{/other_user}","gists_url":"https://api.github.com/users/chakrit/gists{/gist_id}","starred_url":"https://api.github.com/users/chakrit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chakrit/subscriptions","organizations_url":"https://api.github.com/users/chakrit/orgs","repos_url":"https://api.github.com/users/chakrit/repos","events_url":"https://api.github.com/users/chakrit/events{/privacy}","received_events_url":"https://api.github.com/users/chakrit/received_events","type":"User","site_admin":false},{"login":"pitiphong-p","id":426153,"node_id":"MDQ6VXNlcjQyNjE1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/426153?v=4","gravatar_id":"","url":"https://api.github.com/users/pitiphong-p","html_url":"https://github.com/pitiphong-p","followers_url":"https://api.github.com/users/pitiphong-p/followers","following_url":"https://api.github.com/users/pitiphong-p/following{/other_user}","gists_url":"https://api.github.com/users/pitiphong-p/gists{/gist_id}","starred_url":"https://api.github.com/users/pitiphong-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitiphong-p/subscriptions","organizations_url":"https://api.github.com/users/pitiphong-p/orgs","repos_url":"https://api.github.com/users/pitiphong-p/repos","events_url":"https://api.github.com/users/pitiphong-p/events{/privacy}","received_events_url":"https://api.github.com/users/pitiphong-p/received_events","type":"User","site_admin":false},{"login":"nuxzero","id":2638321,"node_id":"MDQ6VXNlcjI2MzgzMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/2638321?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxzero","html_url":"https://github.com/nuxzero","followers_url":"https://api.github.com/users/nuxzero/followers","following_url":"https://api.github.com/users/nuxzero/following{/other_user}","gists_url":"https://api.github.com/users/nuxzero/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxzero/subscriptions","organizations_url":"https://api.github.com/users/nuxzero/orgs","repos_url":"https://api.github.com/users/nuxzero/repos","events_url":"https://api.github.com/users/nuxzero/events{/privacy}","received_events_url":"https://api.github.com/users/nuxzero/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"chakrit","id":45545,"node_id":"MDQ6VXNlcjQ1NTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/45545?v=4","gravatar_id":"","url":"https://api.github.com/users/chakrit","html_url":"https://github.com/chakrit","followers_url":"https://api.github.com/users/chakrit/followers","following_url":"https://api.github.com/users/chakrit/following{/other_user}","gists_url":"https://api.github.com/users/chakrit/gists{/gist_id}","starred_url":"https://api.github.com/users/chakrit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chakrit/subscriptions","organizations_url":"https://api.github.com/users/chakrit/orgs","repos_url":"https://api.github.com/users/chakrit/repos","events_url":"https://api.github.com/users/chakrit/events{/privacy}","received_events_url":"https://api.github.com/users/chakrit/received_events","type":"User","site_admin":false},{"login":"pitiphong-p","id":426153,"node_id":"MDQ6VXNlcjQyNjE1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/426153?v=4","gravatar_id":"","url":"https://api.github.com/users/pitiphong-p","html_url":"https://github.com/pitiphong-p","followers_url":"https://api.github.com/users/pitiphong-p/followers","following_url":"https://api.github.com/users/pitiphong-p/following{/other_user}","gists_url":"https://api.github.com/users/pitiphong-p/gists{/gist_id}","starred_url":"https://api.github.com/users/pitiphong-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitiphong-p/subscriptions","organizations_url":"https://api.github.com/users/pitiphong-p/orgs","repos_url":"https://api.github.com/users/pitiphong-p/repos","events_url":"https://api.github.com/users/pitiphong-p/events{/privacy}","received_events_url":"https://api.github.com/users/pitiphong-p/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":176328712,"node_id":"MDU6TGFiZWwxNzYzMjg3MTI=","url":"https://api.github.com/repos/omise/omise-java/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":992753154,"node_id":"MDU6TGFiZWw5OTI3NTMxNTQ=","url":"https://api.github.com/repos/omise/omise-java/labels/v3.0","name":"v3.0","color":"3fe289","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/omise/omise-java/pulls/43/commits","review_comments_url":"https://api.github.com/repos/omise/omise-java/pulls/43/comments","review_comment_url":"https://api.github.com/repos/omise/omise-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omise/omise-java/issues/43/comments","statuses_url":"https://api.github.com/repos/omise/omise-java/statuses/c820eca2bc1fcd1f5d0508fbe1203092249cd3db","head":{"label":"omise:change-event-request-flow","ref":"change-event-request-flow","sha":"c820eca2bc1fcd1f5d0508fbe1203092249cd3db","user":{"login":"omise","id":4662729,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NjI3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/4662729?v=4","gravatar_id":"","url":"https://api.github.com/users/omise","html_url":"https://github.com/omise","followers_url":"https://api.github.com/users/omise/followers","following_url":"https://api.github.com/users/omise/following{/other_user}","gists_url":"https://api.github.com/users/omise/gists{/gist_id}","starred_url":"https://api.github.com/users/omise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omise/subscriptions","organizations_url":"https://api.github.com/users/omise/orgs","repos_url":"https://api.github.com/users/omise/repos","events_url":"https://api.github.com/users/omise/events{/privacy}","received_events_url":"https://api.github.com/users/omise/received_events","type":"Organization","site_admin":false},"repo":{"id":30686774,"node_id":"MDEwOlJlcG9zaXRvcnkzMDY4Njc3NA==","name":"omise-java","full_name":"omise/omise-java","owner":{"login":"omise","id":4662729,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NjI3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/4662729?v=4","gravatar_id":"","url":"https://api.github.com/users/omise","html_url":"https://github.com/omise","followers_url":"https://api.github.com/users/omise/followers","following_url":"https://api.github.com/users/omise/following{/other_user}","gists_url":"https://api.github.com/users/omise/gists{/gist_id}","starred_url":"https://api.github.com/users/omise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omise/subscriptions","organizations_url":"https://api.github.com/users/omise/orgs","repos_url":"https://api.github.com/users/omise/repos","events_url":"https://api.github.com/users/omise/events{/privacy}","received_events_url":"https://api.github.com/users/omise/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omise/omise-java","description":"Omise Java Library","fork":false,"url":"https://api.github.com/repos/omise/omise-java","forks_url":"https://api.github.com/repos/omise/omise-java/forks","keys_url":"https://api.github.com/repos/omise/omise-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omise/omise-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omise/omise-java/teams","hooks_url":"https://api.github.com/repos/omise/omise-java/hooks","issue_events_url":"https://api.github.com/repos/omise/omise-java/issues/events{/number}","events_url":"https://api.github.com/repos/omise/omise-java/events","assignees_url":"https://api.github.com/repos/omise/omise-java/assignees{/user}","branches_url":"https://api.github.com/repos/omise/omise-java/branches{/branch}","tags_url":"https://api.github.com/repos/omise/omise-java/tags","blobs_url":"https://api.github.com/repos/omise/omise-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omise/omise-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omise/omise-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/omise/omise-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omise/omise-java/statuses/{sha}","languages_url":"https://api.github.com/repos/omise/omise-java/languages","stargazers_url":"https://api.github.com/repos/omise/omise-java/stargazers","contributors_url":"https://api.github.com/repos/omise/omise-java/contributors","subscribers_url":"https://api.github.com/repos/omise/omise-java/subscribers","subscription_url":"https://api.github.com/repos/omise/omise-java/subscription","commits_url":"https://api.github.com/repos/omise/omise-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/omise/omise-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/omise/omise-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/omise/omise-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/omise/omise-java/contents/{+path}","compare_url":"https://api.github.com/repos/omise/omise-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omise/omise-java/merges","archive_url":"https://api.github.com/repos/omise/omise-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omise/omise-java/downloads","issues_url":"https://api.github.com/repos/omise/omise-java/issues{/number}","pulls_url":"https://api.github.com/repos/omise/omise-java/pulls{/number}","milestones_url":"https://api.github.com/repos/omise/omise-java/milestones{/number}","notifications_url":"https://api.github.com/repos/omise/omise-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omise/omise-java/labels{/name}","releases_url":"https://api.github.com/repos/omise/omise-java/releases{/id}","deployments_url":"https://api.github.com/repos/omise/omise-java/deployments","created_at":"2015-02-12T05:10:50Z","updated_at":"2018-07-17T05:57:09Z","pushed_at":"2018-08-03T02:10:22Z","git_url":"git://github.com/omise/omise-java.git","ssh_url":"git@github.com:omise/omise-java.git","clone_url":"https://github.com/omise/omise-java.git","svn_url":"https://github.com/omise/omise-java","homepage":null,"size":707,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":2,"watchers":13,"default_branch":"master"}},"base":{"label":"omise:v3.0","ref":"v3.0","sha":"6c1309f19061c8c3ca493e450b2aa6a973ba8bcc","user":{"login":"omise","id":4662729,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NjI3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/4662729?v=4","gravatar_id":"","url":"https://api.github.com/users/omise","html_url":"https://github.com/omise","followers_url":"https://api.github.com/users/omise/followers","following_url":"https://api.github.com/users/omise/following{/other_user}","gists_url":"https://api.github.com/users/omise/gists{/gist_id}","starred_url":"https://api.github.com/users/omise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omise/subscriptions","organizations_url":"https://api.github.com/users/omise/orgs","repos_url":"https://api.github.com/users/omise/repos","events_url":"https://api.github.com/users/omise/events{/privacy}","received_events_url":"https://api.github.com/users/omise/received_events","type":"Organization","site_admin":false},"repo":{"id":30686774,"node_id":"MDEwOlJlcG9zaXRvcnkzMDY4Njc3NA==","name":"omise-java","full_name":"omise/omise-java","owner":{"login":"omise","id":4662729,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NjI3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/4662729?v=4","gravatar_id":"","url":"https://api.github.com/users/omise","html_url":"https://github.com/omise","followers_url":"https://api.github.com/users/omise/followers","following_url":"https://api.github.com/users/omise/following{/other_user}","gists_url":"https://api.github.com/users/omise/gists{/gist_id}","starred_url":"https://api.github.com/users/omise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omise/subscriptions","organizations_url":"https://api.github.com/users/omise/orgs","repos_url":"https://api.github.com/users/omise/repos","events_url":"https://api.github.com/users/omise/events{/privacy}","received_events_url":"https://api.github.com/users/omise/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omise/omise-java","description":"Omise Java Library","fork":false,"url":"https://api.github.com/repos/omise/omise-java","forks_url":"https://api.github.com/repos/omise/omise-java/forks","keys_url":"https://api.github.com/repos/omise/omise-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omise/omise-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omise/omise-java/teams","hooks_url":"https://api.github.com/repos/omise/omise-java/hooks","issue_events_url":"https://api.github.com/repos/omise/omise-java/issues/events{/number}","events_url":"https://api.github.com/repos/omise/omise-java/events","assignees_url":"https://api.github.com/repos/omise/omise-java/assignees{/user}","branches_url":"https://api.github.com/repos/omise/omise-java/branches{/branch}","tags_url":"https://api.github.com/repos/omise/omise-java/tags","blobs_url":"https://api.github.com/repos/omise/omise-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omise/omise-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omise/omise-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/omise/omise-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omise/omise-java/statuses/{sha}","languages_url":"https://api.github.com/repos/omise/omise-java/languages","stargazers_url":"https://api.github.com/repos/omise/omise-java/stargazers","contributors_url":"https://api.github.com/repos/omise/omise-java/contributors","subscribers_url":"https://api.github.com/repos/omise/omise-java/subscribers","subscription_url":"https://api.github.com/repos/omise/omise-java/subscription","commits_url":"https://api.github.com/repos/omise/omise-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/omise/omise-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/omise/omise-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/omise/omise-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/omise/omise-java/contents/{+path}","compare_url":"https://api.github.com/repos/omise/omise-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omise/omise-java/merges","archive_url":"https://api.github.com/repos/omise/omise-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omise/omise-java/downloads","issues_url":"https://api.github.com/repos/omise/omise-java/issues{/number}","pulls_url":"https://api.github.com/repos/omise/omise-java/pulls{/number}","milestones_url":"https://api.github.com/repos/omise/omise-java/milestones{/number}","notifications_url":"https://api.github.com/repos/omise/omise-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omise/omise-java/labels{/name}","releases_url":"https://api.github.com/repos/omise/omise-java/releases{/id}","deployments_url":"https://api.github.com/repos/omise/omise-java/deployments","created_at":"2015-02-12T05:10:50Z","updated_at":"2018-07-17T05:57:09Z","pushed_at":"2018-08-03T02:10:22Z","git_url":"git://github.com/omise/omise-java.git","ssh_url":"git@github.com:omise/omise-java.git","clone_url":"https://github.com/omise/omise-java.git","svn_url":"https://github.com/omise/omise-java","homepage":null,"size":707,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":2,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omise/omise-java/pulls/43"},"html":{"href":"https://github.com/omise/omise-java/pull/43"},"issue":{"href":"https://api.github.com/repos/omise/omise-java/issues/43"},"comments":{"href":"https://api.github.com/repos/omise/omise-java/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/omise/omise-java/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/omise/omise-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omise/omise-java/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/omise/omise-java/statuses/c820eca2bc1fcd1f5d0508fbe1203092249cd3db"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"nuxzero"}}