{"action":"opened","number":92,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/92","id":190847805,"html_url":"https://github.com/ManageIQ/manageiq-providers-nuage/pull/92","diff_url":"https://github.com/ManageIQ/manageiq-providers-nuage/pull/92.diff","patch_url":"https://github.com/ManageIQ/manageiq-providers-nuage/pull/92.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/issues/92","number":92,"state":"open","locked":false,"title":"Inventory Enterprise (Nuage) into CloudTenant (MIQ)","user":{"login":"miha-plesko","id":8102426,"avatar_url":"https://avatars1.githubusercontent.com/u/8102426?v=4","gravatar_id":"","url":"https://api.github.com/users/miha-plesko","html_url":"https://github.com/miha-plesko","followers_url":"https://api.github.com/users/miha-plesko/followers","following_url":"https://api.github.com/users/miha-plesko/following{/other_user}","gists_url":"https://api.github.com/users/miha-plesko/gists{/gist_id}","starred_url":"https://api.github.com/users/miha-plesko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miha-plesko/subscriptions","organizations_url":"https://api.github.com/users/miha-plesko/orgs","repos_url":"https://api.github.com/users/miha-plesko/repos","events_url":"https://api.github.com/users/miha-plesko/events{/privacy}","received_events_url":"https://api.github.com/users/miha-plesko/received_events","type":"User","site_admin":false},"body":"With this commit we inventory Enterprise into `CloudTenant` model instead into `NetworkGroup` model. We capture its name and description and hook it to the network manager.\r\n    \r\nRFE BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1574903\r\n\r\n@Ladas with this commit we stop using `NetworkGroup` and use `CloudTenant` instead. We promised such change [long time ago](https://github.com/ManageIQ/manageiq/pull/16136#issuecomment-334778694) and here we are. This commit seems large but what it does in fact is a find-and-replace\r\n\r\n```\r\n\"network_group\" -> \"cloud_tenant\"\r\n```\r\n\r\nand nothing more.","created_at":"2018-05-28T06:44:25Z","updated_at":"2018-05-28T06:44:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"juliancheal","id":63991,"avatar_url":"https://avatars0.githubusercontent.com/u/63991?v=4","gravatar_id":"","url":"https://api.github.com/users/juliancheal","html_url":"https://github.com/juliancheal","followers_url":"https://api.github.com/users/juliancheal/followers","following_url":"https://api.github.com/users/juliancheal/following{/other_user}","gists_url":"https://api.github.com/users/juliancheal/gists{/gist_id}","starred_url":"https://api.github.com/users/juliancheal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliancheal/subscriptions","organizations_url":"https://api.github.com/users/juliancheal/orgs","repos_url":"https://api.github.com/users/juliancheal/repos","events_url":"https://api.github.com/users/juliancheal/events{/privacy}","received_events_url":"https://api.github.com/users/juliancheal/received_events","type":"User","site_admin":false},"assignees":[{"login":"juliancheal","id":63991,"avatar_url":"https://avatars0.githubusercontent.com/u/63991?v=4","gravatar_id":"","url":"https://api.github.com/users/juliancheal","html_url":"https://github.com/juliancheal","followers_url":"https://api.github.com/users/juliancheal/followers","following_url":"https://api.github.com/users/juliancheal/following{/other_user}","gists_url":"https://api.github.com/users/juliancheal/gists{/gist_id}","starred_url":"https://api.github.com/users/juliancheal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliancheal/subscriptions","organizations_url":"https://api.github.com/users/juliancheal/orgs","repos_url":"https://api.github.com/users/juliancheal/repos","events_url":"https://api.github.com/users/juliancheal/events{/privacy}","received_events_url":"https://api.github.com/users/juliancheal/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/92/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/92/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/issues/92/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/statuses/1e0c72e1ba227ea4f7f79c5ae55564dae2767566","head":{"label":"miha-plesko:inventory-enterprises","ref":"inventory-enterprises","sha":"1e0c72e1ba227ea4f7f79c5ae55564dae2767566","user":{"login":"miha-plesko","id":8102426,"avatar_url":"https://avatars1.githubusercontent.com/u/8102426?v=4","gravatar_id":"","url":"https://api.github.com/users/miha-plesko","html_url":"https://github.com/miha-plesko","followers_url":"https://api.github.com/users/miha-plesko/followers","following_url":"https://api.github.com/users/miha-plesko/following{/other_user}","gists_url":"https://api.github.com/users/miha-plesko/gists{/gist_id}","starred_url":"https://api.github.com/users/miha-plesko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miha-plesko/subscriptions","organizations_url":"https://api.github.com/users/miha-plesko/orgs","repos_url":"https://api.github.com/users/miha-plesko/repos","events_url":"https://api.github.com/users/miha-plesko/events{/privacy}","received_events_url":"https://api.github.com/users/miha-plesko/received_events","type":"User","site_admin":false},"repo":{"id":105748899,"name":"manageiq-providers-nuage","full_name":"miha-plesko/manageiq-providers-nuage","owner":{"login":"miha-plesko","id":8102426,"avatar_url":"https://avatars1.githubusercontent.com/u/8102426?v=4","gravatar_id":"","url":"https://api.github.com/users/miha-plesko","html_url":"https://github.com/miha-plesko","followers_url":"https://api.github.com/users/miha-plesko/followers","following_url":"https://api.github.com/users/miha-plesko/following{/other_user}","gists_url":"https://api.github.com/users/miha-plesko/gists{/gist_id}","starred_url":"https://api.github.com/users/miha-plesko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miha-plesko/subscriptions","organizations_url":"https://api.github.com/users/miha-plesko/orgs","repos_url":"https://api.github.com/users/miha-plesko/repos","events_url":"https://api.github.com/users/miha-plesko/events{/privacy}","received_events_url":"https://api.github.com/users/miha-plesko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miha-plesko/manageiq-providers-nuage","description":"ManageIQ plugin for the Nuage provider. http://manageiq.org","fork":true,"url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage","forks_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/forks","keys_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/teams","hooks_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/hooks","issue_events_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/issues/events{/number}","events_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/events","assignees_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/assignees{/user}","branches_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/branches{/branch}","tags_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/tags","blobs_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/git/refs{/sha}","trees_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/statuses/{sha}","languages_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/languages","stargazers_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/stargazers","contributors_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/contributors","subscribers_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/subscribers","subscription_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/subscription","commits_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/commits{/sha}","git_commits_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/git/commits{/sha}","comments_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/comments{/number}","issue_comment_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/issues/comments{/number}","contents_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/contents/{+path}","compare_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/merges","archive_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/downloads","issues_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/issues{/number}","pulls_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/pulls{/number}","milestones_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/milestones{/number}","notifications_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/labels{/name}","releases_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/releases{/id}","deployments_url":"https://api.github.com/repos/miha-plesko/manageiq-providers-nuage/deployments","created_at":"2017-10-04T08:58:42Z","updated_at":"2017-10-04T08:58:43Z","pushed_at":"2018-05-28T06:37:55Z","git_url":"git://github.com/miha-plesko/manageiq-providers-nuage.git","ssh_url":"git@github.com:miha-plesko/manageiq-providers-nuage.git","clone_url":"https://github.com/miha-plesko/manageiq-providers-nuage.git","svn_url":"https://github.com/miha-plesko/manageiq-providers-nuage","homepage":null,"size":890,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"173100d1d1b61a66f89d9e80c9d1a5f3cf9630fa","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":93396771,"name":"manageiq-providers-nuage","full_name":"ManageIQ/manageiq-providers-nuage","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq-providers-nuage","description":"ManageIQ plugin for the Nuage provider. http://manageiq.org","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage","forks_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/deployments","created_at":"2017-06-05T11:25:41Z","updated_at":"2018-05-09T18:02:40Z","pushed_at":"2018-05-25T14:28:48Z","git_url":"git://github.com/ManageIQ/manageiq-providers-nuage.git","ssh_url":"git@github.com:ManageIQ/manageiq-providers-nuage.git","clone_url":"https://github.com/ManageIQ/manageiq-providers-nuage.git","svn_url":"https://github.com/ManageIQ/manageiq-providers-nuage","homepage":null,"size":213,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":21,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/92"},"html":{"href":"https://github.com/ManageIQ/manageiq-providers-nuage/pull/92"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/issues/92"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-nuage/statuses/1e0c72e1ba227ea4f7f79c5ae55564dae2767566"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":182,"deletions":334,"changed_files":22}}
{"actor":{"display_login":"miha-plesko"}}