{"action":"opened","number":265,"pull_request":{"url":"https://api.github.com/repos/trainline/environment-manager/pulls/265","id":120839736,"html_url":"https://github.com/trainline/environment-manager/pull/265","diff_url":"https://github.com/trainline/environment-manager/pull/265.diff","patch_url":"https://github.com/trainline/environment-manager/pull/265.patch","issue_url":"https://api.github.com/repos/trainline/environment-manager/issues/265","number":265,"state":"open","locked":false,"title":"Write load balancer settings to a single DynamoDB table","user":{"login":"Merlin-Taylor","id":3935360,"avatar_url":"https://avatars2.githubusercontent.com/u/3935360?v=3","gravatar_id":"","url":"https://api.github.com/users/Merlin-Taylor","html_url":"https://github.com/Merlin-Taylor","followers_url":"https://api.github.com/users/Merlin-Taylor/followers","following_url":"https://api.github.com/users/Merlin-Taylor/following{/other_user}","gists_url":"https://api.github.com/users/Merlin-Taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/Merlin-Taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merlin-Taylor/subscriptions","organizations_url":"https://api.github.com/users/Merlin-Taylor/orgs","repos_url":"https://api.github.com/users/Merlin-Taylor/repos","events_url":"https://api.github.com/users/Merlin-Taylor/events{/privacy}","received_events_url":"https://api.github.com/users/Merlin-Taylor/received_events","type":"User","site_admin":false},"body":"Environment Manager currently writes each load balancer settings record to a DynamoDB table named _ConfigLBSettings_ one of the child accounts. The account to which the record is written is derived from the environment to which the load balancer settings record is linked.\r\n\r\nThis pull request modifies Environment Manager to **write** all load balancer settings records to a single DynamoDB table _InfraConfigLBSettings_. The DynamoDB stream from this table is processed by a Lambda function that writes each record to the _ConfigLBSettings_ table in the appropriate child account. Environment Manager still **reads** load balancer settings records from the existing _ConfigLBSettings_ tables.\r\n\r\n- Each record replicated from the _InfraConfigLBSettings_ table to one of the _ConfigLBSettings_ tables is tagged with the attribute { readonly: true }. This will be used to exclude these records when migrating data from the _ConfigLBSettings_ tables to the _InfraConfigLBSettings_ table.\r\n\r\n- Environment Manager will be updated to read from the _InfraConfigLBSettings_  table when all of the load balancer settings records are migrated from the _ConfigLBSettings_ tables to the _InfraConfigLBSettings_ table. The _InfraConfigLBSettings_ table is indexed to allow Environment Manager to execute the queries it currently executes against the _ConfigLBSettings_ tables against _InfraConfigLBSettings_.\r\n\r\nhttps://jira.thetrainline.com/browse/PD-242","created_at":"2017-05-16T14:20:56Z","updated_at":"2017-05-16T14:20:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/trainline/environment-manager/pulls/265/commits","review_comments_url":"https://api.github.com/repos/trainline/environment-manager/pulls/265/comments","review_comment_url":"https://api.github.com/repos/trainline/environment-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trainline/environment-manager/issues/265/comments","statuses_url":"https://api.github.com/repos/trainline/environment-manager/statuses/c8da2dc81250028b4ed19ea1a9ebae7ab776adbf","head":{"label":"Merlin-Taylor:feature/PD-282","ref":"feature/PD-282","sha":"c8da2dc81250028b4ed19ea1a9ebae7ab776adbf","user":{"login":"Merlin-Taylor","id":3935360,"avatar_url":"https://avatars2.githubusercontent.com/u/3935360?v=3","gravatar_id":"","url":"https://api.github.com/users/Merlin-Taylor","html_url":"https://github.com/Merlin-Taylor","followers_url":"https://api.github.com/users/Merlin-Taylor/followers","following_url":"https://api.github.com/users/Merlin-Taylor/following{/other_user}","gists_url":"https://api.github.com/users/Merlin-Taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/Merlin-Taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merlin-Taylor/subscriptions","organizations_url":"https://api.github.com/users/Merlin-Taylor/orgs","repos_url":"https://api.github.com/users/Merlin-Taylor/repos","events_url":"https://api.github.com/users/Merlin-Taylor/events{/privacy}","received_events_url":"https://api.github.com/users/Merlin-Taylor/received_events","type":"User","site_admin":false},"repo":{"id":69583734,"name":"environment-manager","full_name":"Merlin-Taylor/environment-manager","owner":{"login":"Merlin-Taylor","id":3935360,"avatar_url":"https://avatars2.githubusercontent.com/u/3935360?v=3","gravatar_id":"","url":"https://api.github.com/users/Merlin-Taylor","html_url":"https://github.com/Merlin-Taylor","followers_url":"https://api.github.com/users/Merlin-Taylor/followers","following_url":"https://api.github.com/users/Merlin-Taylor/following{/other_user}","gists_url":"https://api.github.com/users/Merlin-Taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/Merlin-Taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merlin-Taylor/subscriptions","organizations_url":"https://api.github.com/users/Merlin-Taylor/orgs","repos_url":"https://api.github.com/users/Merlin-Taylor/repos","events_url":"https://api.github.com/users/Merlin-Taylor/events{/privacy}","received_events_url":"https://api.github.com/users/Merlin-Taylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Merlin-Taylor/environment-manager","description":"Self-service portal for infrastructure config management, operational reporting and deployment","fork":true,"url":"https://api.github.com/repos/Merlin-Taylor/environment-manager","forks_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/forks","keys_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/teams","hooks_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/hooks","issue_events_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/issues/events{/number}","events_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/events","assignees_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/assignees{/user}","branches_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/branches{/branch}","tags_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/tags","blobs_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/languages","stargazers_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/stargazers","contributors_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/contributors","subscribers_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/subscribers","subscription_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/subscription","commits_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/contents/{+path}","compare_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/merges","archive_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/downloads","issues_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/issues{/number}","pulls_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/labels{/name}","releases_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/releases{/id}","deployments_url":"https://api.github.com/repos/Merlin-Taylor/environment-manager/deployments","created_at":"2016-09-29T15:59:06Z","updated_at":"2016-09-29T15:59:09Z","pushed_at":"2017-05-16T14:07:30Z","git_url":"git://github.com/Merlin-Taylor/environment-manager.git","ssh_url":"git@github.com:Merlin-Taylor/environment-manager.git","clone_url":"https://github.com/Merlin-Taylor/environment-manager.git","svn_url":"https://github.com/Merlin-Taylor/environment-manager","homepage":null,"size":7683,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":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":0,"default_branch":"master"}},"base":{"label":"trainline:master","ref":"master","sha":"0f3884d0d44b81e89bb873edf6bff4354623224f","user":{"login":"trainline","id":2421167,"avatar_url":"https://avatars2.githubusercontent.com/u/2421167?v=3","gravatar_id":"","url":"https://api.github.com/users/trainline","html_url":"https://github.com/trainline","followers_url":"https://api.github.com/users/trainline/followers","following_url":"https://api.github.com/users/trainline/following{/other_user}","gists_url":"https://api.github.com/users/trainline/gists{/gist_id}","starred_url":"https://api.github.com/users/trainline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trainline/subscriptions","organizations_url":"https://api.github.com/users/trainline/orgs","repos_url":"https://api.github.com/users/trainline/repos","events_url":"https://api.github.com/users/trainline/events{/privacy}","received_events_url":"https://api.github.com/users/trainline/received_events","type":"Organization","site_admin":false},"repo":{"id":68927698,"name":"environment-manager","full_name":"trainline/environment-manager","owner":{"login":"trainline","id":2421167,"avatar_url":"https://avatars2.githubusercontent.com/u/2421167?v=3","gravatar_id":"","url":"https://api.github.com/users/trainline","html_url":"https://github.com/trainline","followers_url":"https://api.github.com/users/trainline/followers","following_url":"https://api.github.com/users/trainline/following{/other_user}","gists_url":"https://api.github.com/users/trainline/gists{/gist_id}","starred_url":"https://api.github.com/users/trainline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trainline/subscriptions","organizations_url":"https://api.github.com/users/trainline/orgs","repos_url":"https://api.github.com/users/trainline/repos","events_url":"https://api.github.com/users/trainline/events{/privacy}","received_events_url":"https://api.github.com/users/trainline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trainline/environment-manager","description":"Self-service portal for infrastructure config management, operational reporting and deployment","fork":false,"url":"https://api.github.com/repos/trainline/environment-manager","forks_url":"https://api.github.com/repos/trainline/environment-manager/forks","keys_url":"https://api.github.com/repos/trainline/environment-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trainline/environment-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trainline/environment-manager/teams","hooks_url":"https://api.github.com/repos/trainline/environment-manager/hooks","issue_events_url":"https://api.github.com/repos/trainline/environment-manager/issues/events{/number}","events_url":"https://api.github.com/repos/trainline/environment-manager/events","assignees_url":"https://api.github.com/repos/trainline/environment-manager/assignees{/user}","branches_url":"https://api.github.com/repos/trainline/environment-manager/branches{/branch}","tags_url":"https://api.github.com/repos/trainline/environment-manager/tags","blobs_url":"https://api.github.com/repos/trainline/environment-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trainline/environment-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trainline/environment-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/trainline/environment-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trainline/environment-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/trainline/environment-manager/languages","stargazers_url":"https://api.github.com/repos/trainline/environment-manager/stargazers","contributors_url":"https://api.github.com/repos/trainline/environment-manager/contributors","subscribers_url":"https://api.github.com/repos/trainline/environment-manager/subscribers","subscription_url":"https://api.github.com/repos/trainline/environment-manager/subscription","commits_url":"https://api.github.com/repos/trainline/environment-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/trainline/environment-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/trainline/environment-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/trainline/environment-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/trainline/environment-manager/contents/{+path}","compare_url":"https://api.github.com/repos/trainline/environment-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trainline/environment-manager/merges","archive_url":"https://api.github.com/repos/trainline/environment-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trainline/environment-manager/downloads","issues_url":"https://api.github.com/repos/trainline/environment-manager/issues{/number}","pulls_url":"https://api.github.com/repos/trainline/environment-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/trainline/environment-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/trainline/environment-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trainline/environment-manager/labels{/name}","releases_url":"https://api.github.com/repos/trainline/environment-manager/releases{/id}","deployments_url":"https://api.github.com/repos/trainline/environment-manager/deployments","created_at":"2016-09-22T14:10:18Z","updated_at":"2017-05-11T10:19:54Z","pushed_at":"2017-05-15T12:16:03Z","git_url":"git://github.com/trainline/environment-manager.git","ssh_url":"git@github.com:trainline/environment-manager.git","clone_url":"https://github.com/trainline/environment-manager.git","svn_url":"https://github.com/trainline/environment-manager","homepage":"https://trainline.github.io/environment-manager/","size":7893,"stargazers_count":76,"watchers_count":76,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":9,"forks":14,"open_issues":9,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trainline/environment-manager/pulls/265"},"html":{"href":"https://github.com/trainline/environment-manager/pull/265"},"issue":{"href":"https://api.github.com/repos/trainline/environment-manager/issues/265"},"comments":{"href":"https://api.github.com/repos/trainline/environment-manager/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/trainline/environment-manager/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/trainline/environment-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trainline/environment-manager/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/trainline/environment-manager/statuses/c8da2dc81250028b4ed19ea1a9ebae7ab776adbf"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":644,"deletions":96,"changed_files":11}}
{"actor":{"display_login":"Merlin-Taylor"}}