{"action":"opened","number":94,"pull_request":{"url":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/94","id":167525200,"html_url":"https://github.com/rhpit/manageiq-cli/pull/94","diff_url":"https://github.com/rhpit/manageiq-cli/pull/94.diff","patch_url":"https://github.com/rhpit/manageiq-cli/pull/94.patch","issue_url":"https://api.github.com/repos/rhpit/manageiq-cli/issues/94","number":94,"state":"open","locked":false,"title":"add provider class for easy id lookup thats transparent of the provider","user":{"login":"rywillia","id":3375653,"avatar_url":"https://avatars1.githubusercontent.com/u/3375653?v=4","gravatar_id":"","url":"https://api.github.com/users/rywillia","html_url":"https://github.com/rywillia","followers_url":"https://api.github.com/users/rywillia/followers","following_url":"https://api.github.com/users/rywillia/following{/other_user}","gists_url":"https://api.github.com/users/rywillia/gists{/gist_id}","starred_url":"https://api.github.com/users/rywillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rywillia/subscriptions","organizations_url":"https://api.github.com/users/rywillia/orgs","repos_url":"https://api.github.com/users/rywillia/repos","events_url":"https://api.github.com/users/rywillia/events{/privacy}","received_events_url":"https://api.github.com/users/rywillia/received_events","type":"User","site_admin":false},"body":"This commit adds a new module containing classes regarding components\r\nfor a provider. Collections can easily create a provider object and\r\nperform lookups on a string element to return the given id in manageiq.\r\nThe class will automatically determine the resource type to filter on.\r\nRemoving the need to have static strings in a collection class.\r\n\r\nIt also includes the following:\r\n  * modifications to automation/provision requests collections to use\r\n  the new provider class.\r\n\r\n  * cosmetic changes to automation/provision requests collections.\r\n\r\n  * automation/provision requests status previously accepted the id by\r\n  a click option. Switched to a argument. This way users do not need to\r\n  define the --id and can just give the id. This command only needs the\r\n  id so it makes sense to be positional. Also removes use of built-in\r\n  as a variable.\r\n\r\nCloses #86","created_at":"2018-02-06T20:45:54Z","updated_at":"2018-02-06T20:45:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"rywillia","id":3375653,"avatar_url":"https://avatars1.githubusercontent.com/u/3375653?v=4","gravatar_id":"","url":"https://api.github.com/users/rywillia","html_url":"https://github.com/rywillia","followers_url":"https://api.github.com/users/rywillia/followers","following_url":"https://api.github.com/users/rywillia/following{/other_user}","gists_url":"https://api.github.com/users/rywillia/gists{/gist_id}","starred_url":"https://api.github.com/users/rywillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rywillia/subscriptions","organizations_url":"https://api.github.com/users/rywillia/orgs","repos_url":"https://api.github.com/users/rywillia/repos","events_url":"https://api.github.com/users/rywillia/events{/privacy}","received_events_url":"https://api.github.com/users/rywillia/received_events","type":"User","site_admin":false},"assignees":[{"login":"rywillia","id":3375653,"avatar_url":"https://avatars1.githubusercontent.com/u/3375653?v=4","gravatar_id":"","url":"https://api.github.com/users/rywillia","html_url":"https://github.com/rywillia","followers_url":"https://api.github.com/users/rywillia/followers","following_url":"https://api.github.com/users/rywillia/following{/other_user}","gists_url":"https://api.github.com/users/rywillia/gists{/gist_id}","starred_url":"https://api.github.com/users/rywillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rywillia/subscriptions","organizations_url":"https://api.github.com/users/rywillia/orgs","repos_url":"https://api.github.com/users/rywillia/repos","events_url":"https://api.github.com/users/rywillia/events{/privacy}","received_events_url":"https://api.github.com/users/rywillia/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/94/commits","review_comments_url":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/94/comments","review_comment_url":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rhpit/manageiq-cli/issues/94/comments","statuses_url":"https://api.github.com/repos/rhpit/manageiq-cli/statuses/eb70d34b6f57fcff76c8ec85b10397682a37b514","head":{"label":"rywillia:issue-86","ref":"issue-86","sha":"eb70d34b6f57fcff76c8ec85b10397682a37b514","user":{"login":"rywillia","id":3375653,"avatar_url":"https://avatars1.githubusercontent.com/u/3375653?v=4","gravatar_id":"","url":"https://api.github.com/users/rywillia","html_url":"https://github.com/rywillia","followers_url":"https://api.github.com/users/rywillia/followers","following_url":"https://api.github.com/users/rywillia/following{/other_user}","gists_url":"https://api.github.com/users/rywillia/gists{/gist_id}","starred_url":"https://api.github.com/users/rywillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rywillia/subscriptions","organizations_url":"https://api.github.com/users/rywillia/orgs","repos_url":"https://api.github.com/users/rywillia/repos","events_url":"https://api.github.com/users/rywillia/events{/privacy}","received_events_url":"https://api.github.com/users/rywillia/received_events","type":"User","site_admin":false},"repo":{"id":112231298,"name":"manageiq-cli","full_name":"rywillia/manageiq-cli","owner":{"login":"rywillia","id":3375653,"avatar_url":"https://avatars1.githubusercontent.com/u/3375653?v=4","gravatar_id":"","url":"https://api.github.com/users/rywillia","html_url":"https://github.com/rywillia","followers_url":"https://api.github.com/users/rywillia/followers","following_url":"https://api.github.com/users/rywillia/following{/other_user}","gists_url":"https://api.github.com/users/rywillia/gists{/gist_id}","starred_url":"https://api.github.com/users/rywillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rywillia/subscriptions","organizations_url":"https://api.github.com/users/rywillia/orgs","repos_url":"https://api.github.com/users/rywillia/repos","events_url":"https://api.github.com/users/rywillia/events{/privacy}","received_events_url":"https://api.github.com/users/rywillia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rywillia/manageiq-cli","description":"Because we like managing the cloud via terminal!","fork":true,"url":"https://api.github.com/repos/rywillia/manageiq-cli","forks_url":"https://api.github.com/repos/rywillia/manageiq-cli/forks","keys_url":"https://api.github.com/repos/rywillia/manageiq-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rywillia/manageiq-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rywillia/manageiq-cli/teams","hooks_url":"https://api.github.com/repos/rywillia/manageiq-cli/hooks","issue_events_url":"https://api.github.com/repos/rywillia/manageiq-cli/issues/events{/number}","events_url":"https://api.github.com/repos/rywillia/manageiq-cli/events","assignees_url":"https://api.github.com/repos/rywillia/manageiq-cli/assignees{/user}","branches_url":"https://api.github.com/repos/rywillia/manageiq-cli/branches{/branch}","tags_url":"https://api.github.com/repos/rywillia/manageiq-cli/tags","blobs_url":"https://api.github.com/repos/rywillia/manageiq-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rywillia/manageiq-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rywillia/manageiq-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/rywillia/manageiq-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rywillia/manageiq-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/rywillia/manageiq-cli/languages","stargazers_url":"https://api.github.com/repos/rywillia/manageiq-cli/stargazers","contributors_url":"https://api.github.com/repos/rywillia/manageiq-cli/contributors","subscribers_url":"https://api.github.com/repos/rywillia/manageiq-cli/subscribers","subscription_url":"https://api.github.com/repos/rywillia/manageiq-cli/subscription","commits_url":"https://api.github.com/repos/rywillia/manageiq-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/rywillia/manageiq-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/rywillia/manageiq-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/rywillia/manageiq-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/rywillia/manageiq-cli/contents/{+path}","compare_url":"https://api.github.com/repos/rywillia/manageiq-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rywillia/manageiq-cli/merges","archive_url":"https://api.github.com/repos/rywillia/manageiq-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rywillia/manageiq-cli/downloads","issues_url":"https://api.github.com/repos/rywillia/manageiq-cli/issues{/number}","pulls_url":"https://api.github.com/repos/rywillia/manageiq-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/rywillia/manageiq-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/rywillia/manageiq-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rywillia/manageiq-cli/labels{/name}","releases_url":"https://api.github.com/repos/rywillia/manageiq-cli/releases{/id}","deployments_url":"https://api.github.com/repos/rywillia/manageiq-cli/deployments","created_at":"2017-11-27T18:16:17Z","updated_at":"2017-12-06T14:54:12Z","pushed_at":"2018-02-06T20:43:23Z","git_url":"git://github.com/rywillia/manageiq-cli.git","ssh_url":"git@github.com:rywillia/manageiq-cli.git","clone_url":"https://github.com/rywillia/manageiq-cli.git","svn_url":"https://github.com/rywillia/manageiq-cli","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rhpit:master","ref":"master","sha":"e131205a1dff6d33eb05b45dc7af97aa40d39732","user":{"login":"rhpit","id":23100408,"avatar_url":"https://avatars2.githubusercontent.com/u/23100408?v=4","gravatar_id":"","url":"https://api.github.com/users/rhpit","html_url":"https://github.com/rhpit","followers_url":"https://api.github.com/users/rhpit/followers","following_url":"https://api.github.com/users/rhpit/following{/other_user}","gists_url":"https://api.github.com/users/rhpit/gists{/gist_id}","starred_url":"https://api.github.com/users/rhpit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhpit/subscriptions","organizations_url":"https://api.github.com/users/rhpit/orgs","repos_url":"https://api.github.com/users/rhpit/repos","events_url":"https://api.github.com/users/rhpit/events{/privacy}","received_events_url":"https://api.github.com/users/rhpit/received_events","type":"Organization","site_admin":false},"repo":{"id":111458801,"name":"manageiq-cli","full_name":"rhpit/manageiq-cli","owner":{"login":"rhpit","id":23100408,"avatar_url":"https://avatars2.githubusercontent.com/u/23100408?v=4","gravatar_id":"","url":"https://api.github.com/users/rhpit","html_url":"https://github.com/rhpit","followers_url":"https://api.github.com/users/rhpit/followers","following_url":"https://api.github.com/users/rhpit/following{/other_user}","gists_url":"https://api.github.com/users/rhpit/gists{/gist_id}","starred_url":"https://api.github.com/users/rhpit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhpit/subscriptions","organizations_url":"https://api.github.com/users/rhpit/orgs","repos_url":"https://api.github.com/users/rhpit/repos","events_url":"https://api.github.com/users/rhpit/events{/privacy}","received_events_url":"https://api.github.com/users/rhpit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rhpit/manageiq-cli","description":"Because we like managing the cloud via terminal!","fork":false,"url":"https://api.github.com/repos/rhpit/manageiq-cli","forks_url":"https://api.github.com/repos/rhpit/manageiq-cli/forks","keys_url":"https://api.github.com/repos/rhpit/manageiq-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhpit/manageiq-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhpit/manageiq-cli/teams","hooks_url":"https://api.github.com/repos/rhpit/manageiq-cli/hooks","issue_events_url":"https://api.github.com/repos/rhpit/manageiq-cli/issues/events{/number}","events_url":"https://api.github.com/repos/rhpit/manageiq-cli/events","assignees_url":"https://api.github.com/repos/rhpit/manageiq-cli/assignees{/user}","branches_url":"https://api.github.com/repos/rhpit/manageiq-cli/branches{/branch}","tags_url":"https://api.github.com/repos/rhpit/manageiq-cli/tags","blobs_url":"https://api.github.com/repos/rhpit/manageiq-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhpit/manageiq-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhpit/manageiq-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhpit/manageiq-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhpit/manageiq-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/rhpit/manageiq-cli/languages","stargazers_url":"https://api.github.com/repos/rhpit/manageiq-cli/stargazers","contributors_url":"https://api.github.com/repos/rhpit/manageiq-cli/contributors","subscribers_url":"https://api.github.com/repos/rhpit/manageiq-cli/subscribers","subscription_url":"https://api.github.com/repos/rhpit/manageiq-cli/subscription","commits_url":"https://api.github.com/repos/rhpit/manageiq-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhpit/manageiq-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhpit/manageiq-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhpit/manageiq-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhpit/manageiq-cli/contents/{+path}","compare_url":"https://api.github.com/repos/rhpit/manageiq-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhpit/manageiq-cli/merges","archive_url":"https://api.github.com/repos/rhpit/manageiq-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhpit/manageiq-cli/downloads","issues_url":"https://api.github.com/repos/rhpit/manageiq-cli/issues{/number}","pulls_url":"https://api.github.com/repos/rhpit/manageiq-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/rhpit/manageiq-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/rhpit/manageiq-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhpit/manageiq-cli/labels{/name}","releases_url":"https://api.github.com/repos/rhpit/manageiq-cli/releases{/id}","deployments_url":"https://api.github.com/repos/rhpit/manageiq-cli/deployments","created_at":"2017-11-20T20:21:20Z","updated_at":"2018-01-10T12:39:48Z","pushed_at":"2018-02-06T15:51:00Z","git_url":"git://github.com/rhpit/manageiq-cli.git","ssh_url":"git@github.com:rhpit/manageiq-cli.git","clone_url":"https://github.com/rhpit/manageiq-cli.git","svn_url":"https://github.com/rhpit/manageiq-cli","homepage":null,"size":130,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":6,"open_issues":23,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/94"},"html":{"href":"https://github.com/rhpit/manageiq-cli/pull/94"},"issue":{"href":"https://api.github.com/repos/rhpit/manageiq-cli/issues/94"},"comments":{"href":"https://api.github.com/repos/rhpit/manageiq-cli/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rhpit/manageiq-cli/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/rhpit/manageiq-cli/statuses/eb70d34b6f57fcff76c8ec85b10397682a37b514"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":502,"deletions":240,"changed_files":6}}
{"actor":{"display_login":"rywillia"}}