{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/elkd/elkd/pulls/1","id":219219232,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MjE5MjMy","html_url":"https://github.com/elkd/elkd/pull/1","diff_url":"https://github.com/elkd/elkd/pull/1.diff","patch_url":"https://github.com/elkd/elkd/pull/1.patch","issue_url":"https://api.github.com/repos/elkd/elkd/issues/1","number":1,"state":"closed","locked":false,"title":"[ELKD-1] Add Event, Document log types","user":{"login":"djjonno","id":1277106,"node_id":"MDQ6VXNlcjEyNzcxMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1277106?v=4","gravatar_id":"","url":"https://api.github.com/users/djjonno","html_url":"https://github.com/djjonno","followers_url":"https://api.github.com/users/djjonno/followers","following_url":"https://api.github.com/users/djjonno/following{/other_user}","gists_url":"https://api.github.com/users/djjonno/gists{/gist_id}","starred_url":"https://api.github.com/users/djjonno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djjonno/subscriptions","organizations_url":"https://api.github.com/users/djjonno/orgs","repos_url":"https://api.github.com/users/djjonno/repos","events_url":"https://api.github.com/users/djjonno/events{/privacy}","received_events_url":"https://api.github.com/users/djjonno/received_events","type":"User","site_admin":false},"body":"### Notes\r\nhttps://elkd-issues.atlassian.net/browse/ELKD-1\r\nThe log will contain a series of append-only records. This record will be the `Event` type. \r\n\r\nThis PR adds the Event object with two key properties:\r\n- `type` - the event name e.g **addItemToCart**\r\n- `Document` - will hold the event attributes. e.g the domain-specific properties of the cart item, in this case.\r\n- I also fleshed out what serialization looks like using Gson. The Event type is fully serializable to JSON which we will need for file persistence.\r\n\r\n### Testing\r\n- Unit testing\r\n","created_at":"2018-09-30T18:27:53Z","updated_at":"2018-09-30T18:31:20Z","closed_at":"2018-09-30T18:31:20Z","merged_at":null,"merge_commit_sha":"b5dfe9e39c7491cfad3da0f79b66d252de4fac27","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elkd/elkd/pulls/1/commits","review_comments_url":"https://api.github.com/repos/elkd/elkd/pulls/1/comments","review_comment_url":"https://api.github.com/repos/elkd/elkd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elkd/elkd/issues/1/comments","statuses_url":"https://api.github.com/repos/elkd/elkd/statuses/1d9e95ef95eeb69f13da5c8399e6058b64e1149a","head":{"label":"elkd:feature/log-types","ref":"feature/log-types","sha":"1d9e95ef95eeb69f13da5c8399e6058b64e1149a","user":{"login":"elkd","id":43530113,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNTMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/43530113?v=4","gravatar_id":"","url":"https://api.github.com/users/elkd","html_url":"https://github.com/elkd","followers_url":"https://api.github.com/users/elkd/followers","following_url":"https://api.github.com/users/elkd/following{/other_user}","gists_url":"https://api.github.com/users/elkd/gists{/gist_id}","starred_url":"https://api.github.com/users/elkd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elkd/subscriptions","organizations_url":"https://api.github.com/users/elkd/orgs","repos_url":"https://api.github.com/users/elkd/repos","events_url":"https://api.github.com/users/elkd/events{/privacy}","received_events_url":"https://api.github.com/users/elkd/received_events","type":"Organization","site_admin":false},"repo":{"id":150993763,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA5OTM3NjM=","name":"elkd","full_name":"elkd/elkd","private":false,"owner":{"login":"elkd","id":43530113,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNTMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/43530113?v=4","gravatar_id":"","url":"https://api.github.com/users/elkd","html_url":"https://github.com/elkd","followers_url":"https://api.github.com/users/elkd/followers","following_url":"https://api.github.com/users/elkd/following{/other_user}","gists_url":"https://api.github.com/users/elkd/gists{/gist_id}","starred_url":"https://api.github.com/users/elkd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elkd/subscriptions","organizations_url":"https://api.github.com/users/elkd/orgs","repos_url":"https://api.github.com/users/elkd/repos","events_url":"https://api.github.com/users/elkd/events{/privacy}","received_events_url":"https://api.github.com/users/elkd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elkd/elkd","description":"The elkd platform","fork":false,"url":"https://api.github.com/repos/elkd/elkd","forks_url":"https://api.github.com/repos/elkd/elkd/forks","keys_url":"https://api.github.com/repos/elkd/elkd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elkd/elkd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elkd/elkd/teams","hooks_url":"https://api.github.com/repos/elkd/elkd/hooks","issue_events_url":"https://api.github.com/repos/elkd/elkd/issues/events{/number}","events_url":"https://api.github.com/repos/elkd/elkd/events","assignees_url":"https://api.github.com/repos/elkd/elkd/assignees{/user}","branches_url":"https://api.github.com/repos/elkd/elkd/branches{/branch}","tags_url":"https://api.github.com/repos/elkd/elkd/tags","blobs_url":"https://api.github.com/repos/elkd/elkd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elkd/elkd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elkd/elkd/git/refs{/sha}","trees_url":"https://api.github.com/repos/elkd/elkd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elkd/elkd/statuses/{sha}","languages_url":"https://api.github.com/repos/elkd/elkd/languages","stargazers_url":"https://api.github.com/repos/elkd/elkd/stargazers","contributors_url":"https://api.github.com/repos/elkd/elkd/contributors","subscribers_url":"https://api.github.com/repos/elkd/elkd/subscribers","subscription_url":"https://api.github.com/repos/elkd/elkd/subscription","commits_url":"https://api.github.com/repos/elkd/elkd/commits{/sha}","git_commits_url":"https://api.github.com/repos/elkd/elkd/git/commits{/sha}","comments_url":"https://api.github.com/repos/elkd/elkd/comments{/number}","issue_comment_url":"https://api.github.com/repos/elkd/elkd/issues/comments{/number}","contents_url":"https://api.github.com/repos/elkd/elkd/contents/{+path}","compare_url":"https://api.github.com/repos/elkd/elkd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elkd/elkd/merges","archive_url":"https://api.github.com/repos/elkd/elkd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elkd/elkd/downloads","issues_url":"https://api.github.com/repos/elkd/elkd/issues{/number}","pulls_url":"https://api.github.com/repos/elkd/elkd/pulls{/number}","milestones_url":"https://api.github.com/repos/elkd/elkd/milestones{/number}","notifications_url":"https://api.github.com/repos/elkd/elkd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elkd/elkd/labels{/name}","releases_url":"https://api.github.com/repos/elkd/elkd/releases{/id}","deployments_url":"https://api.github.com/repos/elkd/elkd/deployments","created_at":"2018-09-30T18:22:33Z","updated_at":"2018-09-30T18:22:52Z","pushed_at":"2018-09-30T18:27:54Z","git_url":"git://github.com/elkd/elkd.git","ssh_url":"git@github.com:elkd/elkd.git","clone_url":"https://github.com/elkd/elkd.git","svn_url":"https://github.com/elkd/elkd","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elkd:master","ref":"master","sha":"4bf2e0148db4b27d0f5ca7e8071c9c3bae0fbe37","user":{"login":"elkd","id":43530113,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNTMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/43530113?v=4","gravatar_id":"","url":"https://api.github.com/users/elkd","html_url":"https://github.com/elkd","followers_url":"https://api.github.com/users/elkd/followers","following_url":"https://api.github.com/users/elkd/following{/other_user}","gists_url":"https://api.github.com/users/elkd/gists{/gist_id}","starred_url":"https://api.github.com/users/elkd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elkd/subscriptions","organizations_url":"https://api.github.com/users/elkd/orgs","repos_url":"https://api.github.com/users/elkd/repos","events_url":"https://api.github.com/users/elkd/events{/privacy}","received_events_url":"https://api.github.com/users/elkd/received_events","type":"Organization","site_admin":false},"repo":{"id":150993763,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA5OTM3NjM=","name":"elkd","full_name":"elkd/elkd","private":false,"owner":{"login":"elkd","id":43530113,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNTMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/43530113?v=4","gravatar_id":"","url":"https://api.github.com/users/elkd","html_url":"https://github.com/elkd","followers_url":"https://api.github.com/users/elkd/followers","following_url":"https://api.github.com/users/elkd/following{/other_user}","gists_url":"https://api.github.com/users/elkd/gists{/gist_id}","starred_url":"https://api.github.com/users/elkd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elkd/subscriptions","organizations_url":"https://api.github.com/users/elkd/orgs","repos_url":"https://api.github.com/users/elkd/repos","events_url":"https://api.github.com/users/elkd/events{/privacy}","received_events_url":"https://api.github.com/users/elkd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elkd/elkd","description":"The elkd platform","fork":false,"url":"https://api.github.com/repos/elkd/elkd","forks_url":"https://api.github.com/repos/elkd/elkd/forks","keys_url":"https://api.github.com/repos/elkd/elkd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elkd/elkd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elkd/elkd/teams","hooks_url":"https://api.github.com/repos/elkd/elkd/hooks","issue_events_url":"https://api.github.com/repos/elkd/elkd/issues/events{/number}","events_url":"https://api.github.com/repos/elkd/elkd/events","assignees_url":"https://api.github.com/repos/elkd/elkd/assignees{/user}","branches_url":"https://api.github.com/repos/elkd/elkd/branches{/branch}","tags_url":"https://api.github.com/repos/elkd/elkd/tags","blobs_url":"https://api.github.com/repos/elkd/elkd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elkd/elkd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elkd/elkd/git/refs{/sha}","trees_url":"https://api.github.com/repos/elkd/elkd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elkd/elkd/statuses/{sha}","languages_url":"https://api.github.com/repos/elkd/elkd/languages","stargazers_url":"https://api.github.com/repos/elkd/elkd/stargazers","contributors_url":"https://api.github.com/repos/elkd/elkd/contributors","subscribers_url":"https://api.github.com/repos/elkd/elkd/subscribers","subscription_url":"https://api.github.com/repos/elkd/elkd/subscription","commits_url":"https://api.github.com/repos/elkd/elkd/commits{/sha}","git_commits_url":"https://api.github.com/repos/elkd/elkd/git/commits{/sha}","comments_url":"https://api.github.com/repos/elkd/elkd/comments{/number}","issue_comment_url":"https://api.github.com/repos/elkd/elkd/issues/comments{/number}","contents_url":"https://api.github.com/repos/elkd/elkd/contents/{+path}","compare_url":"https://api.github.com/repos/elkd/elkd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elkd/elkd/merges","archive_url":"https://api.github.com/repos/elkd/elkd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elkd/elkd/downloads","issues_url":"https://api.github.com/repos/elkd/elkd/issues{/number}","pulls_url":"https://api.github.com/repos/elkd/elkd/pulls{/number}","milestones_url":"https://api.github.com/repos/elkd/elkd/milestones{/number}","notifications_url":"https://api.github.com/repos/elkd/elkd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elkd/elkd/labels{/name}","releases_url":"https://api.github.com/repos/elkd/elkd/releases{/id}","deployments_url":"https://api.github.com/repos/elkd/elkd/deployments","created_at":"2018-09-30T18:22:33Z","updated_at":"2018-09-30T18:22:52Z","pushed_at":"2018-09-30T18:27:54Z","git_url":"git://github.com/elkd/elkd.git","ssh_url":"git@github.com:elkd/elkd.git","clone_url":"https://github.com/elkd/elkd.git","svn_url":"https://github.com/elkd/elkd","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elkd/elkd/pulls/1"},"html":{"href":"https://github.com/elkd/elkd/pull/1"},"issue":{"href":"https://api.github.com/repos/elkd/elkd/issues/1"},"comments":{"href":"https://api.github.com/repos/elkd/elkd/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/elkd/elkd/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/elkd/elkd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elkd/elkd/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/elkd/elkd/statuses/1d9e95ef95eeb69f13da5c8399e6058b64e1149a"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":591,"deletions":53,"changed_files":12}}
{"actor":{"display_login":"djjonno"}}