{"action":"closed","number":1888,"pull_request":{"url":"https://api.github.com/repos/dhis2/dhis2-core/pulls/1888","id":183723019,"html_url":"https://github.com/dhis2/dhis2-core/pull/1888","diff_url":"https://github.com/dhis2/dhis2-core/pull/1888.diff","patch_url":"https://github.com/dhis2/dhis2-core/pull/1888.patch","issue_url":"https://api.github.com/repos/dhis2/dhis2-core/issues/1888","number":1888,"state":"closed","locked":false,"title":"DHIS2-3074 - Node leader election in cluster","user":{"login":"ameenhere","id":1190589,"avatar_url":"https://avatars1.githubusercontent.com/u/1190589?v=4","gravatar_id":"","url":"https://api.github.com/users/ameenhere","html_url":"https://github.com/ameenhere","followers_url":"https://api.github.com/users/ameenhere/followers","following_url":"https://api.github.com/users/ameenhere/following{/other_user}","gists_url":"https://api.github.com/users/ameenhere/gists{/gist_id}","starred_url":"https://api.github.com/users/ameenhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameenhere/subscriptions","organizations_url":"https://api.github.com/users/ameenhere/orgs","repos_url":"https://api.github.com/users/ameenhere/repos","events_url":"https://api.github.com/users/ameenhere/events{/privacy}","received_events_url":"https://api.github.com/users/ameenhere/received_events","type":"User","site_admin":false},"body":"Uses redis to acquire a lock for leadership. The instance that has acquired lock is the leader. Jobconfiguration now has an additional column, a flag indicating whether the job has to be run in leader only or can be run any instance. ","created_at":"2018-04-24T12:43:19Z","updated_at":"2018-05-16T09:48:45Z","closed_at":"2018-05-16T09:48:45Z","merged_at":"2018-05-16T09:48:45Z","merge_commit_sha":"bae1e371c1d3666afaa9266e1665e9030ee22867","assignee":null,"assignees":[],"requested_reviewers":[{"login":"larshelge","id":908206,"avatar_url":"https://avatars1.githubusercontent.com/u/908206?v=4","gravatar_id":"","url":"https://api.github.com/users/larshelge","html_url":"https://github.com/larshelge","followers_url":"https://api.github.com/users/larshelge/followers","following_url":"https://api.github.com/users/larshelge/following{/other_user}","gists_url":"https://api.github.com/users/larshelge/gists{/gist_id}","starred_url":"https://api.github.com/users/larshelge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larshelge/subscriptions","organizations_url":"https://api.github.com/users/larshelge/orgs","repos_url":"https://api.github.com/users/larshelge/repos","events_url":"https://api.github.com/users/larshelge/events{/privacy}","received_events_url":"https://api.github.com/users/larshelge/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dhis2/dhis2-core/pulls/1888/commits","review_comments_url":"https://api.github.com/repos/dhis2/dhis2-core/pulls/1888/comments","review_comment_url":"https://api.github.com/repos/dhis2/dhis2-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dhis2/dhis2-core/issues/1888/comments","statuses_url":"https://api.github.com/repos/dhis2/dhis2-core/statuses/3b667b7a3b40db734fa5f6772e436170aa43fa5b","head":{"label":"dhis2:DHIS2-3074","ref":"DHIS2-3074","sha":"3b667b7a3b40db734fa5f6772e436170aa43fa5b","user":{"login":"dhis2","id":1089987,"avatar_url":"https://avatars2.githubusercontent.com/u/1089987?v=4","gravatar_id":"","url":"https://api.github.com/users/dhis2","html_url":"https://github.com/dhis2","followers_url":"https://api.github.com/users/dhis2/followers","following_url":"https://api.github.com/users/dhis2/following{/other_user}","gists_url":"https://api.github.com/users/dhis2/gists{/gist_id}","starred_url":"https://api.github.com/users/dhis2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhis2/subscriptions","organizations_url":"https://api.github.com/users/dhis2/orgs","repos_url":"https://api.github.com/users/dhis2/repos","events_url":"https://api.github.com/users/dhis2/events{/privacy}","received_events_url":"https://api.github.com/users/dhis2/received_events","type":"Organization","site_admin":false},"repo":{"id":66940520,"name":"dhis2-core","full_name":"dhis2/dhis2-core","owner":{"login":"dhis2","id":1089987,"avatar_url":"https://avatars2.githubusercontent.com/u/1089987?v=4","gravatar_id":"","url":"https://api.github.com/users/dhis2","html_url":"https://github.com/dhis2","followers_url":"https://api.github.com/users/dhis2/followers","following_url":"https://api.github.com/users/dhis2/following{/other_user}","gists_url":"https://api.github.com/users/dhis2/gists{/gist_id}","starred_url":"https://api.github.com/users/dhis2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhis2/subscriptions","organizations_url":"https://api.github.com/users/dhis2/orgs","repos_url":"https://api.github.com/users/dhis2/repos","events_url":"https://api.github.com/users/dhis2/events{/privacy}","received_events_url":"https://api.github.com/users/dhis2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dhis2/dhis2-core","description":"DHIS 2 Core. Written in Java. Contains the service layer and Web API.","fork":false,"url":"https://api.github.com/repos/dhis2/dhis2-core","forks_url":"https://api.github.com/repos/dhis2/dhis2-core/forks","keys_url":"https://api.github.com/repos/dhis2/dhis2-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhis2/dhis2-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhis2/dhis2-core/teams","hooks_url":"https://api.github.com/repos/dhis2/dhis2-core/hooks","issue_events_url":"https://api.github.com/repos/dhis2/dhis2-core/issues/events{/number}","events_url":"https://api.github.com/repos/dhis2/dhis2-core/events","assignees_url":"https://api.github.com/repos/dhis2/dhis2-core/assignees{/user}","branches_url":"https://api.github.com/repos/dhis2/dhis2-core/branches{/branch}","tags_url":"https://api.github.com/repos/dhis2/dhis2-core/tags","blobs_url":"https://api.github.com/repos/dhis2/dhis2-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhis2/dhis2-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhis2/dhis2-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhis2/dhis2-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhis2/dhis2-core/statuses/{sha}","languages_url":"https://api.github.com/repos/dhis2/dhis2-core/languages","stargazers_url":"https://api.github.com/repos/dhis2/dhis2-core/stargazers","contributors_url":"https://api.github.com/repos/dhis2/dhis2-core/contributors","subscribers_url":"https://api.github.com/repos/dhis2/dhis2-core/subscribers","subscription_url":"https://api.github.com/repos/dhis2/dhis2-core/subscription","commits_url":"https://api.github.com/repos/dhis2/dhis2-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhis2/dhis2-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhis2/dhis2-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhis2/dhis2-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhis2/dhis2-core/contents/{+path}","compare_url":"https://api.github.com/repos/dhis2/dhis2-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhis2/dhis2-core/merges","archive_url":"https://api.github.com/repos/dhis2/dhis2-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhis2/dhis2-core/downloads","issues_url":"https://api.github.com/repos/dhis2/dhis2-core/issues{/number}","pulls_url":"https://api.github.com/repos/dhis2/dhis2-core/pulls{/number}","milestones_url":"https://api.github.com/repos/dhis2/dhis2-core/milestones{/number}","notifications_url":"https://api.github.com/repos/dhis2/dhis2-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhis2/dhis2-core/labels{/name}","releases_url":"https://api.github.com/repos/dhis2/dhis2-core/releases{/id}","deployments_url":"https://api.github.com/repos/dhis2/dhis2-core/deployments","created_at":"2016-08-30T12:57:05Z","updated_at":"2018-05-16T09:37:59Z","pushed_at":"2018-05-16T09:48:45Z","git_url":"git://github.com/dhis2/dhis2-core.git","ssh_url":"git@github.com:dhis2/dhis2-core.git","clone_url":"https://github.com/dhis2/dhis2-core.git","svn_url":"https://github.com/dhis2/dhis2-core","homepage":"","size":39822,"stargazers_count":77,"watchers_count":77,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":85,"open_issues":18,"watchers":77,"default_branch":"master"}},"base":{"label":"dhis2:master","ref":"master","sha":"d5ad18403ec69a9d07d4a0f0bb3eae64537a8f86","user":{"login":"dhis2","id":1089987,"avatar_url":"https://avatars2.githubusercontent.com/u/1089987?v=4","gravatar_id":"","url":"https://api.github.com/users/dhis2","html_url":"https://github.com/dhis2","followers_url":"https://api.github.com/users/dhis2/followers","following_url":"https://api.github.com/users/dhis2/following{/other_user}","gists_url":"https://api.github.com/users/dhis2/gists{/gist_id}","starred_url":"https://api.github.com/users/dhis2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhis2/subscriptions","organizations_url":"https://api.github.com/users/dhis2/orgs","repos_url":"https://api.github.com/users/dhis2/repos","events_url":"https://api.github.com/users/dhis2/events{/privacy}","received_events_url":"https://api.github.com/users/dhis2/received_events","type":"Organization","site_admin":false},"repo":{"id":66940520,"name":"dhis2-core","full_name":"dhis2/dhis2-core","owner":{"login":"dhis2","id":1089987,"avatar_url":"https://avatars2.githubusercontent.com/u/1089987?v=4","gravatar_id":"","url":"https://api.github.com/users/dhis2","html_url":"https://github.com/dhis2","followers_url":"https://api.github.com/users/dhis2/followers","following_url":"https://api.github.com/users/dhis2/following{/other_user}","gists_url":"https://api.github.com/users/dhis2/gists{/gist_id}","starred_url":"https://api.github.com/users/dhis2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhis2/subscriptions","organizations_url":"https://api.github.com/users/dhis2/orgs","repos_url":"https://api.github.com/users/dhis2/repos","events_url":"https://api.github.com/users/dhis2/events{/privacy}","received_events_url":"https://api.github.com/users/dhis2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dhis2/dhis2-core","description":"DHIS 2 Core. Written in Java. Contains the service layer and Web API.","fork":false,"url":"https://api.github.com/repos/dhis2/dhis2-core","forks_url":"https://api.github.com/repos/dhis2/dhis2-core/forks","keys_url":"https://api.github.com/repos/dhis2/dhis2-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhis2/dhis2-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhis2/dhis2-core/teams","hooks_url":"https://api.github.com/repos/dhis2/dhis2-core/hooks","issue_events_url":"https://api.github.com/repos/dhis2/dhis2-core/issues/events{/number}","events_url":"https://api.github.com/repos/dhis2/dhis2-core/events","assignees_url":"https://api.github.com/repos/dhis2/dhis2-core/assignees{/user}","branches_url":"https://api.github.com/repos/dhis2/dhis2-core/branches{/branch}","tags_url":"https://api.github.com/repos/dhis2/dhis2-core/tags","blobs_url":"https://api.github.com/repos/dhis2/dhis2-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhis2/dhis2-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhis2/dhis2-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhis2/dhis2-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhis2/dhis2-core/statuses/{sha}","languages_url":"https://api.github.com/repos/dhis2/dhis2-core/languages","stargazers_url":"https://api.github.com/repos/dhis2/dhis2-core/stargazers","contributors_url":"https://api.github.com/repos/dhis2/dhis2-core/contributors","subscribers_url":"https://api.github.com/repos/dhis2/dhis2-core/subscribers","subscription_url":"https://api.github.com/repos/dhis2/dhis2-core/subscription","commits_url":"https://api.github.com/repos/dhis2/dhis2-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhis2/dhis2-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhis2/dhis2-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhis2/dhis2-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhis2/dhis2-core/contents/{+path}","compare_url":"https://api.github.com/repos/dhis2/dhis2-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhis2/dhis2-core/merges","archive_url":"https://api.github.com/repos/dhis2/dhis2-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhis2/dhis2-core/downloads","issues_url":"https://api.github.com/repos/dhis2/dhis2-core/issues{/number}","pulls_url":"https://api.github.com/repos/dhis2/dhis2-core/pulls{/number}","milestones_url":"https://api.github.com/repos/dhis2/dhis2-core/milestones{/number}","notifications_url":"https://api.github.com/repos/dhis2/dhis2-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhis2/dhis2-core/labels{/name}","releases_url":"https://api.github.com/repos/dhis2/dhis2-core/releases{/id}","deployments_url":"https://api.github.com/repos/dhis2/dhis2-core/deployments","created_at":"2016-08-30T12:57:05Z","updated_at":"2018-05-16T09:37:59Z","pushed_at":"2018-05-16T09:48:45Z","git_url":"git://github.com/dhis2/dhis2-core.git","ssh_url":"git@github.com:dhis2/dhis2-core.git","clone_url":"https://github.com/dhis2/dhis2-core.git","svn_url":"https://github.com/dhis2/dhis2-core","homepage":"","size":39822,"stargazers_count":77,"watchers_count":77,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":85,"open_issues":18,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dhis2/dhis2-core/pulls/1888"},"html":{"href":"https://github.com/dhis2/dhis2-core/pull/1888"},"issue":{"href":"https://api.github.com/repos/dhis2/dhis2-core/issues/1888"},"comments":{"href":"https://api.github.com/repos/dhis2/dhis2-core/issues/1888/comments"},"review_comments":{"href":"https://api.github.com/repos/dhis2/dhis2-core/pulls/1888/comments"},"review_comment":{"href":"https://api.github.com/repos/dhis2/dhis2-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dhis2/dhis2-core/pulls/1888/commits"},"statuses":{"href":"https://api.github.com/repos/dhis2/dhis2-core/statuses/3b667b7a3b40db734fa5f6772e436170aa43fa5b"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stian-sandvold","id":8579020,"avatar_url":"https://avatars3.githubusercontent.com/u/8579020?v=4","gravatar_id":"","url":"https://api.github.com/users/stian-sandvold","html_url":"https://github.com/stian-sandvold","followers_url":"https://api.github.com/users/stian-sandvold/followers","following_url":"https://api.github.com/users/stian-sandvold/following{/other_user}","gists_url":"https://api.github.com/users/stian-sandvold/gists{/gist_id}","starred_url":"https://api.github.com/users/stian-sandvold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stian-sandvold/subscriptions","organizations_url":"https://api.github.com/users/stian-sandvold/orgs","repos_url":"https://api.github.com/users/stian-sandvold/repos","events_url":"https://api.github.com/users/stian-sandvold/events{/privacy}","received_events_url":"https://api.github.com/users/stian-sandvold/received_events","type":"User","site_admin":false},"comments":0,"review_comments":32,"maintainer_can_modify":false,"commits":16,"additions":702,"deletions":31,"changed_files":20}}
{"actor":{"display_login":"stian-sandvold"}}