{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/comments/37756805","id":37756805,"diff_hunk":"@@ -75,6 +63,20 @@ CREATE TABLE IF NOT EXISTS DM_ENROLMENT (\n     CONSTRAINT fk_dm_device_enrolment FOREIGN KEY (DEVICE_ID) REFERENCES\n     DM_DEVICE (ID) ON DELETE NO ACTION ON UPDATE NO ACTION\n );\n+\n+CREATE TABLE IF NOT EXISTS DM_ENROLMENT_OPERATION_MAPPING (","path":"components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/sql/h2.sql","position":24,"original_position":24,"commit_id":"256880089e01d15aa9fc23cd01d8f4a7d1d2b419","original_commit_id":"256880089e01d15aa9fc23cd01d8f4a7d1d2b419","user":{"login":"DilanUA","id":8347682,"avatar_url":"https://avatars.githubusercontent.com/u/8347682?v=3","gravatar_id":"","url":"https://api.github.com/users/DilanUA","html_url":"https://github.com/DilanUA","followers_url":"https://api.github.com/users/DilanUA/followers","following_url":"https://api.github.com/users/DilanUA/following{/other_user}","gists_url":"https://api.github.com/users/DilanUA/gists{/gist_id}","starred_url":"https://api.github.com/users/DilanUA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DilanUA/subscriptions","organizations_url":"https://api.github.com/users/DilanUA/orgs","repos_url":"https://api.github.com/users/DilanUA/repos","events_url":"https://api.github.com/users/DilanUA/events{/privacy}","received_events_url":"https://api.github.com/users/DilanUA/received_events","type":"User","site_admin":false},"body":"spelling mistake on DM_ENROLMENT_OPERATION_MAPPING, ENROLMENT should be ENROLLMENT","created_at":"2015-08-24T14:29:32Z","updated_at":"2015-08-24T14:29:32Z","html_url":"https://github.com/wso2/carbon-device-mgt/pull/21#discussion_r37756805","pull_request_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/comments/37756805"},"html":{"href":"https://github.com/wso2/carbon-device-mgt/pull/21#discussion_r37756805"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21","id":40872721,"html_url":"https://github.com/wso2/carbon-device-mgt/pull/21","diff_url":"https://github.com/wso2/carbon-device-mgt/pull/21.diff","patch_url":"https://github.com/wso2/carbon-device-mgt/pull/21.patch","issue_url":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/21","number":21,"state":"closed","locked":false,"title":"Added enrolment-operation mapping and refactored policy monitoring","user":{"login":"milanperera","id":11870191,"avatar_url":"https://avatars.githubusercontent.com/u/11870191?v=3","gravatar_id":"","url":"https://api.github.com/users/milanperera","html_url":"https://github.com/milanperera","followers_url":"https://api.github.com/users/milanperera/followers","following_url":"https://api.github.com/users/milanperera/following{/other_user}","gists_url":"https://api.github.com/users/milanperera/gists{/gist_id}","starred_url":"https://api.github.com/users/milanperera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milanperera/subscriptions","organizations_url":"https://api.github.com/users/milanperera/orgs","repos_url":"https://api.github.com/users/milanperera/repos","events_url":"https://api.github.com/users/milanperera/events{/privacy}","received_events_url":"https://api.github.com/users/milanperera/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-27T06:04:05Z","updated_at":"2015-08-24T14:29:33Z","closed_at":"2015-07-27T06:45:03Z","merged_at":"2015-07-27T06:45:03Z","merge_commit_sha":"750e804b24207e661487c13278e07dc2e9c94ea5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/21/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-device-mgt/statuses/256880089e01d15aa9fc23cd01d8f4a7d1d2b419","head":{"label":"milanperera:master","ref":"master","sha":"256880089e01d15aa9fc23cd01d8f4a7d1d2b419","user":{"login":"milanperera","id":11870191,"avatar_url":"https://avatars.githubusercontent.com/u/11870191?v=3","gravatar_id":"","url":"https://api.github.com/users/milanperera","html_url":"https://github.com/milanperera","followers_url":"https://api.github.com/users/milanperera/followers","following_url":"https://api.github.com/users/milanperera/following{/other_user}","gists_url":"https://api.github.com/users/milanperera/gists{/gist_id}","starred_url":"https://api.github.com/users/milanperera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milanperera/subscriptions","organizations_url":"https://api.github.com/users/milanperera/orgs","repos_url":"https://api.github.com/users/milanperera/repos","events_url":"https://api.github.com/users/milanperera/events{/privacy}","received_events_url":"https://api.github.com/users/milanperera/received_events","type":"User","site_admin":false},"repo":{"id":34834971,"name":"carbon-device-mgt","full_name":"milanperera/carbon-device-mgt","owner":{"login":"milanperera","id":11870191,"avatar_url":"https://avatars.githubusercontent.com/u/11870191?v=3","gravatar_id":"","url":"https://api.github.com/users/milanperera","html_url":"https://github.com/milanperera","followers_url":"https://api.github.com/users/milanperera/followers","following_url":"https://api.github.com/users/milanperera/following{/other_user}","gists_url":"https://api.github.com/users/milanperera/gists{/gist_id}","starred_url":"https://api.github.com/users/milanperera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milanperera/subscriptions","organizations_url":"https://api.github.com/users/milanperera/orgs","repos_url":"https://api.github.com/users/milanperera/repos","events_url":"https://api.github.com/users/milanperera/events{/privacy}","received_events_url":"https://api.github.com/users/milanperera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milanperera/carbon-device-mgt","description":"","fork":true,"url":"https://api.github.com/repos/milanperera/carbon-device-mgt","forks_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/forks","keys_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/teams","hooks_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/hooks","issue_events_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/issues/events{/number}","events_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/events","assignees_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/assignees{/user}","branches_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/branches{/branch}","tags_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/tags","blobs_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/statuses/{sha}","languages_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/languages","stargazers_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/stargazers","contributors_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/contributors","subscribers_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/subscribers","subscription_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/subscription","commits_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/contents/{+path}","compare_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/merges","archive_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/downloads","issues_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/issues{/number}","pulls_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/pulls{/number}","milestones_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/milestones{/number}","notifications_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/labels{/name}","releases_url":"https://api.github.com/repos/milanperera/carbon-device-mgt/releases{/id}","created_at":"2015-04-30T04:56:20Z","updated_at":"2015-05-08T12:45:12Z","pushed_at":"2015-08-21T23:45:40Z","git_url":"git://github.com/milanperera/carbon-device-mgt.git","ssh_url":"git@github.com:milanperera/carbon-device-mgt.git","clone_url":"https://github.com/milanperera/carbon-device-mgt.git","svn_url":"https://github.com/milanperera/carbon-device-mgt","homepage":null,"size":8178,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"b298407160e082e8fbff853875acc3c546a01fcf","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":30521489,"name":"carbon-device-mgt","full_name":"wso2/carbon-device-mgt","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-device-mgt","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-device-mgt","forks_url":"https://api.github.com/repos/wso2/carbon-device-mgt/forks","keys_url":"https://api.github.com/repos/wso2/carbon-device-mgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-device-mgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-device-mgt/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-device-mgt/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-device-mgt/events","assignees_url":"https://api.github.com/repos/wso2/carbon-device-mgt/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-device-mgt/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-device-mgt/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-device-mgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-device-mgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-device-mgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-device-mgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-device-mgt/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-device-mgt/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-device-mgt/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-device-mgt/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-device-mgt/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-device-mgt/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-device-mgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-device-mgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-device-mgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-device-mgt/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-device-mgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-device-mgt/merges","archive_url":"https://api.github.com/repos/wso2/carbon-device-mgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-device-mgt/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-device-mgt/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-device-mgt/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-device-mgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-device-mgt/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-device-mgt/releases{/id}","created_at":"2015-02-09T06:11:38Z","updated_at":"2015-05-07T11:02:45Z","pushed_at":"2015-08-24T05:34:54Z","git_url":"git://github.com/wso2/carbon-device-mgt.git","ssh_url":"git@github.com:wso2/carbon-device-mgt.git","clone_url":"https://github.com/wso2/carbon-device-mgt.git","svn_url":"https://github.com/wso2/carbon-device-mgt","homepage":null,"size":8768,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21"},"html":{"href":"https://github.com/wso2/carbon-device-mgt/pull/21"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/21"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/statuses/256880089e01d15aa9fc23cd01d8f4a7d1d2b419"}}}}