{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/Cepave/alarm/pulls/15","id":62231675,"html_url":"https://github.com/Cepave/alarm/pull/15","diff_url":"https://github.com/Cepave/alarm/pull/15.diff","patch_url":"https://github.com/Cepave/alarm/pull/15.patch","issue_url":"https://api.github.com/repos/Cepave/alarm/issues/15","number":15,"state":"open","locked":false,"title":"[OWL-389] insert alarm event into database","user":{"login":"masato25","id":4387822,"avatar_url":"https://avatars.githubusercontent.com/u/4387822?v=3","gravatar_id":"","url":"https://api.github.com/users/masato25","html_url":"https://github.com/masato25","followers_url":"https://api.github.com/users/masato25/followers","following_url":"https://api.github.com/users/masato25/following{/other_user}","gists_url":"https://api.github.com/users/masato25/gists{/gist_id}","starred_url":"https://api.github.com/users/masato25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masato25/subscriptions","organizations_url":"https://api.github.com/users/masato25/orgs","repos_url":"https://api.github.com/users/masato25/repos","events_url":"https://api.github.com/users/masato25/events{/privacy}","received_events_url":"https://api.github.com/users/masato25/received_events","type":"User","site_admin":false},"body":"這個改動主要是實現event可以被寫進去database.\r\n順便更動整理了http本身uic的model 和database init 的部份.","created_at":"2016-03-09T13:57:37Z","updated_at":"2016-03-09T13:57:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Cepave/alarm/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Cepave/alarm/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Cepave/alarm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cepave/alarm/issues/15/comments","statuses_url":"https://api.github.com/repos/Cepave/alarm/statuses/e421cf4c3a3522f278cde39f75ae9a1e37599388","head":{"label":"masato25:develop","ref":"develop","sha":"e421cf4c3a3522f278cde39f75ae9a1e37599388","user":{"login":"masato25","id":4387822,"avatar_url":"https://avatars.githubusercontent.com/u/4387822?v=3","gravatar_id":"","url":"https://api.github.com/users/masato25","html_url":"https://github.com/masato25","followers_url":"https://api.github.com/users/masato25/followers","following_url":"https://api.github.com/users/masato25/following{/other_user}","gists_url":"https://api.github.com/users/masato25/gists{/gist_id}","starred_url":"https://api.github.com/users/masato25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masato25/subscriptions","organizations_url":"https://api.github.com/users/masato25/orgs","repos_url":"https://api.github.com/users/masato25/repos","events_url":"https://api.github.com/users/masato25/events{/privacy}","received_events_url":"https://api.github.com/users/masato25/received_events","type":"User","site_admin":false},"repo":{"id":53500650,"name":"alarm","full_name":"masato25/alarm","owner":{"login":"masato25","id":4387822,"avatar_url":"https://avatars.githubusercontent.com/u/4387822?v=3","gravatar_id":"","url":"https://api.github.com/users/masato25","html_url":"https://github.com/masato25","followers_url":"https://api.github.com/users/masato25/followers","following_url":"https://api.github.com/users/masato25/following{/other_user}","gists_url":"https://api.github.com/users/masato25/gists{/gist_id}","starred_url":"https://api.github.com/users/masato25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masato25/subscriptions","organizations_url":"https://api.github.com/users/masato25/orgs","repos_url":"https://api.github.com/users/masato25/repos","events_url":"https://api.github.com/users/masato25/events{/privacy}","received_events_url":"https://api.github.com/users/masato25/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/masato25/alarm","description":"告警信息处理组件","fork":true,"url":"https://api.github.com/repos/masato25/alarm","forks_url":"https://api.github.com/repos/masato25/alarm/forks","keys_url":"https://api.github.com/repos/masato25/alarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/masato25/alarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/masato25/alarm/teams","hooks_url":"https://api.github.com/repos/masato25/alarm/hooks","issue_events_url":"https://api.github.com/repos/masato25/alarm/issues/events{/number}","events_url":"https://api.github.com/repos/masato25/alarm/events","assignees_url":"https://api.github.com/repos/masato25/alarm/assignees{/user}","branches_url":"https://api.github.com/repos/masato25/alarm/branches{/branch}","tags_url":"https://api.github.com/repos/masato25/alarm/tags","blobs_url":"https://api.github.com/repos/masato25/alarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/masato25/alarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/masato25/alarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/masato25/alarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/masato25/alarm/statuses/{sha}","languages_url":"https://api.github.com/repos/masato25/alarm/languages","stargazers_url":"https://api.github.com/repos/masato25/alarm/stargazers","contributors_url":"https://api.github.com/repos/masato25/alarm/contributors","subscribers_url":"https://api.github.com/repos/masato25/alarm/subscribers","subscription_url":"https://api.github.com/repos/masato25/alarm/subscription","commits_url":"https://api.github.com/repos/masato25/alarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/masato25/alarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/masato25/alarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/masato25/alarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/masato25/alarm/contents/{+path}","compare_url":"https://api.github.com/repos/masato25/alarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/masato25/alarm/merges","archive_url":"https://api.github.com/repos/masato25/alarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/masato25/alarm/downloads","issues_url":"https://api.github.com/repos/masato25/alarm/issues{/number}","pulls_url":"https://api.github.com/repos/masato25/alarm/pulls{/number}","milestones_url":"https://api.github.com/repos/masato25/alarm/milestones{/number}","notifications_url":"https://api.github.com/repos/masato25/alarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/masato25/alarm/labels{/name}","releases_url":"https://api.github.com/repos/masato25/alarm/releases{/id}","deployments_url":"https://api.github.com/repos/masato25/alarm/deployments","created_at":"2016-03-09T13:42:00Z","updated_at":"2016-03-09T13:54:20Z","pushed_at":"2016-03-09T13:54:19Z","git_url":"git://github.com/masato25/alarm.git","ssh_url":"git@github.com:masato25/alarm.git","clone_url":"https://github.com/masato25/alarm.git","svn_url":"https://github.com/masato25/alarm","homepage":null,"size":1420,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Cepave:develop","ref":"develop","sha":"39bf70d66c74500880c87bbbbd930f18c8a7bf80","user":{"login":"Cepave","id":12696914,"avatar_url":"https://avatars.githubusercontent.com/u/12696914?v=3","gravatar_id":"","url":"https://api.github.com/users/Cepave","html_url":"https://github.com/Cepave","followers_url":"https://api.github.com/users/Cepave/followers","following_url":"https://api.github.com/users/Cepave/following{/other_user}","gists_url":"https://api.github.com/users/Cepave/gists{/gist_id}","starred_url":"https://api.github.com/users/Cepave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cepave/subscriptions","organizations_url":"https://api.github.com/users/Cepave/orgs","repos_url":"https://api.github.com/users/Cepave/repos","events_url":"https://api.github.com/users/Cepave/events{/privacy}","received_events_url":"https://api.github.com/users/Cepave/received_events","type":"Organization","site_admin":false},"repo":{"id":36662963,"name":"alarm","full_name":"Cepave/alarm","owner":{"login":"Cepave","id":12696914,"avatar_url":"https://avatars.githubusercontent.com/u/12696914?v=3","gravatar_id":"","url":"https://api.github.com/users/Cepave","html_url":"https://github.com/Cepave","followers_url":"https://api.github.com/users/Cepave/followers","following_url":"https://api.github.com/users/Cepave/following{/other_user}","gists_url":"https://api.github.com/users/Cepave/gists{/gist_id}","starred_url":"https://api.github.com/users/Cepave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cepave/subscriptions","organizations_url":"https://api.github.com/users/Cepave/orgs","repos_url":"https://api.github.com/users/Cepave/repos","events_url":"https://api.github.com/users/Cepave/events{/privacy}","received_events_url":"https://api.github.com/users/Cepave/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cepave/alarm","description":"告警信息处理组件","fork":true,"url":"https://api.github.com/repos/Cepave/alarm","forks_url":"https://api.github.com/repos/Cepave/alarm/forks","keys_url":"https://api.github.com/repos/Cepave/alarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cepave/alarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cepave/alarm/teams","hooks_url":"https://api.github.com/repos/Cepave/alarm/hooks","issue_events_url":"https://api.github.com/repos/Cepave/alarm/issues/events{/number}","events_url":"https://api.github.com/repos/Cepave/alarm/events","assignees_url":"https://api.github.com/repos/Cepave/alarm/assignees{/user}","branches_url":"https://api.github.com/repos/Cepave/alarm/branches{/branch}","tags_url":"https://api.github.com/repos/Cepave/alarm/tags","blobs_url":"https://api.github.com/repos/Cepave/alarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cepave/alarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cepave/alarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cepave/alarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cepave/alarm/statuses/{sha}","languages_url":"https://api.github.com/repos/Cepave/alarm/languages","stargazers_url":"https://api.github.com/repos/Cepave/alarm/stargazers","contributors_url":"https://api.github.com/repos/Cepave/alarm/contributors","subscribers_url":"https://api.github.com/repos/Cepave/alarm/subscribers","subscription_url":"https://api.github.com/repos/Cepave/alarm/subscription","commits_url":"https://api.github.com/repos/Cepave/alarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cepave/alarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cepave/alarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cepave/alarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cepave/alarm/contents/{+path}","compare_url":"https://api.github.com/repos/Cepave/alarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cepave/alarm/merges","archive_url":"https://api.github.com/repos/Cepave/alarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cepave/alarm/downloads","issues_url":"https://api.github.com/repos/Cepave/alarm/issues{/number}","pulls_url":"https://api.github.com/repos/Cepave/alarm/pulls{/number}","milestones_url":"https://api.github.com/repos/Cepave/alarm/milestones{/number}","notifications_url":"https://api.github.com/repos/Cepave/alarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cepave/alarm/labels{/name}","releases_url":"https://api.github.com/repos/Cepave/alarm/releases{/id}","deployments_url":"https://api.github.com/repos/Cepave/alarm/deployments","created_at":"2015-06-01T13:37:18Z","updated_at":"2016-02-28T15:37:32Z","pushed_at":"2016-03-09T10:01:47Z","git_url":"git://github.com/Cepave/alarm.git","ssh_url":"git@github.com:Cepave/alarm.git","clone_url":"https://github.com/Cepave/alarm.git","svn_url":"https://github.com/Cepave/alarm","homepage":null,"size":1419,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Cepave/alarm/pulls/15"},"html":{"href":"https://github.com/Cepave/alarm/pull/15"},"issue":{"href":"https://api.github.com/repos/Cepave/alarm/issues/15"},"comments":{"href":"https://api.github.com/repos/Cepave/alarm/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Cepave/alarm/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Cepave/alarm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cepave/alarm/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Cepave/alarm/statuses/e421cf4c3a3522f278cde39f75ae9a1e37599388"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":159,"deletions":65,"changed_files":10}}