{"action":"created","comment":{"url":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/comments/81725594","pull_request_review_id":2683521,"id":81725594,"diff_hunk":"@@ -0,0 +1,29 @@\n+<%\n+var log = new Log();\n+\n+include(\"../controllers/wsUtil.jag\");\n+var util = require(\"../util/utility.jag\");\n+\n+var serverUrl = util.getServerUrl();\n+serverUrl = serverUrl + \"/UserStoreConfigAdminService\";\n+var ws = require('ws');\n+var webService = new ws.WSRequest();\n+var i18n = session.get(\"i18n\");\n+\n+var domain = request.getParameter(\"domain\");\n+\n+getDirectory();\n+function getDirectory(){\n+    try{\n+        webService = new ws.WSRequest();\n+        var result = callWSReturnJSON(webService, serverUrl, \"urn:getSecondaryRealmConfigurations\", null);\n+        //return result;\n+        print(result);\n+    }catch(e){\n+        print(e);","path":"jaggeryapps/dashboard/directories/get-directory.jag","position":23,"original_position":23,"commit_id":"9b256661d48db0337dce019590638aa98176da5b","original_commit_id":"7ee67c7cb9218b281d454f1304e12bfee35e1e46","user":{"login":"harsha1979","id":2236308,"avatar_url":"https://avatars.githubusercontent.com/u/2236308?v=3","gravatar_id":"","url":"https://api.github.com/users/harsha1979","html_url":"https://github.com/harsha1979","followers_url":"https://api.github.com/users/harsha1979/followers","following_url":"https://api.github.com/users/harsha1979/following{/other_user}","gists_url":"https://api.github.com/users/harsha1979/gists{/gist_id}","starred_url":"https://api.github.com/users/harsha1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsha1979/subscriptions","organizations_url":"https://api.github.com/users/harsha1979/orgs","repos_url":"https://api.github.com/users/harsha1979/repos","events_url":"https://api.github.com/users/harsha1979/events{/privacy}","received_events_url":"https://api.github.com/users/harsha1979/received_events","type":"User","site_admin":false},"body":"why we are doing both , log and print","created_at":"2016-10-04T10:15:02Z","updated_at":"2016-10-04T10:15:02Z","html_url":"https://github.com/wso2-extensions/identity-cloud/pull/6#discussion_r81725594","pull_request_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/comments/81725594"},"html":{"href":"https://github.com/wso2-extensions/identity-cloud/pull/6#discussion_r81725594"},"pull_request":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6","id":87861950,"html_url":"https://github.com/wso2-extensions/identity-cloud/pull/6","diff_url":"https://github.com/wso2-extensions/identity-cloud/pull/6.diff","patch_url":"https://github.com/wso2-extensions/identity-cloud/pull/6.patch","issue_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/issues/6","number":6,"state":"open","locked":false,"title":"Directory configuration implementation","user":{"login":"godwinamila","id":8766778,"avatar_url":"https://avatars.githubusercontent.com/u/8766778?v=3","gravatar_id":"","url":"https://api.github.com/users/godwinamila","html_url":"https://github.com/godwinamila","followers_url":"https://api.github.com/users/godwinamila/followers","following_url":"https://api.github.com/users/godwinamila/following{/other_user}","gists_url":"https://api.github.com/users/godwinamila/gists{/gist_id}","starred_url":"https://api.github.com/users/godwinamila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godwinamila/subscriptions","organizations_url":"https://api.github.com/users/godwinamila/orgs","repos_url":"https://api.github.com/users/godwinamila/repos","events_url":"https://api.github.com/users/godwinamila/events{/privacy}","received_events_url":"https://api.github.com/users/godwinamila/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-04T09:42:53Z","updated_at":"2016-10-04T10:15:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecbcc94ed73c015ad39a0371958ded40b188aafc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6/commits","review_comments_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6/comments","review_comment_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/issues/6/comments","statuses_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/statuses/9b256661d48db0337dce019590638aa98176da5b","head":{"label":"godwinamila:Directory_integration","ref":"Directory_integration","sha":"9b256661d48db0337dce019590638aa98176da5b","user":{"login":"godwinamila","id":8766778,"avatar_url":"https://avatars.githubusercontent.com/u/8766778?v=3","gravatar_id":"","url":"https://api.github.com/users/godwinamila","html_url":"https://github.com/godwinamila","followers_url":"https://api.github.com/users/godwinamila/followers","following_url":"https://api.github.com/users/godwinamila/following{/other_user}","gists_url":"https://api.github.com/users/godwinamila/gists{/gist_id}","starred_url":"https://api.github.com/users/godwinamila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godwinamila/subscriptions","organizations_url":"https://api.github.com/users/godwinamila/orgs","repos_url":"https://api.github.com/users/godwinamila/repos","events_url":"https://api.github.com/users/godwinamila/events{/privacy}","received_events_url":"https://api.github.com/users/godwinamila/received_events","type":"User","site_admin":false},"repo":{"id":66244730,"name":"identity-cloud","full_name":"godwinamila/identity-cloud","owner":{"login":"godwinamila","id":8766778,"avatar_url":"https://avatars.githubusercontent.com/u/8766778?v=3","gravatar_id":"","url":"https://api.github.com/users/godwinamila","html_url":"https://github.com/godwinamila","followers_url":"https://api.github.com/users/godwinamila/followers","following_url":"https://api.github.com/users/godwinamila/following{/other_user}","gists_url":"https://api.github.com/users/godwinamila/gists{/gist_id}","starred_url":"https://api.github.com/users/godwinamila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godwinamila/subscriptions","organizations_url":"https://api.github.com/users/godwinamila/orgs","repos_url":"https://api.github.com/users/godwinamila/repos","events_url":"https://api.github.com/users/godwinamila/events{/privacy}","received_events_url":"https://api.github.com/users/godwinamila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/godwinamila/identity-cloud","description":null,"fork":true,"url":"https://api.github.com/repos/godwinamila/identity-cloud","forks_url":"https://api.github.com/repos/godwinamila/identity-cloud/forks","keys_url":"https://api.github.com/repos/godwinamila/identity-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godwinamila/identity-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godwinamila/identity-cloud/teams","hooks_url":"https://api.github.com/repos/godwinamila/identity-cloud/hooks","issue_events_url":"https://api.github.com/repos/godwinamila/identity-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/godwinamila/identity-cloud/events","assignees_url":"https://api.github.com/repos/godwinamila/identity-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/godwinamila/identity-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/godwinamila/identity-cloud/tags","blobs_url":"https://api.github.com/repos/godwinamila/identity-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godwinamila/identity-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godwinamila/identity-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/godwinamila/identity-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godwinamila/identity-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/godwinamila/identity-cloud/languages","stargazers_url":"https://api.github.com/repos/godwinamila/identity-cloud/stargazers","contributors_url":"https://api.github.com/repos/godwinamila/identity-cloud/contributors","subscribers_url":"https://api.github.com/repos/godwinamila/identity-cloud/subscribers","subscription_url":"https://api.github.com/repos/godwinamila/identity-cloud/subscription","commits_url":"https://api.github.com/repos/godwinamila/identity-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/godwinamila/identity-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/godwinamila/identity-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/godwinamila/identity-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/godwinamila/identity-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/godwinamila/identity-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godwinamila/identity-cloud/merges","archive_url":"https://api.github.com/repos/godwinamila/identity-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godwinamila/identity-cloud/downloads","issues_url":"https://api.github.com/repos/godwinamila/identity-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/godwinamila/identity-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/godwinamila/identity-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/godwinamila/identity-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godwinamila/identity-cloud/labels{/name}","releases_url":"https://api.github.com/repos/godwinamila/identity-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/godwinamila/identity-cloud/deployments","created_at":"2016-08-22T06:13:32Z","updated_at":"2016-08-01T04:39:21Z","pushed_at":"2016-10-04T09:46:59Z","git_url":"git://github.com/godwinamila/identity-cloud.git","ssh_url":"git@github.com:godwinamila/identity-cloud.git","clone_url":"https://github.com/godwinamila/identity-cloud.git","svn_url":"https://github.com/godwinamila/identity-cloud","homepage":null,"size":2183,"stargazers_count":0,"watchers_count":0,"language":null,"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":"wso2-extensions:master","ref":"master","sha":"f9afe2c3e0ae98d3ff01b14b6e689aedd5073e86","user":{"login":"wso2-extensions","id":17171218,"avatar_url":"https://avatars.githubusercontent.com/u/17171218?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-extensions","html_url":"https://github.com/wso2-extensions","followers_url":"https://api.github.com/users/wso2-extensions/followers","following_url":"https://api.github.com/users/wso2-extensions/following{/other_user}","gists_url":"https://api.github.com/users/wso2-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-extensions/subscriptions","organizations_url":"https://api.github.com/users/wso2-extensions/orgs","repos_url":"https://api.github.com/users/wso2-extensions/repos","events_url":"https://api.github.com/users/wso2-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-extensions/received_events","type":"Organization","site_admin":false},"repo":{"id":64636266,"name":"identity-cloud","full_name":"wso2-extensions/identity-cloud","owner":{"login":"wso2-extensions","id":17171218,"avatar_url":"https://avatars.githubusercontent.com/u/17171218?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-extensions","html_url":"https://github.com/wso2-extensions","followers_url":"https://api.github.com/users/wso2-extensions/followers","following_url":"https://api.github.com/users/wso2-extensions/following{/other_user}","gists_url":"https://api.github.com/users/wso2-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-extensions/subscriptions","organizations_url":"https://api.github.com/users/wso2-extensions/orgs","repos_url":"https://api.github.com/users/wso2-extensions/repos","events_url":"https://api.github.com/users/wso2-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-extensions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2-extensions/identity-cloud","description":null,"fork":false,"url":"https://api.github.com/repos/wso2-extensions/identity-cloud","forks_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/forks","keys_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/teams","hooks_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/hooks","issue_events_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/events","assignees_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/tags","blobs_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/languages","stargazers_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/stargazers","contributors_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/contributors","subscribers_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/subscribers","subscription_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/subscription","commits_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/merges","archive_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/downloads","issues_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/labels{/name}","releases_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/wso2-extensions/identity-cloud/deployments","created_at":"2016-08-01T04:39:21Z","updated_at":"2016-10-03T11:15:55Z","pushed_at":"2016-10-04T09:46:59Z","git_url":"git://github.com/wso2-extensions/identity-cloud.git","ssh_url":"git@github.com:wso2-extensions/identity-cloud.git","clone_url":"https://github.com/wso2-extensions/identity-cloud.git","svn_url":"https://github.com/wso2-extensions/identity-cloud","homepage":null,"size":2195,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6"},"html":{"href":"https://github.com/wso2-extensions/identity-cloud/pull/6"},"issue":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/issues/6"},"comments":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/wso2-extensions/identity-cloud/statuses/9b256661d48db0337dce019590638aa98176da5b"}}}}
{"actor":{"display_login":"harsha1979"}}