{"action":"created","comment":{"url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/comments/166157244","pull_request_review_id":94193152,"id":166157244,"diff_hunk":"@@ -0,0 +1,35 @@\n+var request = require('request');\n+var CryptoJS = require(\"crypto-js\");\n+\n+var domain = \"http://localhost\"","path":"services/widestage.js","position":4,"original_position":4,"commit_id":"c85f34c2cc06dab95d68ffc3abb56b49f94fc332","original_commit_id":"c85f34c2cc06dab95d68ffc3abb56b49f94fc332","user":{"login":"matjames007","id":1425164,"avatar_url":"https://avatars2.githubusercontent.com/u/1425164?v=4","gravatar_id":"","url":"https://api.github.com/users/matjames007","html_url":"https://github.com/matjames007","followers_url":"https://api.github.com/users/matjames007/followers","following_url":"https://api.github.com/users/matjames007/following{/other_user}","gists_url":"https://api.github.com/users/matjames007/gists{/gist_id}","starred_url":"https://api.github.com/users/matjames007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matjames007/subscriptions","organizations_url":"https://api.github.com/users/matjames007/orgs","repos_url":"https://api.github.com/users/matjames007/repos","events_url":"https://api.github.com/users/matjames007/events{/privacy}","received_events_url":"https://api.github.com/users/matjames007/received_events","type":"User","site_admin":false},"body":"@gilgad we need to consolidate all the configuration related items for widestage.... similar to the `MONGO_URI` and any other external resource we should rely on environment variables.","created_at":"2018-02-06T00:38:47Z","updated_at":"2018-02-06T00:38:48Z","html_url":"https://github.com/slashroots/undp-ghg-v2/pull/53#discussion_r166157244","pull_request_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/comments/166157244"},"html":{"href":"https://github.com/slashroots/undp-ghg-v2/pull/53#discussion_r166157244"},"pull_request":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53","id":167291281,"html_url":"https://github.com/slashroots/undp-ghg-v2/pull/53","diff_url":"https://github.com/slashroots/undp-ghg-v2/pull/53.diff","patch_url":"https://github.com/slashroots/undp-ghg-v2/pull/53.patch","issue_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/53","number":53,"state":"open","locked":false,"title":"Reports Implementation","user":{"login":"matjames007","id":1425164,"avatar_url":"https://avatars2.githubusercontent.com/u/1425164?v=4","gravatar_id":"","url":"https://api.github.com/users/matjames007","html_url":"https://github.com/matjames007","followers_url":"https://api.github.com/users/matjames007/followers","following_url":"https://api.github.com/users/matjames007/following{/other_user}","gists_url":"https://api.github.com/users/matjames007/gists{/gist_id}","starred_url":"https://api.github.com/users/matjames007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matjames007/subscriptions","organizations_url":"https://api.github.com/users/matjames007/orgs","repos_url":"https://api.github.com/users/matjames007/repos","events_url":"https://api.github.com/users/matjames007/events{/privacy}","received_events_url":"https://api.github.com/users/matjames007/received_events","type":"User","site_admin":false},"body":"The intention is to have widestage integrated to the platform allowing for the self-reporting by the user on his/her data.","created_at":"2018-02-06T00:31:17Z","updated_at":"2018-02-06T00:38:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54deaeca31bd6f11843a742a6adec55e6bed5a53","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53/commits","review_comments_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53/comments","review_comment_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/53/comments","statuses_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/statuses/c85f34c2cc06dab95d68ffc3abb56b49f94fc332","head":{"label":"slashroots:reports","ref":"reports","sha":"c85f34c2cc06dab95d68ffc3abb56b49f94fc332","user":{"login":"slashroots","id":693298,"avatar_url":"https://avatars0.githubusercontent.com/u/693298?v=4","gravatar_id":"","url":"https://api.github.com/users/slashroots","html_url":"https://github.com/slashroots","followers_url":"https://api.github.com/users/slashroots/followers","following_url":"https://api.github.com/users/slashroots/following{/other_user}","gists_url":"https://api.github.com/users/slashroots/gists{/gist_id}","starred_url":"https://api.github.com/users/slashroots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashroots/subscriptions","organizations_url":"https://api.github.com/users/slashroots/orgs","repos_url":"https://api.github.com/users/slashroots/repos","events_url":"https://api.github.com/users/slashroots/events{/privacy}","received_events_url":"https://api.github.com/users/slashroots/received_events","type":"Organization","site_admin":false},"repo":{"id":98132582,"name":"undp-ghg-v2","full_name":"slashroots/undp-ghg-v2","owner":{"login":"slashroots","id":693298,"avatar_url":"https://avatars0.githubusercontent.com/u/693298?v=4","gravatar_id":"","url":"https://api.github.com/users/slashroots","html_url":"https://github.com/slashroots","followers_url":"https://api.github.com/users/slashroots/followers","following_url":"https://api.github.com/users/slashroots/following{/other_user}","gists_url":"https://api.github.com/users/slashroots/gists{/gist_id}","starred_url":"https://api.github.com/users/slashroots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashroots/subscriptions","organizations_url":"https://api.github.com/users/slashroots/orgs","repos_url":"https://api.github.com/users/slashroots/repos","events_url":"https://api.github.com/users/slashroots/events{/privacy}","received_events_url":"https://api.github.com/users/slashroots/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slashroots/undp-ghg-v2","description":"Node JS version of the UNDP Greenhouse Gases Database","fork":false,"url":"https://api.github.com/repos/slashroots/undp-ghg-v2","forks_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/forks","keys_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/teams","hooks_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/hooks","issue_events_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/events{/number}","events_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/events","assignees_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/assignees{/user}","branches_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/branches{/branch}","tags_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/tags","blobs_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/languages","stargazers_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/stargazers","contributors_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/contributors","subscribers_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/subscribers","subscription_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/subscription","commits_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/contents/{+path}","compare_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/merges","archive_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/downloads","issues_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues{/number}","pulls_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/labels{/name}","releases_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/releases{/id}","deployments_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/deployments","created_at":"2017-07-23T23:53:11Z","updated_at":"2017-10-17T14:43:46Z","pushed_at":"2018-02-06T00:31:17Z","git_url":"git://github.com/slashroots/undp-ghg-v2.git","ssh_url":"git@github.com:slashroots/undp-ghg-v2.git","clone_url":"https://github.com/slashroots/undp-ghg-v2.git","svn_url":"https://github.com/slashroots/undp-ghg-v2","homepage":null,"size":839,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"slashroots:master","ref":"master","sha":"4c2bfad4b9aac22cb9c243b4a585e1f415f1bdda","user":{"login":"slashroots","id":693298,"avatar_url":"https://avatars0.githubusercontent.com/u/693298?v=4","gravatar_id":"","url":"https://api.github.com/users/slashroots","html_url":"https://github.com/slashroots","followers_url":"https://api.github.com/users/slashroots/followers","following_url":"https://api.github.com/users/slashroots/following{/other_user}","gists_url":"https://api.github.com/users/slashroots/gists{/gist_id}","starred_url":"https://api.github.com/users/slashroots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashroots/subscriptions","organizations_url":"https://api.github.com/users/slashroots/orgs","repos_url":"https://api.github.com/users/slashroots/repos","events_url":"https://api.github.com/users/slashroots/events{/privacy}","received_events_url":"https://api.github.com/users/slashroots/received_events","type":"Organization","site_admin":false},"repo":{"id":98132582,"name":"undp-ghg-v2","full_name":"slashroots/undp-ghg-v2","owner":{"login":"slashroots","id":693298,"avatar_url":"https://avatars0.githubusercontent.com/u/693298?v=4","gravatar_id":"","url":"https://api.github.com/users/slashroots","html_url":"https://github.com/slashroots","followers_url":"https://api.github.com/users/slashroots/followers","following_url":"https://api.github.com/users/slashroots/following{/other_user}","gists_url":"https://api.github.com/users/slashroots/gists{/gist_id}","starred_url":"https://api.github.com/users/slashroots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashroots/subscriptions","organizations_url":"https://api.github.com/users/slashroots/orgs","repos_url":"https://api.github.com/users/slashroots/repos","events_url":"https://api.github.com/users/slashroots/events{/privacy}","received_events_url":"https://api.github.com/users/slashroots/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slashroots/undp-ghg-v2","description":"Node JS version of the UNDP Greenhouse Gases Database","fork":false,"url":"https://api.github.com/repos/slashroots/undp-ghg-v2","forks_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/forks","keys_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/teams","hooks_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/hooks","issue_events_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/events{/number}","events_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/events","assignees_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/assignees{/user}","branches_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/branches{/branch}","tags_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/tags","blobs_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/languages","stargazers_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/stargazers","contributors_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/contributors","subscribers_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/subscribers","subscription_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/subscription","commits_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/contents/{+path}","compare_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/merges","archive_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/downloads","issues_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues{/number}","pulls_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/labels{/name}","releases_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/releases{/id}","deployments_url":"https://api.github.com/repos/slashroots/undp-ghg-v2/deployments","created_at":"2017-07-23T23:53:11Z","updated_at":"2017-10-17T14:43:46Z","pushed_at":"2018-02-06T00:31:17Z","git_url":"git://github.com/slashroots/undp-ghg-v2.git","ssh_url":"git@github.com:slashroots/undp-ghg-v2.git","clone_url":"https://github.com/slashroots/undp-ghg-v2.git","svn_url":"https://github.com/slashroots/undp-ghg-v2","homepage":null,"size":839,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53"},"html":{"href":"https://github.com/slashroots/undp-ghg-v2/pull/53"},"issue":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/53"},"comments":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/slashroots/undp-ghg-v2/statuses/c85f34c2cc06dab95d68ffc3abb56b49f94fc332"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"matjames007"}}