{"action":"created","comment":{"url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/comments/182903883","pull_request_review_id":113800252,"id":182903883,"diff_hunk":"@@ -70,7 +70,7 @@ lint:                                    ## lints the code via adherence to PEP8\n \n \n lint-fix:\t\t\t\t\t\t\t\t                 ## fixes the code in place so that it will pass `make lint`\n-\tautopep8 --ignore E265,E266,E402 --in-place --recursive --max-line-length=120 --exclude vendored .\n+\tautopep8 --ignore E265,E266,E402 --in-place --recursive --max-line-length=400 --exclude vendored .","path":"Makefile","position":5,"original_position":5,"commit_id":"3f06c2bb7f0425043cfc7f11dcd6c7ca3cbc9cec","original_commit_id":"3f06c2bb7f0425043cfc7f11dcd6c7ca3cbc9cec","user":{"login":"killthrush","id":6638896,"avatar_url":"https://avatars0.githubusercontent.com/u/6638896?v=4","gravatar_id":"","url":"https://api.github.com/users/killthrush","html_url":"https://github.com/killthrush","followers_url":"https://api.github.com/users/killthrush/followers","following_url":"https://api.github.com/users/killthrush/following{/other_user}","gists_url":"https://api.github.com/users/killthrush/gists{/gist_id}","starred_url":"https://api.github.com/users/killthrush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killthrush/subscriptions","organizations_url":"https://api.github.com/users/killthrush/orgs","repos_url":"https://api.github.com/users/killthrush/repos","events_url":"https://api.github.com/users/killthrush/events{/privacy}","received_events_url":"https://api.github.com/users/killthrush/received_events","type":"User","site_admin":false},"body":"2 different tools, 2 different use cases.  Flake8 is a linter, autopep8 is a refarmatting tool.  They actually use the same lib under the hood (`pycodestyle`, formerly `pep8`).","created_at":"2018-04-19T22:35:12Z","updated_at":"2018-04-19T22:35:12Z","html_url":"https://github.com/Cloudzero/cloudzero-reactor-aws/pull/73#discussion_r182903883","pull_request_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/comments/182903883"},"html":{"href":"https://github.com/Cloudzero/cloudzero-reactor-aws/pull/73#discussion_r182903883"},"pull_request":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73"}},"in_reply_to_id":182833392},"pull_request":{"url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73","id":182849648,"html_url":"https://github.com/Cloudzero/cloudzero-reactor-aws/pull/73","diff_url":"https://github.com/Cloudzero/cloudzero-reactor-aws/pull/73.diff","patch_url":"https://github.com/Cloudzero/cloudzero-reactor-aws/pull/73.patch","issue_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/73","number":73,"state":"open","locked":false,"title":"Feature/reactor 361 - czrn creation and component functions","user":{"login":"killthrush","id":6638896,"avatar_url":"https://avatars0.githubusercontent.com/u/6638896?v=4","gravatar_id":"","url":"https://api.github.com/users/killthrush","html_url":"https://github.com/killthrush","followers_url":"https://api.github.com/users/killthrush/followers","following_url":"https://api.github.com/users/killthrush/following{/other_user}","gists_url":"https://api.github.com/users/killthrush/gists{/gist_id}","starred_url":"https://api.github.com/users/killthrush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killthrush/subscriptions","organizations_url":"https://api.github.com/users/killthrush/orgs","repos_url":"https://api.github.com/users/killthrush/repos","events_url":"https://api.github.com/users/killthrush/events{/privacy}","received_events_url":"https://api.github.com/users/killthrush/received_events","type":"User","site_admin":false},"body":"### Description\r\n<!--- Provide a brief description of the PR and issue it addresses. -->\r\nProvide a first pass at an implementation for CZRNs.  Includes functions to create them from components (like account ID, resource type, etc), create them from ARNs, and also to extract individual components from them.\r\n\r\nAlso, this required implementation of a function to reliably extract a \"cloud local ID\" from ARNs; this information will be used during resource enrichment. \r\n\r\n### Acceptance checklist\r\n<!--- Here we make sure all criteria for merge has been satisfied. -->\r\n- [ ] Feedback addressed\r\n- [ ] Tests added or modified appropriately\r\n- [ ] All tests passed\r\n\r\n","created_at":"2018-04-19T17:43:31Z","updated_at":"2018-04-19T22:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2beb7fff16c539bb14db0a20e4469380f83db6b3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tiyberius","id":1237044,"avatar_url":"https://avatars0.githubusercontent.com/u/1237044?v=4","gravatar_id":"","url":"https://api.github.com/users/tiyberius","html_url":"https://github.com/tiyberius","followers_url":"https://api.github.com/users/tiyberius/followers","following_url":"https://api.github.com/users/tiyberius/following{/other_user}","gists_url":"https://api.github.com/users/tiyberius/gists{/gist_id}","starred_url":"https://api.github.com/users/tiyberius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiyberius/subscriptions","organizations_url":"https://api.github.com/users/tiyberius/orgs","repos_url":"https://api.github.com/users/tiyberius/repos","events_url":"https://api.github.com/users/tiyberius/events{/privacy}","received_events_url":"https://api.github.com/users/tiyberius/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73/commits","review_comments_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73/comments","review_comment_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/73/comments","statuses_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/statuses/3f06c2bb7f0425043cfc7f11dcd6c7ca3cbc9cec","head":{"label":"Cloudzero:feature/REACTOR-361","ref":"feature/REACTOR-361","sha":"3f06c2bb7f0425043cfc7f11dcd6c7ca3cbc9cec","user":{"login":"Cloudzero","id":22050846,"avatar_url":"https://avatars0.githubusercontent.com/u/22050846?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloudzero","html_url":"https://github.com/Cloudzero","followers_url":"https://api.github.com/users/Cloudzero/followers","following_url":"https://api.github.com/users/Cloudzero/following{/other_user}","gists_url":"https://api.github.com/users/Cloudzero/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloudzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloudzero/subscriptions","organizations_url":"https://api.github.com/users/Cloudzero/orgs","repos_url":"https://api.github.com/users/Cloudzero/repos","events_url":"https://api.github.com/users/Cloudzero/events{/privacy}","received_events_url":"https://api.github.com/users/Cloudzero/received_events","type":"Organization","site_admin":false},"repo":{"id":104886482,"name":"cloudzero-reactor-aws","full_name":"Cloudzero/cloudzero-reactor-aws","owner":{"login":"Cloudzero","id":22050846,"avatar_url":"https://avatars0.githubusercontent.com/u/22050846?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloudzero","html_url":"https://github.com/Cloudzero","followers_url":"https://api.github.com/users/Cloudzero/followers","following_url":"https://api.github.com/users/Cloudzero/following{/other_user}","gists_url":"https://api.github.com/users/Cloudzero/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloudzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloudzero/subscriptions","organizations_url":"https://api.github.com/users/Cloudzero/orgs","repos_url":"https://api.github.com/users/Cloudzero/repos","events_url":"https://api.github.com/users/Cloudzero/events{/privacy}","received_events_url":"https://api.github.com/users/Cloudzero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cloudzero/cloudzero-reactor-aws","description":"CloudZero Reactor for AWS","fork":false,"url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws","forks_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/forks","keys_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/teams","hooks_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/hooks","issue_events_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/events{/number}","events_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/events","assignees_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/assignees{/user}","branches_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/branches{/branch}","tags_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/tags","blobs_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/languages","stargazers_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/stargazers","contributors_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/contributors","subscribers_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/subscribers","subscription_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/subscription","commits_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/contents/{+path}","compare_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/merges","archive_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/downloads","issues_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues{/number}","pulls_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/labels{/name}","releases_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/releases{/id}","deployments_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/deployments","created_at":"2017-09-26T13:13:15Z","updated_at":"2018-04-13T15:47:02Z","pushed_at":"2018-04-19T17:43:33Z","git_url":"git://github.com/Cloudzero/cloudzero-reactor-aws.git","ssh_url":"git@github.com:Cloudzero/cloudzero-reactor-aws.git","clone_url":"https://github.com/Cloudzero/cloudzero-reactor-aws.git","svn_url":"https://github.com/Cloudzero/cloudzero-reactor-aws","homepage":"https://www.cloudzero.com/","size":26126,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"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":0,"open_issues":2,"watchers":19,"default_branch":"develop"}},"base":{"label":"Cloudzero:develop","ref":"develop","sha":"dfe2f90bb0cebf7b74516cbd8fafbf4d20815090","user":{"login":"Cloudzero","id":22050846,"avatar_url":"https://avatars0.githubusercontent.com/u/22050846?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloudzero","html_url":"https://github.com/Cloudzero","followers_url":"https://api.github.com/users/Cloudzero/followers","following_url":"https://api.github.com/users/Cloudzero/following{/other_user}","gists_url":"https://api.github.com/users/Cloudzero/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloudzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloudzero/subscriptions","organizations_url":"https://api.github.com/users/Cloudzero/orgs","repos_url":"https://api.github.com/users/Cloudzero/repos","events_url":"https://api.github.com/users/Cloudzero/events{/privacy}","received_events_url":"https://api.github.com/users/Cloudzero/received_events","type":"Organization","site_admin":false},"repo":{"id":104886482,"name":"cloudzero-reactor-aws","full_name":"Cloudzero/cloudzero-reactor-aws","owner":{"login":"Cloudzero","id":22050846,"avatar_url":"https://avatars0.githubusercontent.com/u/22050846?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloudzero","html_url":"https://github.com/Cloudzero","followers_url":"https://api.github.com/users/Cloudzero/followers","following_url":"https://api.github.com/users/Cloudzero/following{/other_user}","gists_url":"https://api.github.com/users/Cloudzero/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloudzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloudzero/subscriptions","organizations_url":"https://api.github.com/users/Cloudzero/orgs","repos_url":"https://api.github.com/users/Cloudzero/repos","events_url":"https://api.github.com/users/Cloudzero/events{/privacy}","received_events_url":"https://api.github.com/users/Cloudzero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cloudzero/cloudzero-reactor-aws","description":"CloudZero Reactor for AWS","fork":false,"url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws","forks_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/forks","keys_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/teams","hooks_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/hooks","issue_events_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/events{/number}","events_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/events","assignees_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/assignees{/user}","branches_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/branches{/branch}","tags_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/tags","blobs_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/languages","stargazers_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/stargazers","contributors_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/contributors","subscribers_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/subscribers","subscription_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/subscription","commits_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/contents/{+path}","compare_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/merges","archive_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/downloads","issues_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues{/number}","pulls_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/labels{/name}","releases_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/releases{/id}","deployments_url":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/deployments","created_at":"2017-09-26T13:13:15Z","updated_at":"2018-04-13T15:47:02Z","pushed_at":"2018-04-19T17:43:33Z","git_url":"git://github.com/Cloudzero/cloudzero-reactor-aws.git","ssh_url":"git@github.com:Cloudzero/cloudzero-reactor-aws.git","clone_url":"https://github.com/Cloudzero/cloudzero-reactor-aws.git","svn_url":"https://github.com/Cloudzero/cloudzero-reactor-aws","homepage":"https://www.cloudzero.com/","size":26126,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"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":0,"open_issues":2,"watchers":19,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73"},"html":{"href":"https://github.com/Cloudzero/cloudzero-reactor-aws/pull/73"},"issue":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/73"},"comments":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/Cloudzero/cloudzero-reactor-aws/statuses/3f06c2bb7f0425043cfc7f11dcd6c7ca3cbc9cec"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"killthrush"}}