{"action":"opened","number":181,"pull_request":{"url":"https://api.github.com/repos/rhq-project/rhq/pulls/181","id":39578820,"html_url":"https://github.com/rhq-project/rhq/pull/181","diff_url":"https://github.com/rhq-project/rhq/pull/181.diff","patch_url":"https://github.com/rhq-project/rhq/pull/181.patch","issue_url":"https://api.github.com/repos/rhq-project/rhq/issues/181","number":181,"state":"open","locked":false,"title":"Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to …","user":{"login":"lzoubek","id":367247,"avatar_url":"https://avatars.githubusercontent.com/u/367247?v=3","gravatar_id":"","url":"https://api.github.com/users/lzoubek","html_url":"https://github.com/lzoubek","followers_url":"https://api.github.com/users/lzoubek/followers","following_url":"https://api.github.com/users/lzoubek/following{/other_user}","gists_url":"https://api.github.com/users/lzoubek/gists{/gist_id}","starred_url":"https://api.github.com/users/lzoubek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzoubek/subscriptions","organizations_url":"https://api.github.com/users/lzoubek/orgs","repos_url":"https://api.github.com/users/lzoubek/repos","events_url":"https://api.github.com/users/lzoubek/events{/privacy}","received_events_url":"https://api.github.com/users/lzoubek/received_events","type":"User","site_admin":false},"body":"…display\r\n\r\ngroups due to UI timeouts\r\n\r\nReplace subqueries by JOINs. Due to JPA limitation of subqueries (One cannot\r\nwrite select x from (select y from z)). One query has been replaced with 2\r\n(or 3) queries which we have to join in memory. This should not be a perf\r\nissue, since we're joining composite instance sets (max count of such set\r\nequals to total resource group count in DB). A case when 2 (or 3) subsequent\r\nqueries could return sets of different sizes (due to underlying group\r\ndeletion/addition) is handled as well.","created_at":"2015-07-09T12:45:56Z","updated_at":"2015-07-09T12:45:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rhq-project/rhq/pulls/181/commits","review_comments_url":"https://api.github.com/repos/rhq-project/rhq/pulls/181/comments","review_comment_url":"https://api.github.com/repos/rhq-project/rhq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rhq-project/rhq/issues/181/comments","statuses_url":"https://api.github.com/repos/rhq-project/rhq/statuses/5cc77db6b8ec6873a95d596d04376f4dccf08b32","head":{"label":"lzoubek:bugs/1240854","ref":"bugs/1240854","sha":"5cc77db6b8ec6873a95d596d04376f4dccf08b32","user":{"login":"lzoubek","id":367247,"avatar_url":"https://avatars.githubusercontent.com/u/367247?v=3","gravatar_id":"","url":"https://api.github.com/users/lzoubek","html_url":"https://github.com/lzoubek","followers_url":"https://api.github.com/users/lzoubek/followers","following_url":"https://api.github.com/users/lzoubek/following{/other_user}","gists_url":"https://api.github.com/users/lzoubek/gists{/gist_id}","starred_url":"https://api.github.com/users/lzoubek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzoubek/subscriptions","organizations_url":"https://api.github.com/users/lzoubek/orgs","repos_url":"https://api.github.com/users/lzoubek/repos","events_url":"https://api.github.com/users/lzoubek/events{/privacy}","received_events_url":"https://api.github.com/users/lzoubek/received_events","type":"User","site_admin":false},"repo":{"id":17280267,"name":"rhq","full_name":"lzoubek/rhq","owner":{"login":"lzoubek","id":367247,"avatar_url":"https://avatars.githubusercontent.com/u/367247?v=3","gravatar_id":"","url":"https://api.github.com/users/lzoubek","html_url":"https://github.com/lzoubek","followers_url":"https://api.github.com/users/lzoubek/followers","following_url":"https://api.github.com/users/lzoubek/following{/other_user}","gists_url":"https://api.github.com/users/lzoubek/gists{/gist_id}","starred_url":"https://api.github.com/users/lzoubek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzoubek/subscriptions","organizations_url":"https://api.github.com/users/lzoubek/orgs","repos_url":"https://api.github.com/users/lzoubek/repos","events_url":"https://api.github.com/users/lzoubek/events{/privacy}","received_events_url":"https://api.github.com/users/lzoubek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lzoubek/rhq","description":"RHQ system management and monitoring framework","fork":true,"url":"https://api.github.com/repos/lzoubek/rhq","forks_url":"https://api.github.com/repos/lzoubek/rhq/forks","keys_url":"https://api.github.com/repos/lzoubek/rhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lzoubek/rhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lzoubek/rhq/teams","hooks_url":"https://api.github.com/repos/lzoubek/rhq/hooks","issue_events_url":"https://api.github.com/repos/lzoubek/rhq/issues/events{/number}","events_url":"https://api.github.com/repos/lzoubek/rhq/events","assignees_url":"https://api.github.com/repos/lzoubek/rhq/assignees{/user}","branches_url":"https://api.github.com/repos/lzoubek/rhq/branches{/branch}","tags_url":"https://api.github.com/repos/lzoubek/rhq/tags","blobs_url":"https://api.github.com/repos/lzoubek/rhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lzoubek/rhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lzoubek/rhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/lzoubek/rhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lzoubek/rhq/statuses/{sha}","languages_url":"https://api.github.com/repos/lzoubek/rhq/languages","stargazers_url":"https://api.github.com/repos/lzoubek/rhq/stargazers","contributors_url":"https://api.github.com/repos/lzoubek/rhq/contributors","subscribers_url":"https://api.github.com/repos/lzoubek/rhq/subscribers","subscription_url":"https://api.github.com/repos/lzoubek/rhq/subscription","commits_url":"https://api.github.com/repos/lzoubek/rhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/lzoubek/rhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/lzoubek/rhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/lzoubek/rhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/lzoubek/rhq/contents/{+path}","compare_url":"https://api.github.com/repos/lzoubek/rhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lzoubek/rhq/merges","archive_url":"https://api.github.com/repos/lzoubek/rhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lzoubek/rhq/downloads","issues_url":"https://api.github.com/repos/lzoubek/rhq/issues{/number}","pulls_url":"https://api.github.com/repos/lzoubek/rhq/pulls{/number}","milestones_url":"https://api.github.com/repos/lzoubek/rhq/milestones{/number}","notifications_url":"https://api.github.com/repos/lzoubek/rhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lzoubek/rhq/labels{/name}","releases_url":"https://api.github.com/repos/lzoubek/rhq/releases{/id}","created_at":"2014-02-28T08:37:41Z","updated_at":"2015-01-10T13:01:44Z","pushed_at":"2015-07-09T12:41:50Z","git_url":"git://github.com/lzoubek/rhq.git","ssh_url":"git@github.com:lzoubek/rhq.git","clone_url":"https://github.com/lzoubek/rhq.git","svn_url":"https://github.com/lzoubek/rhq","homepage":"http://jboss.org/rhq","size":130527,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":"rhq-project:master","ref":"master","sha":"7bf40ec107203bb56c30a048855f1f03f291336f","user":{"login":"rhq-project","id":1080166,"avatar_url":"https://avatars.githubusercontent.com/u/1080166?v=3","gravatar_id":"","url":"https://api.github.com/users/rhq-project","html_url":"https://github.com/rhq-project","followers_url":"https://api.github.com/users/rhq-project/followers","following_url":"https://api.github.com/users/rhq-project/following{/other_user}","gists_url":"https://api.github.com/users/rhq-project/gists{/gist_id}","starred_url":"https://api.github.com/users/rhq-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhq-project/subscriptions","organizations_url":"https://api.github.com/users/rhq-project/orgs","repos_url":"https://api.github.com/users/rhq-project/repos","events_url":"https://api.github.com/users/rhq-project/events{/privacy}","received_events_url":"https://api.github.com/users/rhq-project/received_events","type":"Organization","site_admin":false},"repo":{"id":17278009,"name":"rhq","full_name":"rhq-project/rhq","owner":{"login":"rhq-project","id":1080166,"avatar_url":"https://avatars.githubusercontent.com/u/1080166?v=3","gravatar_id":"","url":"https://api.github.com/users/rhq-project","html_url":"https://github.com/rhq-project","followers_url":"https://api.github.com/users/rhq-project/followers","following_url":"https://api.github.com/users/rhq-project/following{/other_user}","gists_url":"https://api.github.com/users/rhq-project/gists{/gist_id}","starred_url":"https://api.github.com/users/rhq-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhq-project/subscriptions","organizations_url":"https://api.github.com/users/rhq-project/orgs","repos_url":"https://api.github.com/users/rhq-project/repos","events_url":"https://api.github.com/users/rhq-project/events{/privacy}","received_events_url":"https://api.github.com/users/rhq-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rhq-project/rhq","description":"RHQ system management and monitoring framework","fork":false,"url":"https://api.github.com/repos/rhq-project/rhq","forks_url":"https://api.github.com/repos/rhq-project/rhq/forks","keys_url":"https://api.github.com/repos/rhq-project/rhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhq-project/rhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhq-project/rhq/teams","hooks_url":"https://api.github.com/repos/rhq-project/rhq/hooks","issue_events_url":"https://api.github.com/repos/rhq-project/rhq/issues/events{/number}","events_url":"https://api.github.com/repos/rhq-project/rhq/events","assignees_url":"https://api.github.com/repos/rhq-project/rhq/assignees{/user}","branches_url":"https://api.github.com/repos/rhq-project/rhq/branches{/branch}","tags_url":"https://api.github.com/repos/rhq-project/rhq/tags","blobs_url":"https://api.github.com/repos/rhq-project/rhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhq-project/rhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhq-project/rhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhq-project/rhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhq-project/rhq/statuses/{sha}","languages_url":"https://api.github.com/repos/rhq-project/rhq/languages","stargazers_url":"https://api.github.com/repos/rhq-project/rhq/stargazers","contributors_url":"https://api.github.com/repos/rhq-project/rhq/contributors","subscribers_url":"https://api.github.com/repos/rhq-project/rhq/subscribers","subscription_url":"https://api.github.com/repos/rhq-project/rhq/subscription","commits_url":"https://api.github.com/repos/rhq-project/rhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhq-project/rhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhq-project/rhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhq-project/rhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhq-project/rhq/contents/{+path}","compare_url":"https://api.github.com/repos/rhq-project/rhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhq-project/rhq/merges","archive_url":"https://api.github.com/repos/rhq-project/rhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhq-project/rhq/downloads","issues_url":"https://api.github.com/repos/rhq-project/rhq/issues{/number}","pulls_url":"https://api.github.com/repos/rhq-project/rhq/pulls{/number}","milestones_url":"https://api.github.com/repos/rhq-project/rhq/milestones{/number}","notifications_url":"https://api.github.com/repos/rhq-project/rhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhq-project/rhq/labels{/name}","releases_url":"https://api.github.com/repos/rhq-project/rhq/releases{/id}","created_at":"2014-02-28T06:54:47Z","updated_at":"2015-07-07T10:29:24Z","pushed_at":"2015-07-06T16:19:20Z","git_url":"git://github.com/rhq-project/rhq.git","ssh_url":"git@github.com:rhq-project/rhq.git","clone_url":"https://github.com/rhq-project/rhq.git","svn_url":"https://github.com/rhq-project/rhq","homepage":"http://jboss.org/rhq","size":505627,"stargazers_count":60,"watchers_count":60,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":18,"forks":45,"open_issues":18,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rhq-project/rhq/pulls/181"},"html":{"href":"https://github.com/rhq-project/rhq/pull/181"},"issue":{"href":"https://api.github.com/repos/rhq-project/rhq/issues/181"},"comments":{"href":"https://api.github.com/repos/rhq-project/rhq/issues/181/comments"},"review_comments":{"href":"https://api.github.com/repos/rhq-project/rhq/pulls/181/comments"},"review_comment":{"href":"https://api.github.com/repos/rhq-project/rhq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rhq-project/rhq/pulls/181/commits"},"statuses":{"href":"https://api.github.com/repos/rhq-project/rhq/statuses/5cc77db6b8ec6873a95d596d04376f4dccf08b32"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":153,"deletions":40,"changed_files":2}}