{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/7","id":44662232,"html_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula/pull/7","diff_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula/pull/7.diff","patch_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula/pull/7.patch","issue_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/7","number":7,"state":"closed","locked":false,"title":"Add custom grains containing the redis elasticsearch endpoints","user":{"login":"niallcreech","id":2128678,"avatar_url":"https://avatars.githubusercontent.com/u/2128678?v=3","gravatar_id":"","url":"https://api.github.com/users/niallcreech","html_url":"https://github.com/niallcreech","followers_url":"https://api.github.com/users/niallcreech/followers","following_url":"https://api.github.com/users/niallcreech/following{/other_user}","gists_url":"https://api.github.com/users/niallcreech/gists{/gist_id}","starred_url":"https://api.github.com/users/niallcreech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niallcreech/subscriptions","organizations_url":"https://api.github.com/users/niallcreech/orgs","repos_url":"https://api.github.com/users/niallcreech/repos","events_url":"https://api.github.com/users/niallcreech/events{/privacy}","received_events_url":"https://api.github.com/users/niallcreech/received_events","type":"User","site_admin":false},"body":"Sets grains for elasticache endpoints for a redis type. Consisting of\na primary (read-write) endpoint and a list of read-only endpoints.\nThese endpoints will only be collected if there is already a grain\nElasticacheReplicationGroupName containing the replication group\nname.\n\nThe grain set has the form,\n\n```\n  'elasticache':  {\n    'primary_endpoint': {'address': <address>, 'port': <port>},\n    'default_endpoint': {'address': <address>, 'port': <port>},\n    'read_endpoints': [\n      {'address': <address>, 'port': <port>},\n      {'address': <address>, 'port': <port>},\n      {'address': <address>, 'port': <port>}\n    ]\n  }\n```\n\nRequires PR https://github.com/ministryofjustice/bootstrap-cfn/pull/152\nAnd note issue: https://github.com/ministryofjustice/template-deploy/issues/171","created_at":"2015-09-10T12:39:52Z","updated_at":"2015-11-09T16:59:35Z","closed_at":"2015-11-09T16:59:35Z","merged_at":"2015-11-09T16:59:35Z","merge_commit_sha":"89ab7679072623fa91d54a07d87cb0feb2c97eca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/7/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/7/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/7/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/statuses/741b07034d7ea00ca10464894d244e25a63dc6f4","head":{"label":"ministryofjustice:add_elasticache_redis_endpoints","ref":"add_elasticache_redis_endpoints","sha":"741b07034d7ea00ca10464894d244e25a63dc6f4","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":41439020,"name":"moj-docker-deploy-formula","full_name":"ministryofjustice/moj-docker-deploy-formula","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula","description":"How MOJ Digital deploys docker containers via salt","fork":false,"url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula","forks_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/forks","keys_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/events","assignees_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/merges","archive_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/releases{/id}","created_at":"2015-08-26T17:17:49Z","updated_at":"2015-10-23T17:10:24Z","pushed_at":"2015-11-09T16:59:35Z","git_url":"git://github.com/ministryofjustice/moj-docker-deploy-formula.git","ssh_url":"git@github.com:ministryofjustice/moj-docker-deploy-formula.git","clone_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula.git","svn_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula","homepage":"","size":696,"stargazers_count":1,"watchers_count":1,"language":"SaltStack","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"51c8f4d6cf8b9b59d41e754d6f3571c44c7d1f8f","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":41439020,"name":"moj-docker-deploy-formula","full_name":"ministryofjustice/moj-docker-deploy-formula","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula","description":"How MOJ Digital deploys docker containers via salt","fork":false,"url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula","forks_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/forks","keys_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/events","assignees_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/merges","archive_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/releases{/id}","created_at":"2015-08-26T17:17:49Z","updated_at":"2015-10-23T17:10:24Z","pushed_at":"2015-11-09T16:59:35Z","git_url":"git://github.com/ministryofjustice/moj-docker-deploy-formula.git","ssh_url":"git@github.com:ministryofjustice/moj-docker-deploy-formula.git","clone_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula.git","svn_url":"https://github.com/ministryofjustice/moj-docker-deploy-formula","homepage":"","size":696,"stargazers_count":1,"watchers_count":1,"language":"SaltStack","has_issues":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/7"},"html":{"href":"https://github.com/ministryofjustice/moj-docker-deploy-formula/pull/7"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/7"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/moj-docker-deploy-formula/statuses/741b07034d7ea00ca10464894d244e25a63dc6f4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lukaszraczylo","id":2182556,"avatar_url":"https://avatars.githubusercontent.com/u/2182556?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaszraczylo","html_url":"https://github.com/lukaszraczylo","followers_url":"https://api.github.com/users/lukaszraczylo/followers","following_url":"https://api.github.com/users/lukaszraczylo/following{/other_user}","gists_url":"https://api.github.com/users/lukaszraczylo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszraczylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszraczylo/subscriptions","organizations_url":"https://api.github.com/users/lukaszraczylo/orgs","repos_url":"https://api.github.com/users/lukaszraczylo/repos","events_url":"https://api.github.com/users/lukaszraczylo/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszraczylo/received_events","type":"User","site_admin":false},"comments":15,"review_comments":3,"commits":2,"additions":15,"deletions":1,"changed_files":4}}