{"action":"closed","number":263,"pull_request":{"url":"https://api.github.com/repos/openshift/console/pulls/263","id":202118536,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMTE4NTM2","html_url":"https://github.com/openshift/console/pull/263","diff_url":"https://github.com/openshift/console/pull/263.diff","patch_url":"https://github.com/openshift/console/pull/263.patch","issue_url":"https://api.github.com/repos/openshift/console/issues/263","number":263,"state":"closed","locked":false,"title":"Search View Displays Resources from API Discovery","user":{"login":"alecmerdler","id":11700385,"node_id":"MDQ6VXNlcjExNzAwMzg1","avatar_url":"https://avatars2.githubusercontent.com/u/11700385?v=4","gravatar_id":"","url":"https://api.github.com/users/alecmerdler","html_url":"https://github.com/alecmerdler","followers_url":"https://api.github.com/users/alecmerdler/followers","following_url":"https://api.github.com/users/alecmerdler/following{/other_user}","gists_url":"https://api.github.com/users/alecmerdler/gists{/gist_id}","starred_url":"https://api.github.com/users/alecmerdler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecmerdler/subscriptions","organizations_url":"https://api.github.com/users/alecmerdler/orgs","repos_url":"https://api.github.com/users/alecmerdler/repos","events_url":"https://api.github.com/users/alecmerdler/events{/privacy}","received_events_url":"https://api.github.com/users/alecmerdler/received_events","type":"User","site_admin":false},"body":"### Description\r\n\r\nUpdates the Kubernetes API discovery code to omit static models from Redux if they are not present on the cluster. Also refactors the \"Search\" view to show all resources present on the cluster. Exposes the still-present tech debt of referencing resources using `kind` and not `GroupVersionKind`.\r\n\r\nAlso updates API discovery code to only fetch the `preferredVersion` for each APIGroup, significantly reducing the number of requests.\r\n\r\n### Screenshots\r\n\r\n**Search view (notice `apiVersion` added to dropdown items):**\r\n![screenshot_20180724_122913](https://user-images.githubusercontent.com/11700385/43152681-35164fcc-8f3d-11e8-85a7-badd1175fe4b.png)\r\n\r\nFixes https://jira.coreos.com/browse/CONSOLE-627\r\nFixes https://jira.coreos.com/browse/CONSOLE-618","created_at":"2018-07-18T01:57:42Z","updated_at":"2018-07-26T18:29:57Z","closed_at":"2018-07-26T18:29:57Z","merged_at":"2018-07-26T18:29:57Z","merge_commit_sha":"5fbbce64ce7bd4fe92b59bad9ebd43f4e023676d","assignee":{"login":"spadgett","id":1167259,"node_id":"MDQ6VXNlcjExNjcyNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1167259?v=4","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"assignees":[{"login":"spadgett","id":1167259,"node_id":"MDQ6VXNlcjExNjcyNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1167259?v=4","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"benjaminapetersen","id":280512,"node_id":"MDQ6VXNlcjI4MDUxMg==","avatar_url":"https://avatars0.githubusercontent.com/u/280512?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminapetersen","html_url":"https://github.com/benjaminapetersen","followers_url":"https://api.github.com/users/benjaminapetersen/followers","following_url":"https://api.github.com/users/benjaminapetersen/following{/other_user}","gists_url":"https://api.github.com/users/benjaminapetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminapetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminapetersen/subscriptions","organizations_url":"https://api.github.com/users/benjaminapetersen/orgs","repos_url":"https://api.github.com/users/benjaminapetersen/repos","events_url":"https://api.github.com/users/benjaminapetersen/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminapetersen/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":926926095,"node_id":"MDU6TGFiZWw5MjY5MjYwOTU=","url":"https://api.github.com/repos/openshift/console/labels/lgtm","name":"lgtm","color":"15dd18","default":false},{"id":926924366,"node_id":"MDU6TGFiZWw5MjY5MjQzNjY=","url":"https://api.github.com/repos/openshift/console/labels/size/L","name":"size/L","color":"ee9900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/console/pulls/263/commits","review_comments_url":"https://api.github.com/repos/openshift/console/pulls/263/comments","review_comment_url":"https://api.github.com/repos/openshift/console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/console/issues/263/comments","statuses_url":"https://api.github.com/repos/openshift/console/statuses/8094e7656c7966dd8e1c7cdd7cf1b38fc06b41dd","head":{"label":"alecmerdler:CONSOLE-627","ref":"CONSOLE-627","sha":"8094e7656c7966dd8e1c7cdd7cf1b38fc06b41dd","user":{"login":"alecmerdler","id":11700385,"node_id":"MDQ6VXNlcjExNzAwMzg1","avatar_url":"https://avatars2.githubusercontent.com/u/11700385?v=4","gravatar_id":"","url":"https://api.github.com/users/alecmerdler","html_url":"https://github.com/alecmerdler","followers_url":"https://api.github.com/users/alecmerdler/followers","following_url":"https://api.github.com/users/alecmerdler/following{/other_user}","gists_url":"https://api.github.com/users/alecmerdler/gists{/gist_id}","starred_url":"https://api.github.com/users/alecmerdler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecmerdler/subscriptions","organizations_url":"https://api.github.com/users/alecmerdler/orgs","repos_url":"https://api.github.com/users/alecmerdler/repos","events_url":"https://api.github.com/users/alecmerdler/events{/privacy}","received_events_url":"https://api.github.com/users/alecmerdler/received_events","type":"User","site_admin":false},"repo":{"id":133185134,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxODUxMzQ=","name":"console","full_name":"alecmerdler/console","owner":{"login":"alecmerdler","id":11700385,"node_id":"MDQ6VXNlcjExNzAwMzg1","avatar_url":"https://avatars2.githubusercontent.com/u/11700385?v=4","gravatar_id":"","url":"https://api.github.com/users/alecmerdler","html_url":"https://github.com/alecmerdler","followers_url":"https://api.github.com/users/alecmerdler/followers","following_url":"https://api.github.com/users/alecmerdler/following{/other_user}","gists_url":"https://api.github.com/users/alecmerdler/gists{/gist_id}","starred_url":"https://api.github.com/users/alecmerdler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecmerdler/subscriptions","organizations_url":"https://api.github.com/users/alecmerdler/orgs","repos_url":"https://api.github.com/users/alecmerdler/repos","events_url":"https://api.github.com/users/alecmerdler/events{/privacy}","received_events_url":"https://api.github.com/users/alecmerdler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alecmerdler/console","description":"Tectonic Console UI","fork":true,"url":"https://api.github.com/repos/alecmerdler/console","forks_url":"https://api.github.com/repos/alecmerdler/console/forks","keys_url":"https://api.github.com/repos/alecmerdler/console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alecmerdler/console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alecmerdler/console/teams","hooks_url":"https://api.github.com/repos/alecmerdler/console/hooks","issue_events_url":"https://api.github.com/repos/alecmerdler/console/issues/events{/number}","events_url":"https://api.github.com/repos/alecmerdler/console/events","assignees_url":"https://api.github.com/repos/alecmerdler/console/assignees{/user}","branches_url":"https://api.github.com/repos/alecmerdler/console/branches{/branch}","tags_url":"https://api.github.com/repos/alecmerdler/console/tags","blobs_url":"https://api.github.com/repos/alecmerdler/console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alecmerdler/console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alecmerdler/console/git/refs{/sha}","trees_url":"https://api.github.com/repos/alecmerdler/console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alecmerdler/console/statuses/{sha}","languages_url":"https://api.github.com/repos/alecmerdler/console/languages","stargazers_url":"https://api.github.com/repos/alecmerdler/console/stargazers","contributors_url":"https://api.github.com/repos/alecmerdler/console/contributors","subscribers_url":"https://api.github.com/repos/alecmerdler/console/subscribers","subscription_url":"https://api.github.com/repos/alecmerdler/console/subscription","commits_url":"https://api.github.com/repos/alecmerdler/console/commits{/sha}","git_commits_url":"https://api.github.com/repos/alecmerdler/console/git/commits{/sha}","comments_url":"https://api.github.com/repos/alecmerdler/console/comments{/number}","issue_comment_url":"https://api.github.com/repos/alecmerdler/console/issues/comments{/number}","contents_url":"https://api.github.com/repos/alecmerdler/console/contents/{+path}","compare_url":"https://api.github.com/repos/alecmerdler/console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alecmerdler/console/merges","archive_url":"https://api.github.com/repos/alecmerdler/console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alecmerdler/console/downloads","issues_url":"https://api.github.com/repos/alecmerdler/console/issues{/number}","pulls_url":"https://api.github.com/repos/alecmerdler/console/pulls{/number}","milestones_url":"https://api.github.com/repos/alecmerdler/console/milestones{/number}","notifications_url":"https://api.github.com/repos/alecmerdler/console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alecmerdler/console/labels{/name}","releases_url":"https://api.github.com/repos/alecmerdler/console/releases{/id}","deployments_url":"https://api.github.com/repos/alecmerdler/console/deployments","created_at":"2018-05-12T21:36:19Z","updated_at":"2018-07-26T14:12:31Z","pushed_at":"2018-07-26T14:53:35Z","git_url":"git://github.com/alecmerdler/console.git","ssh_url":"git@github.com:alecmerdler/console.git","clone_url":"https://github.com/alecmerdler/console.git","svn_url":"https://github.com/alecmerdler/console","homepage":null,"size":87084,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"9ec01caeb1a7aba3b983699eec91ac60cfefcdc2","user":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":129436456,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk0MzY0NTY=","name":"console","full_name":"openshift/console","owner":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/console","description":"OpenShift Cluster Console UI","fork":false,"url":"https://api.github.com/repos/openshift/console","forks_url":"https://api.github.com/repos/openshift/console/forks","keys_url":"https://api.github.com/repos/openshift/console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/console/teams","hooks_url":"https://api.github.com/repos/openshift/console/hooks","issue_events_url":"https://api.github.com/repos/openshift/console/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/console/events","assignees_url":"https://api.github.com/repos/openshift/console/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/console/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/console/tags","blobs_url":"https://api.github.com/repos/openshift/console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/console/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/console/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/console/languages","stargazers_url":"https://api.github.com/repos/openshift/console/stargazers","contributors_url":"https://api.github.com/repos/openshift/console/contributors","subscribers_url":"https://api.github.com/repos/openshift/console/subscribers","subscription_url":"https://api.github.com/repos/openshift/console/subscription","commits_url":"https://api.github.com/repos/openshift/console/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/console/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/console/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/console/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/console/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/console/merges","archive_url":"https://api.github.com/repos/openshift/console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/console/downloads","issues_url":"https://api.github.com/repos/openshift/console/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/console/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/console/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/console/labels{/name}","releases_url":"https://api.github.com/repos/openshift/console/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/console/deployments","created_at":"2018-04-13T17:54:59Z","updated_at":"2018-07-26T17:39:01Z","pushed_at":"2018-07-26T18:29:57Z","git_url":"git://github.com/openshift/console.git","ssh_url":"git@github.com:openshift/console.git","clone_url":"https://github.com/openshift/console.git","svn_url":"https://github.com/openshift/console","homepage":"https://www.openshift.org","size":87060,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":28,"open_issues":25,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/console/pulls/263"},"html":{"href":"https://github.com/openshift/console/pull/263"},"issue":{"href":"https://api.github.com/repos/openshift/console/issues/263"},"comments":{"href":"https://api.github.com/repos/openshift/console/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/console/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/console/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/console/statuses/8094e7656c7966dd8e1c7cdd7cf1b38fc06b41dd"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"spadgett","id":1167259,"node_id":"MDQ6VXNlcjExNjcyNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1167259?v=4","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"comments":2,"review_comments":22,"maintainer_can_modify":false,"commits":2,"additions":138,"deletions":290,"changed_files":11}}
{"actor":{"display_login":"spadgett"}}