{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/2282","repository_url":"https://api.github.com/repos/apache/cloudstack","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/2282/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/2282/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/2282/events","html_url":"https://github.com/apache/cloudstack/pull/2282","id":262338528,"number":2282,"title":"CLOUDSTACK-10104:Optimize database transactions in ListDomain API to improve performance","user":{"login":"PranaliM","id":24890708,"avatar_url":"https://avatars1.githubusercontent.com/u/24890708?v=4","gravatar_id":"","url":"https://api.github.com/users/PranaliM","html_url":"https://github.com/PranaliM","followers_url":"https://api.github.com/users/PranaliM/followers","following_url":"https://api.github.com/users/PranaliM/following{/other_user}","gists_url":"https://api.github.com/users/PranaliM/gists{/gist_id}","starred_url":"https://api.github.com/users/PranaliM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PranaliM/subscriptions","organizations_url":"https://api.github.com/users/PranaliM/orgs","repos_url":"https://api.github.com/users/PranaliM/repos","events_url":"https://api.github.com/users/PranaliM/events{/privacy}","received_events_url":"https://api.github.com/users/PranaliM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-03T08:06:24Z","updated_at":"2017-10-10T04:43:35Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/2282","html_url":"https://github.com/apache/cloudstack/pull/2282","diff_url":"https://github.com/apache/cloudstack/pull/2282.diff","patch_url":"https://github.com/apache/cloudstack/pull/2282.patch"},"body":"**Description:**\r\nWhile creating the response object for the 'listDomain' API, several database calls are triggered to fetch details like parent domain, project limit, IP limit, etc. These database calls are triggered for each record found in the main fetch query, which is causing the response to slow down.\r\n\r\n**Fix:**\r\nThe database transactions are reduced to improve response of the Listdomain API"},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/335359399","html_url":"https://github.com/apache/cloudstack/pull/2282#issuecomment-335359399","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/2282","id":335359399,"user":{"login":"blueorangutan","id":16489489,"avatar_url":"https://avatars2.githubusercontent.com/u/16489489?v=4","gravatar_id":"","url":"https://api.github.com/users/blueorangutan","html_url":"https://github.com/blueorangutan","followers_url":"https://api.github.com/users/blueorangutan/followers","following_url":"https://api.github.com/users/blueorangutan/following{/other_user}","gists_url":"https://api.github.com/users/blueorangutan/gists{/gist_id}","starred_url":"https://api.github.com/users/blueorangutan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueorangutan/subscriptions","organizations_url":"https://api.github.com/users/blueorangutan/orgs","repos_url":"https://api.github.com/users/blueorangutan/repos","events_url":"https://api.github.com/users/blueorangutan/events{/privacy}","received_events_url":"https://api.github.com/users/blueorangutan/received_events","type":"User","site_admin":false},"created_at":"2017-10-10T04:43:35Z","updated_at":"2017-10-10T04:43:35Z","author_association":"NONE","body":"@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress."}}
{"actor":{"display_login":"blueorangutan"}}