GitHub PullRequestEvent at 2014-09-19 12:33:31
Repository: carbon-governance
Actor: denuwanthi
Payload: {"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/19","id":21494581,"html_url":"https://github.com/wso2-dev/carbon-governance/pull/19","diff_url":"https://github.com/wso2-dev/carbon-governance/pull/19.diff","patch_url":"https://github.com/wso2-dev/carbon-governance/pull/19.patch","issue_url":"https://api.github.com/repos/wso2-dev/carbon-governance/issues/19","number":19,"state":"open","locked":false,"title":"Fix for Jira:https://wso2.org/jira/browse/REGISTRY-2296","user":{"login":"denuwanthi","id":1377917,"avatar_url":"https://avatars.githubusercontent.com/u/1377917?v=2","gravatar_id":"253e33c27f61e666bdf98633a2e8e5e5","url":"https://api.github.com/users/denuwanthi","html_url":"https://github.com/denuwanthi","followers_url":"https://api.github.com/users/denuwanthi/followers","following_url":"https://api.github.com/users/denuwanthi/following{/other_user}","gists_url":"https://api.github.com/users/denuwanthi/gists{/gist_id}","starred_url":"https://api.github.com/users/denuwanthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denuwanthi/subscriptions","organizations_url":"https://api.github.com/users/denuwanthi/orgs","repos_url":"https://api.github.com/users/denuwanthi/repos","events_url":"https://api.github.com/users/denuwanthi/events{/privacy}","received_events_url":"https://api.github.com/users/denuwanthi/received_events","type":"User","site_admin":false},"body":"Earlier, two email notifications were sent to each LC state update [1].\r\nIt was due to making two registry puts. \r\nEarlier the logic for persisting the old resource was incorrect. It put the resource to the registry only if the new path & old resource path are same. But, it should be other way around. An old resource should be persisted if the new & old paths are different.\r\nThen, finally there is a seperate registry put for new resource path.\r\n\r\n[1]https://wso2.org/jira/browse/REGISTRY-2296","created_at":"2014-09-19T12:33:31Z","updated_at":"2014-09-19T12:33:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/19/commits","review_comments_url":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/19/comments","review_comment_url":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wso2-dev/carbon-governance/issues/19/comments","statuses_url":"https://api.github.com/repos/wso2-dev/carbon-governance/statuses/e9636e0057963cc4d7c132df68735d3af37c704d","head":{"label":"denuwanthi:master","ref":"master","sha":"e9636e0057963cc4d7c132df68735d3af37c704d","user":{"login":"denuwanthi","id":1377917,"avatar_url":"https://avatars.githubusercontent.com/u/1377917?v=2","gravatar_id":"253e33c27f61e666bdf98633a2e8e5e5","url":"https://api.github.com/users/denuwanthi","html_url":"https://github.com/denuwanthi","followers_url":"https://api.github.com/users/denuwanthi/followers","following_url":"https://api.github.com/users/denuwanthi/following{/other_user}","gists_url":"https://api.github.com/users/denuwanthi/gists{/gist_id}","starred_url":"https://api.github.com/users/denuwanthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denuwanthi/subscriptions","organizations_url":"https://api.github.com/users/denuwanthi/orgs","repos_url":"https://api.github.com/users/denuwanthi/repos","events_url":"https://api.github.com/users/denuwanthi/events{/privacy}","received_events_url":"https://api.github.com/users/denuwanthi/received_events","type":"User","site_admin":false},"repo":{"id":22913659,"name":"carbon-governance","full_name":"denuwanthi/carbon-governance","owner":{"login":"denuwanthi","id":1377917,"avatar_url":"https://avatars.githubusercontent.com/u/1377917?v=2","gravatar_id":"253e33c27f61e666bdf98633a2e8e5e5","url":"https://api.github.com/users/denuwanthi","html_url":"https://github.com/denuwanthi","followers_url":"https://api.github.com/users/denuwanthi/followers","following_url":"https://api.github.com/users/denuwanthi/following{/other_user}","gists_url":"https://api.github.com/users/denuwanthi/gists{/gist_id}","starred_url":"https://api.github.com/users/denuwanthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denuwanthi/subscriptions","organizations_url":"https://api.github.com/users/denuwanthi/orgs","repos_url":"https://api.github.com/users/denuwanthi/repos","events_url":"https://api.github.com/users/denuwanthi/events{/privacy}","received_events_url":"https://api.github.com/users/denuwanthi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denuwanthi/carbon-governance","description":"","fork":true,"url":"https://api.github.com/repos/denuwanthi/carbon-governance","forks_url":"https://api.github.com/repos/denuwanthi/carbon-governance/forks","keys_url":"https://api.github.com/repos/denuwanthi/carbon-governance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denuwanthi/carbon-governance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denuwanthi/carbon-governance/teams","hooks_url":"https://api.github.com/repos/denuwanthi/carbon-governance/hooks","issue_events_url":"https://api.github.com/repos/denuwanthi/carbon-governance/issues/events{/number}","events_url":"https://api.github.com/repos/denuwanthi/carbon-governance/events","assignees_url":"https://api.github.com/repos/denuwanthi/carbon-governance/assignees{/user}","branches_url":"https://api.github.com/repos/denuwanthi/carbon-governance/branches{/branch}","tags_url":"https://api.github.com/repos/denuwanthi/carbon-governance/tags","blobs_url":"https://api.github.com/repos/denuwanthi/carbon-governance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denuwanthi/carbon-governance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denuwanthi/carbon-governance/git/refs{/sha}","trees_url":"https://api.github.com/repos/denuwanthi/carbon-governance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denuwanthi/carbon-governance/statuses/{sha}","languages_url":"https://api.github.com/repos/denuwanthi/carbon-governance/languages","stargazers_url":"https://api.github.com/repos/denuwanthi/carbon-governance/stargazers","contributors_url":"https://api.github.com/repos/denuwanthi/carbon-governance/contributors","subscribers_url":"https://api.github.com/repos/denuwanthi/carbon-governance/subscribers","subscription_url":"https://api.github.com/repos/denuwanthi/carbon-governance/subscription","commits_url":"https://api.github.com/repos/denuwanthi/carbon-governance/commits{/sha}","git_commits_url":"https://api.github.com/repos/denuwanthi/carbon-governance/git/commits{/sha}","comments_url":"https://api.github.com/repos/denuwanthi/carbon-governance/comments{/number}","issue_comment_url":"https://api.github.com/repos/denuwanthi/carbon-governance/issues/comments/{number}","contents_url":"https://api.github.com/repos/denuwanthi/carbon-governance/contents/{+path}","compare_url":"https://api.github.com/repos/denuwanthi/carbon-governance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denuwanthi/carbon-governance/merges","archive_url":"https://api.github.com/repos/denuwanthi/carbon-governance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denuwanthi/carbon-governance/downloads","issues_url":"https://api.github.com/repos/denuwanthi/carbon-governance/issues{/number}","pulls_url":"https://api.github.com/repos/denuwanthi/carbon-governance/pulls{/number}","milestones_url":"https://api.github.com/repos/denuwanthi/carbon-governance/milestones{/number}","notifications_url":"https://api.github.com/repos/denuwanthi/carbon-governance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denuwanthi/carbon-governance/labels{/name}","releases_url":"https://api.github.com/repos/denuwanthi/carbon-governance/releases{/id}","created_at":"2014-08-13T11:44:36Z","updated_at":"2014-08-29T11:11:33Z","pushed_at":"2014-09-19T12:28:00Z","git_url":"git://github.com/denuwanthi/carbon-governance.git","ssh_url":"git@github.com:denuwanthi/carbon-governance.git","clone_url":"https://github.com/denuwanthi/carbon-governance.git","svn_url":"https://github.com/denuwanthi/carbon-governance","homepage":null,"size":2104,"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-dev:master","ref":"master","sha":"900c96fe2d12e8c8745f9e84d0364a2b3d18dcf4","user":{"login":"wso2-dev","id":6744733,"avatar_url":"https://avatars.githubusercontent.com/u/6744733?v=2","gravatar_id":"ea752f67d10cb9e0cc0266abf6a8c54a","url":"https://api.github.com/users/wso2-dev","html_url":"https://github.com/wso2-dev","followers_url":"https://api.github.com/users/wso2-dev/followers","following_url":"https://api.github.com/users/wso2-dev/following{/other_user}","gists_url":"https://api.github.com/users/wso2-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-dev/subscriptions","organizations_url":"https://api.github.com/users/wso2-dev/orgs","repos_url":"https://api.github.com/users/wso2-dev/repos","events_url":"https://api.github.com/users/wso2-dev/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":17124360,"name":"carbon-governance","full_name":"wso2-dev/carbon-governance","owner":{"login":"wso2-dev","id":6744733,"avatar_url":"https://avatars.githubusercontent.com/u/6744733?v=2","gravatar_id":"ea752f67d10cb9e0cc0266abf6a8c54a","url":"https://api.github.com/users/wso2-dev","html_url":"https://github.com/wso2-dev","followers_url":"https://api.github.com/users/wso2-dev/followers","following_url":"https://api.github.com/users/wso2-dev/following{/other_user}","gists_url":"https://api.github.com/users/wso2-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-dev/subscriptions","organizations_url":"https://api.github.com/users/wso2-dev/orgs","repos_url":"https://api.github.com/users/wso2-dev/repos","events_url":"https://api.github.com/users/wso2-dev/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2-dev/carbon-governance","description":"","fork":true,"url":"https://api.github.com/repos/wso2-dev/carbon-governance","forks_url":"https://api.github.com/repos/wso2-dev/carbon-governance/forks","keys_url":"https://api.github.com/repos/wso2-dev/carbon-governance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2-dev/carbon-governance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2-dev/carbon-governance/teams","hooks_url":"https://api.github.com/repos/wso2-dev/carbon-governance/hooks","issue_events_url":"https://api.github.com/repos/wso2-dev/carbon-governance/issues/events{/number}","events_url":"https://api.github.com/repos/wso2-dev/carbon-governance/events","assignees_url":"https://api.github.com/repos/wso2-dev/carbon-governance/assignees{/user}","branches_url":"https://api.github.com/repos/wso2-dev/carbon-governance/branches{/branch}","tags_url":"https://api.github.com/repos/wso2-dev/carbon-governance/tags","blobs_url":"https://api.github.com/repos/wso2-dev/carbon-governance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2-dev/carbon-governance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2-dev/carbon-governance/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2-dev/carbon-governance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2-dev/carbon-governance/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2-dev/carbon-governance/languages","stargazers_url":"https://api.github.com/repos/wso2-dev/carbon-governance/stargazers","contributors_url":"https://api.github.com/repos/wso2-dev/carbon-governance/contributors","subscribers_url":"https://api.github.com/repos/wso2-dev/carbon-governance/subscribers","subscription_url":"https://api.github.com/repos/wso2-dev/carbon-governance/subscription","commits_url":"https://api.github.com/repos/wso2-dev/carbon-governance/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2-dev/carbon-governance/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2-dev/carbon-governance/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2-dev/carbon-governance/issues/comments/{number}","contents_url":"https://api.github.com/repos/wso2-dev/carbon-governance/contents/{+path}","compare_url":"https://api.github.com/repos/wso2-dev/carbon-governance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2-dev/carbon-governance/merges","archive_url":"https://api.github.com/repos/wso2-dev/carbon-governance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2-dev/carbon-governance/downloads","issues_url":"https://api.github.com/repos/wso2-dev/carbon-governance/issues{/number}","pulls_url":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2-dev/carbon-governance/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2-dev/carbon-governance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2-dev/carbon-governance/labels{/name}","releases_url":"https://api.github.com/repos/wso2-dev/carbon-governance/releases{/id}","created_at":"2014-02-24T03:36:07Z","updated_at":"2014-06-26T09:43:25Z","pushed_at":"2014-09-19T06:42:45Z","git_url":"git://github.com/wso2-dev/carbon-governance.git","ssh_url":"git@github.com:wso2-dev/carbon-governance.git","clone_url":"https://github.com/wso2-dev/carbon-governance.git","svn_url":"https://github.com/wso2-dev/carbon-governance","homepage":null,"size":2547,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/19"},"html":{"href":"https://github.com/wso2-dev/carbon-governance/pull/19"},"issue":{"href":"https://api.github.com/repos/wso2-dev/carbon-governance/issues/19"},"comments":{"href":"https://api.github.com/repos/wso2-dev/carbon-governance/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wso2-dev/carbon-governance/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/wso2-dev/carbon-governance/statuses/e9636e0057963cc4d7c132df68735d3af37c704d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}