{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments/89105694","pull_request_review_id":9654250,"id":89105694,"diff_hunk":"@@ -131,8 +148,11 @@ var server = {};\n                 secured: false\n             };\n         }\n-        //loads the tenant if it hasn't been loaded\n-        server.loadTenant(obj);\n+\n+        if(obj.tenantId != -1){","path":"features/org.wso2.carbon.appmgt.core.feature/src/main/resources/jaggery-modules/store/scripts/server.js","position":65,"original_position":65,"commit_id":"1dea6930af922505dff3f927f6911e30d84165ed","original_commit_id":"1dea6930af922505dff3f927f6911e30d84165ed","user":{"login":"lakshani","id":11018512,"avatar_url":"https://avatars.githubusercontent.com/u/11018512?v=3","gravatar_id":"","url":"https://api.github.com/users/lakshani","html_url":"https://github.com/lakshani","followers_url":"https://api.github.com/users/lakshani/followers","following_url":"https://api.github.com/users/lakshani/following{/other_user}","gists_url":"https://api.github.com/users/lakshani/gists{/gist_id}","starred_url":"https://api.github.com/users/lakshani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakshani/subscriptions","organizations_url":"https://api.github.com/users/lakshani/orgs","repos_url":"https://api.github.com/users/lakshani/repos","events_url":"https://api.github.com/users/lakshani/events{/privacy}","received_events_url":"https://api.github.com/users/lakshani/received_events","type":"User","site_admin":false},"body":"Fixed in https://github.com/wso2/carbon-appmgt/pull/539/commits/207d3b1c14192fee91f6d02b39c54f42bdf46e92","created_at":"2016-11-22T12:32:22Z","updated_at":"2016-11-22T12:32:22Z","html_url":"https://github.com/wso2/carbon-appmgt/pull/284#discussion_r89105694","pull_request_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments/89105694"},"html":{"href":"https://github.com/wso2/carbon-appmgt/pull/284#discussion_r89105694"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284","id":67682499,"html_url":"https://github.com/wso2/carbon-appmgt/pull/284","diff_url":"https://github.com/wso2/carbon-appmgt/pull/284.diff","patch_url":"https://github.com/wso2/carbon-appmgt/pull/284.patch","issue_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/284","number":284,"state":"closed","locked":false,"title":"Decoupling Gateway and Impl components.","user":{"login":"lakshani","id":11018512,"avatar_url":"https://avatars.githubusercontent.com/u/11018512?v=3","gravatar_id":"","url":"https://api.github.com/users/lakshani","html_url":"https://github.com/lakshani","followers_url":"https://api.github.com/users/lakshani/followers","following_url":"https://api.github.com/users/lakshani/following{/other_user}","gists_url":"https://api.github.com/users/lakshani/gists{/gist_id}","starred_url":"https://api.github.com/users/lakshani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakshani/subscriptions","organizations_url":"https://api.github.com/users/lakshani/orgs","repos_url":"https://api.github.com/users/lakshani/repos","events_url":"https://api.github.com/users/lakshani/events{/privacy}","received_events_url":"https://api.github.com/users/lakshani/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-25T08:35:21Z","updated_at":"2016-11-22T12:32:22Z","closed_at":"2016-06-10T17:11:32Z","merged_at":"2016-06-10T17:11:32Z","merge_commit_sha":"d387acc6081f5454137ec25da9b30d03ebfef007","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/284/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-appmgt/statuses/1dea6930af922505dff3f927f6911e30d84165ed","head":{"label":"lakshani:feature-category","ref":"feature-category","sha":"1dea6930af922505dff3f927f6911e30d84165ed","user":{"login":"lakshani","id":11018512,"avatar_url":"https://avatars.githubusercontent.com/u/11018512?v=3","gravatar_id":"","url":"https://api.github.com/users/lakshani","html_url":"https://github.com/lakshani","followers_url":"https://api.github.com/users/lakshani/followers","following_url":"https://api.github.com/users/lakshani/following{/other_user}","gists_url":"https://api.github.com/users/lakshani/gists{/gist_id}","starred_url":"https://api.github.com/users/lakshani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakshani/subscriptions","organizations_url":"https://api.github.com/users/lakshani/orgs","repos_url":"https://api.github.com/users/lakshani/repos","events_url":"https://api.github.com/users/lakshani/events{/privacy}","received_events_url":"https://api.github.com/users/lakshani/received_events","type":"User","site_admin":false},"repo":{"id":32976357,"name":"carbon-appmgt","full_name":"lakshani/carbon-appmgt","owner":{"login":"lakshani","id":11018512,"avatar_url":"https://avatars.githubusercontent.com/u/11018512?v=3","gravatar_id":"","url":"https://api.github.com/users/lakshani","html_url":"https://github.com/lakshani","followers_url":"https://api.github.com/users/lakshani/followers","following_url":"https://api.github.com/users/lakshani/following{/other_user}","gists_url":"https://api.github.com/users/lakshani/gists{/gist_id}","starred_url":"https://api.github.com/users/lakshani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakshani/subscriptions","organizations_url":"https://api.github.com/users/lakshani/orgs","repos_url":"https://api.github.com/users/lakshani/repos","events_url":"https://api.github.com/users/lakshani/events{/privacy}","received_events_url":"https://api.github.com/users/lakshani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lakshani/carbon-appmgt","description":null,"fork":true,"url":"https://api.github.com/repos/lakshani/carbon-appmgt","forks_url":"https://api.github.com/repos/lakshani/carbon-appmgt/forks","keys_url":"https://api.github.com/repos/lakshani/carbon-appmgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lakshani/carbon-appmgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lakshani/carbon-appmgt/teams","hooks_url":"https://api.github.com/repos/lakshani/carbon-appmgt/hooks","issue_events_url":"https://api.github.com/repos/lakshani/carbon-appmgt/issues/events{/number}","events_url":"https://api.github.com/repos/lakshani/carbon-appmgt/events","assignees_url":"https://api.github.com/repos/lakshani/carbon-appmgt/assignees{/user}","branches_url":"https://api.github.com/repos/lakshani/carbon-appmgt/branches{/branch}","tags_url":"https://api.github.com/repos/lakshani/carbon-appmgt/tags","blobs_url":"https://api.github.com/repos/lakshani/carbon-appmgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lakshani/carbon-appmgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lakshani/carbon-appmgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/lakshani/carbon-appmgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lakshani/carbon-appmgt/statuses/{sha}","languages_url":"https://api.github.com/repos/lakshani/carbon-appmgt/languages","stargazers_url":"https://api.github.com/repos/lakshani/carbon-appmgt/stargazers","contributors_url":"https://api.github.com/repos/lakshani/carbon-appmgt/contributors","subscribers_url":"https://api.github.com/repos/lakshani/carbon-appmgt/subscribers","subscription_url":"https://api.github.com/repos/lakshani/carbon-appmgt/subscription","commits_url":"https://api.github.com/repos/lakshani/carbon-appmgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/lakshani/carbon-appmgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/lakshani/carbon-appmgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/lakshani/carbon-appmgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/lakshani/carbon-appmgt/contents/{+path}","compare_url":"https://api.github.com/repos/lakshani/carbon-appmgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lakshani/carbon-appmgt/merges","archive_url":"https://api.github.com/repos/lakshani/carbon-appmgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lakshani/carbon-appmgt/downloads","issues_url":"https://api.github.com/repos/lakshani/carbon-appmgt/issues{/number}","pulls_url":"https://api.github.com/repos/lakshani/carbon-appmgt/pulls{/number}","milestones_url":"https://api.github.com/repos/lakshani/carbon-appmgt/milestones{/number}","notifications_url":"https://api.github.com/repos/lakshani/carbon-appmgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lakshani/carbon-appmgt/labels{/name}","releases_url":"https://api.github.com/repos/lakshani/carbon-appmgt/releases{/id}","deployments_url":"https://api.github.com/repos/lakshani/carbon-appmgt/deployments","created_at":"2015-03-27T08:53:43Z","updated_at":"2015-08-28T11:13:10Z","pushed_at":"2016-11-22T12:21:28Z","git_url":"git://github.com/lakshani/carbon-appmgt.git","ssh_url":"git@github.com:lakshani/carbon-appmgt.git","clone_url":"https://github.com/lakshani/carbon-appmgt.git","svn_url":"https://github.com/lakshani/carbon-appmgt","homepage":null,"size":31001,"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":"feature/mdmintegration"}},"base":{"label":"wso2:master","ref":"master","sha":"70a2b8271f780d72e125cc3796add56d1752d2a1","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":17201753,"name":"carbon-appmgt","full_name":"wso2/carbon-appmgt","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-appmgt","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/carbon-appmgt","forks_url":"https://api.github.com/repos/wso2/carbon-appmgt/forks","keys_url":"https://api.github.com/repos/wso2/carbon-appmgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-appmgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-appmgt/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-appmgt/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-appmgt/events","assignees_url":"https://api.github.com/repos/wso2/carbon-appmgt/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-appmgt/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-appmgt/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-appmgt/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-appmgt/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-appmgt/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-appmgt/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-appmgt/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-appmgt/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-appmgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-appmgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-appmgt/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-appmgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-appmgt/merges","archive_url":"https://api.github.com/repos/wso2/carbon-appmgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-appmgt/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-appmgt/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-appmgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-appmgt/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-appmgt/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-appmgt/deployments","created_at":"2014-02-26T06:47:05Z","updated_at":"2016-10-26T18:14:57Z","pushed_at":"2016-11-22T12:21:28Z","git_url":"git://github.com/wso2/carbon-appmgt.git","ssh_url":"git@github.com:wso2/carbon-appmgt.git","clone_url":"https://github.com/wso2/carbon-appmgt.git","svn_url":"https://github.com/wso2/carbon-appmgt","homepage":null,"size":33538,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":7,"forks":48,"open_issues":7,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284"},"html":{"href":"https://github.com/wso2/carbon-appmgt/pull/284"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/issues/284"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/issues/284/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/284/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/statuses/1dea6930af922505dff3f927f6911e30d84165ed"}}}}
{"actor":{"display_login":"lakshani"}}