{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/comments/54387195","id":54387195,"diff_hunk":"@@ -0,0 +1,32 @@\n+/*\n+ * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+ *\n+ * WSO2 Inc. licenses this file to you under the Apache License,\n+ * Version 2.0 (the \"License\"); you may not use this file except\n+ * in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing,\n+ * software distributed under the License is distributed on an\n+ * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+ * KIND, either express or implied. See the License for the\n+ * specific language governing permissions and limitations\n+ * under the License.\n+ */\n+\n+function onRequest(context){\n+    context.handlebars.registerHelper('equal', function (lvalue, rvalue, options) {\n+        if (arguments.length < 3)\n+            throw new Error(\"Handlebars Helper equal needs 2 parameters\");\n+        if( lvalue!=rvalue ) {","path":"features/cdmf-base-ui/org.wso2.carbon.devicemgt.ui.feature/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.policy.create.wizard/wizard.js","position":23,"original_position":23,"commit_id":"086bfef660e0026e56881f9d207817eec242c9dc","original_commit_id":"086bfef660e0026e56881f9d207817eec242c9dc","user":{"login":"harshanL","id":6368301,"avatar_url":"https://avatars.githubusercontent.com/u/6368301?v=3","gravatar_id":"","url":"https://api.github.com/users/harshanL","html_url":"https://github.com/harshanL","followers_url":"https://api.github.com/users/harshanL/followers","following_url":"https://api.github.com/users/harshanL/following{/other_user}","gists_url":"https://api.github.com/users/harshanL/gists{/gist_id}","starred_url":"https://api.github.com/users/harshanL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshanL/subscriptions","organizations_url":"https://api.github.com/users/harshanL/orgs","repos_url":"https://api.github.com/users/harshanL/repos","events_url":"https://api.github.com/users/harshanL/events{/privacy}","received_events_url":"https://api.github.com/users/harshanL/received_events","type":"User","site_admin":false},"body":"Fix formatting issues.","created_at":"2016-02-29T09:43:50Z","updated_at":"2016-02-29T09:43:50Z","html_url":"https://github.com/wso2/carbon-device-mgt/pull/123#discussion_r54387195","pull_request_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/comments/54387195"},"html":{"href":"https://github.com/wso2/carbon-device-mgt/pull/123#discussion_r54387195"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/123","id":54444249,"html_url":"https://github.com/wso2/carbon-device-mgt/pull/123","diff_url":"https://github.com/wso2/carbon-device-mgt/pull/123.diff","patch_url":"https://github.com/wso2/carbon-device-mgt/pull/123.patch","issue_url":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/123","number":123,"state":"closed","locked":false,"title":"Update policy section","user":{"login":"charithag","id":3184302,"avatar_url":"https://avatars.githubusercontent.com/u/3184302?v=3","gravatar_id":"","url":"https://api.github.com/users/charithag","html_url":"https://github.com/charithag","followers_url":"https://api.github.com/users/charithag/followers","following_url":"https://api.github.com/users/charithag/following{/other_user}","gists_url":"https://api.github.com/users/charithag/gists{/gist_id}","starred_url":"https://api.github.com/users/charithag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charithag/subscriptions","organizations_url":"https://api.github.com/users/charithag/orgs","repos_url":"https://api.github.com/users/charithag/repos","events_url":"https://api.github.com/users/charithag/events{/privacy}","received_events_url":"https://api.github.com/users/charithag/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-23T06:54:49Z","updated_at":"2016-02-29T09:43:50Z","closed_at":"2015-12-23T06:55:36Z","merged_at":"2015-12-23T06:55:36Z","merge_commit_sha":"f1b24448444686346a6f23be9b35f32a42b21c88","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/123/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/123/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/123/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-device-mgt/statuses/086bfef660e0026e56881f9d207817eec242c9dc","head":{"label":"charithag:IoTS-1.0.0-M1","ref":"IoTS-1.0.0-M1","sha":"086bfef660e0026e56881f9d207817eec242c9dc","user":{"login":"charithag","id":3184302,"avatar_url":"https://avatars.githubusercontent.com/u/3184302?v=3","gravatar_id":"","url":"https://api.github.com/users/charithag","html_url":"https://github.com/charithag","followers_url":"https://api.github.com/users/charithag/followers","following_url":"https://api.github.com/users/charithag/following{/other_user}","gists_url":"https://api.github.com/users/charithag/gists{/gist_id}","starred_url":"https://api.github.com/users/charithag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charithag/subscriptions","organizations_url":"https://api.github.com/users/charithag/orgs","repos_url":"https://api.github.com/users/charithag/repos","events_url":"https://api.github.com/users/charithag/events{/privacy}","received_events_url":"https://api.github.com/users/charithag/received_events","type":"User","site_admin":false},"repo":{"id":37982951,"name":"carbon-device-mgt","full_name":"charithag/carbon-device-mgt","owner":{"login":"charithag","id":3184302,"avatar_url":"https://avatars.githubusercontent.com/u/3184302?v=3","gravatar_id":"","url":"https://api.github.com/users/charithag","html_url":"https://github.com/charithag","followers_url":"https://api.github.com/users/charithag/followers","following_url":"https://api.github.com/users/charithag/following{/other_user}","gists_url":"https://api.github.com/users/charithag/gists{/gist_id}","starred_url":"https://api.github.com/users/charithag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charithag/subscriptions","organizations_url":"https://api.github.com/users/charithag/orgs","repos_url":"https://api.github.com/users/charithag/repos","events_url":"https://api.github.com/users/charithag/events{/privacy}","received_events_url":"https://api.github.com/users/charithag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charithag/carbon-device-mgt","description":"","fork":true,"url":"https://api.github.com/repos/charithag/carbon-device-mgt","forks_url":"https://api.github.com/repos/charithag/carbon-device-mgt/forks","keys_url":"https://api.github.com/repos/charithag/carbon-device-mgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charithag/carbon-device-mgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charithag/carbon-device-mgt/teams","hooks_url":"https://api.github.com/repos/charithag/carbon-device-mgt/hooks","issue_events_url":"https://api.github.com/repos/charithag/carbon-device-mgt/issues/events{/number}","events_url":"https://api.github.com/repos/charithag/carbon-device-mgt/events","assignees_url":"https://api.github.com/repos/charithag/carbon-device-mgt/assignees{/user}","branches_url":"https://api.github.com/repos/charithag/carbon-device-mgt/branches{/branch}","tags_url":"https://api.github.com/repos/charithag/carbon-device-mgt/tags","blobs_url":"https://api.github.com/repos/charithag/carbon-device-mgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charithag/carbon-device-mgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charithag/carbon-device-mgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/charithag/carbon-device-mgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charithag/carbon-device-mgt/statuses/{sha}","languages_url":"https://api.github.com/repos/charithag/carbon-device-mgt/languages","stargazers_url":"https://api.github.com/repos/charithag/carbon-device-mgt/stargazers","contributors_url":"https://api.github.com/repos/charithag/carbon-device-mgt/contributors","subscribers_url":"https://api.github.com/repos/charithag/carbon-device-mgt/subscribers","subscription_url":"https://api.github.com/repos/charithag/carbon-device-mgt/subscription","commits_url":"https://api.github.com/repos/charithag/carbon-device-mgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/charithag/carbon-device-mgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/charithag/carbon-device-mgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/charithag/carbon-device-mgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/charithag/carbon-device-mgt/contents/{+path}","compare_url":"https://api.github.com/repos/charithag/carbon-device-mgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charithag/carbon-device-mgt/merges","archive_url":"https://api.github.com/repos/charithag/carbon-device-mgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charithag/carbon-device-mgt/downloads","issues_url":"https://api.github.com/repos/charithag/carbon-device-mgt/issues{/number}","pulls_url":"https://api.github.com/repos/charithag/carbon-device-mgt/pulls{/number}","milestones_url":"https://api.github.com/repos/charithag/carbon-device-mgt/milestones{/number}","notifications_url":"https://api.github.com/repos/charithag/carbon-device-mgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charithag/carbon-device-mgt/labels{/name}","releases_url":"https://api.github.com/repos/charithag/carbon-device-mgt/releases{/id}","deployments_url":"https://api.github.com/repos/charithag/carbon-device-mgt/deployments","created_at":"2015-06-24T12:26:23Z","updated_at":"2015-06-24T12:26:24Z","pushed_at":"2016-02-25T12:48:24Z","git_url":"git://github.com/charithag/carbon-device-mgt.git","ssh_url":"git@github.com:charithag/carbon-device-mgt.git","clone_url":"https://github.com/charithag/carbon-device-mgt.git","svn_url":"https://github.com/charithag/carbon-device-mgt","homepage":null,"size":21630,"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:IoTS-1.0.0-M1","ref":"IoTS-1.0.0-M1","sha":"8650055390ed38c317f2a2f60edf89e6a5625dbf","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}","deployments_url":"https://api.github.com/repos/wso2/carbon-device-mgt/deployments","created_at":"2015-02-09T06:11:38Z","updated_at":"2016-01-28T13:41:34Z","pushed_at":"2016-02-29T07:33:39Z","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":21676,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":2,"forks":26,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/123"},"html":{"href":"https://github.com/wso2/carbon-device-mgt/pull/123"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/123"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/pulls/123/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/123/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt/statuses/086bfef660e0026e56881f9d207817eec242c9dc"}}}}