{"action":"created","comment":{"url":"https://api.github.com/repos/mainflux/mainflux/pulls/comments/188604166","pull_request_review_id":120614432,"id":188604166,"diff_hunk":"@@ -40,44 +44,38 @@ logging({\n  */\n function startWs() {\n     var server = http.createServer();\n-    websocket.createServer({\n-        server: server\n-    }, aedes.handle);\n+    websocket.createServer({server: server}, aedes.handle);","path":"mqtt/mqtt.js","position":31,"original_position":31,"commit_id":"2a48a9053c92e002b20b3db654d44b21732c59c2","original_commit_id":"2a48a9053c92e002b20b3db654d44b21732c59c2","user":{"login":"mijicd","id":4712120,"avatar_url":"https://avatars1.githubusercontent.com/u/4712120?v=4","gravatar_id":"","url":"https://api.github.com/users/mijicd","html_url":"https://github.com/mijicd","followers_url":"https://api.github.com/users/mijicd/followers","following_url":"https://api.github.com/users/mijicd/following{/other_user}","gists_url":"https://api.github.com/users/mijicd/gists{/gist_id}","starred_url":"https://api.github.com/users/mijicd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mijicd/subscriptions","organizations_url":"https://api.github.com/users/mijicd/orgs","repos_url":"https://api.github.com/users/mijicd/repos","events_url":"https://api.github.com/users/mijicd/events{/privacy}","received_events_url":"https://api.github.com/users/mijicd/received_events","type":"User","site_admin":false},"body":"You have extracted this to separate service, remember? :)","created_at":"2018-05-16T12:24:13Z","updated_at":"2018-05-16T12:27:30Z","html_url":"https://github.com/mainflux/mainflux/pull/285#discussion_r188604166","pull_request_url":"https://api.github.com/repos/mainflux/mainflux/pulls/285","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/comments/188604166"},"html":{"href":"https://github.com/mainflux/mainflux/pull/285#discussion_r188604166"},"pull_request":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/285"}}},"pull_request":{"url":"https://api.github.com/repos/mainflux/mainflux/pulls/285","id":188399230,"html_url":"https://github.com/mainflux/mainflux/pull/285","diff_url":"https://github.com/mainflux/mainflux/pull/285.diff","patch_url":"https://github.com/mainflux/mainflux/pull/285.patch","issue_url":"https://api.github.com/repos/mainflux/mainflux/issues/285","number":285,"state":"open","locked":false,"title":"NOISSUE - Add gRPC authorization calls to MQTT adapter","user":{"login":"anovakovic01","id":16108178,"avatar_url":"https://avatars2.githubusercontent.com/u/16108178?v=4","gravatar_id":"","url":"https://api.github.com/users/anovakovic01","html_url":"https://github.com/anovakovic01","followers_url":"https://api.github.com/users/anovakovic01/followers","following_url":"https://api.github.com/users/anovakovic01/following{/other_user}","gists_url":"https://api.github.com/users/anovakovic01/gists{/gist_id}","starred_url":"https://api.github.com/users/anovakovic01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anovakovic01/subscriptions","organizations_url":"https://api.github.com/users/anovakovic01/orgs","repos_url":"https://api.github.com/users/anovakovic01/repos","events_url":"https://api.github.com/users/anovakovic01/events{/privacy}","received_events_url":"https://api.github.com/users/anovakovic01/received_events","type":"User","site_admin":false},"body":"**Summary:**\r\n- Remove unnecessary files\r\n- Update environment variables\r\n- Add gRPC authorization calls","created_at":"2018-05-16T11:20:24Z","updated_at":"2018-05-16T12:27:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de69fbcbf1eed7ee7f9be4e4cedd9358bc12ad52","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":867221218,"url":"https://api.github.com/repos/mainflux/mainflux/labels/work-in-progress","name":"work-in-progress","color":"b100ed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mainflux/mainflux/pulls/285/commits","review_comments_url":"https://api.github.com/repos/mainflux/mainflux/pulls/285/comments","review_comment_url":"https://api.github.com/repos/mainflux/mainflux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mainflux/mainflux/issues/285/comments","statuses_url":"https://api.github.com/repos/mainflux/mainflux/statuses/2a48a9053c92e002b20b3db654d44b21732c59c2","head":{"label":"anovakovic01:NOISSUE-integrate-mqtt","ref":"NOISSUE-integrate-mqtt","sha":"2a48a9053c92e002b20b3db654d44b21732c59c2","user":{"login":"anovakovic01","id":16108178,"avatar_url":"https://avatars2.githubusercontent.com/u/16108178?v=4","gravatar_id":"","url":"https://api.github.com/users/anovakovic01","html_url":"https://github.com/anovakovic01","followers_url":"https://api.github.com/users/anovakovic01/followers","following_url":"https://api.github.com/users/anovakovic01/following{/other_user}","gists_url":"https://api.github.com/users/anovakovic01/gists{/gist_id}","starred_url":"https://api.github.com/users/anovakovic01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anovakovic01/subscriptions","organizations_url":"https://api.github.com/users/anovakovic01/orgs","repos_url":"https://api.github.com/users/anovakovic01/repos","events_url":"https://api.github.com/users/anovakovic01/events{/privacy}","received_events_url":"https://api.github.com/users/anovakovic01/received_events","type":"User","site_admin":false},"repo":{"id":124058056,"name":"mainflux","full_name":"anovakovic01/mainflux","owner":{"login":"anovakovic01","id":16108178,"avatar_url":"https://avatars2.githubusercontent.com/u/16108178?v=4","gravatar_id":"","url":"https://api.github.com/users/anovakovic01","html_url":"https://github.com/anovakovic01","followers_url":"https://api.github.com/users/anovakovic01/followers","following_url":"https://api.github.com/users/anovakovic01/following{/other_user}","gists_url":"https://api.github.com/users/anovakovic01/gists{/gist_id}","starred_url":"https://api.github.com/users/anovakovic01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anovakovic01/subscriptions","organizations_url":"https://api.github.com/users/anovakovic01/orgs","repos_url":"https://api.github.com/users/anovakovic01/repos","events_url":"https://api.github.com/users/anovakovic01/events{/privacy}","received_events_url":"https://api.github.com/users/anovakovic01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anovakovic01/mainflux","description":"Industrial IoT Messaging and Device Management Server","fork":true,"url":"https://api.github.com/repos/anovakovic01/mainflux","forks_url":"https://api.github.com/repos/anovakovic01/mainflux/forks","keys_url":"https://api.github.com/repos/anovakovic01/mainflux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anovakovic01/mainflux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anovakovic01/mainflux/teams","hooks_url":"https://api.github.com/repos/anovakovic01/mainflux/hooks","issue_events_url":"https://api.github.com/repos/anovakovic01/mainflux/issues/events{/number}","events_url":"https://api.github.com/repos/anovakovic01/mainflux/events","assignees_url":"https://api.github.com/repos/anovakovic01/mainflux/assignees{/user}","branches_url":"https://api.github.com/repos/anovakovic01/mainflux/branches{/branch}","tags_url":"https://api.github.com/repos/anovakovic01/mainflux/tags","blobs_url":"https://api.github.com/repos/anovakovic01/mainflux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anovakovic01/mainflux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anovakovic01/mainflux/git/refs{/sha}","trees_url":"https://api.github.com/repos/anovakovic01/mainflux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anovakovic01/mainflux/statuses/{sha}","languages_url":"https://api.github.com/repos/anovakovic01/mainflux/languages","stargazers_url":"https://api.github.com/repos/anovakovic01/mainflux/stargazers","contributors_url":"https://api.github.com/repos/anovakovic01/mainflux/contributors","subscribers_url":"https://api.github.com/repos/anovakovic01/mainflux/subscribers","subscription_url":"https://api.github.com/repos/anovakovic01/mainflux/subscription","commits_url":"https://api.github.com/repos/anovakovic01/mainflux/commits{/sha}","git_commits_url":"https://api.github.com/repos/anovakovic01/mainflux/git/commits{/sha}","comments_url":"https://api.github.com/repos/anovakovic01/mainflux/comments{/number}","issue_comment_url":"https://api.github.com/repos/anovakovic01/mainflux/issues/comments{/number}","contents_url":"https://api.github.com/repos/anovakovic01/mainflux/contents/{+path}","compare_url":"https://api.github.com/repos/anovakovic01/mainflux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anovakovic01/mainflux/merges","archive_url":"https://api.github.com/repos/anovakovic01/mainflux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anovakovic01/mainflux/downloads","issues_url":"https://api.github.com/repos/anovakovic01/mainflux/issues{/number}","pulls_url":"https://api.github.com/repos/anovakovic01/mainflux/pulls{/number}","milestones_url":"https://api.github.com/repos/anovakovic01/mainflux/milestones{/number}","notifications_url":"https://api.github.com/repos/anovakovic01/mainflux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anovakovic01/mainflux/labels{/name}","releases_url":"https://api.github.com/repos/anovakovic01/mainflux/releases{/id}","deployments_url":"https://api.github.com/repos/anovakovic01/mainflux/deployments","created_at":"2018-03-06T09:57:45Z","updated_at":"2018-05-15T17:40:55Z","pushed_at":"2018-05-16T11:05:09Z","git_url":"git://github.com/anovakovic01/mainflux.git","ssh_url":"git@github.com:anovakovic01/mainflux.git","clone_url":"https://github.com/anovakovic01/mainflux.git","svn_url":"https://github.com/anovakovic01/mainflux","homepage":"http://mainflux.com","size":19105,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mainflux:master","ref":"master","sha":"48484210c244b68980669009db770c7a82321a0c","user":{"login":"mainflux","id":13207490,"avatar_url":"https://avatars1.githubusercontent.com/u/13207490?v=4","gravatar_id":"","url":"https://api.github.com/users/mainflux","html_url":"https://github.com/mainflux","followers_url":"https://api.github.com/users/mainflux/followers","following_url":"https://api.github.com/users/mainflux/following{/other_user}","gists_url":"https://api.github.com/users/mainflux/gists{/gist_id}","starred_url":"https://api.github.com/users/mainflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mainflux/subscriptions","organizations_url":"https://api.github.com/users/mainflux/orgs","repos_url":"https://api.github.com/users/mainflux/repos","events_url":"https://api.github.com/users/mainflux/events{/privacy}","received_events_url":"https://api.github.com/users/mainflux/received_events","type":"Organization","site_admin":false},"repo":{"id":38644318,"name":"mainflux","full_name":"mainflux/mainflux","owner":{"login":"mainflux","id":13207490,"avatar_url":"https://avatars1.githubusercontent.com/u/13207490?v=4","gravatar_id":"","url":"https://api.github.com/users/mainflux","html_url":"https://github.com/mainflux","followers_url":"https://api.github.com/users/mainflux/followers","following_url":"https://api.github.com/users/mainflux/following{/other_user}","gists_url":"https://api.github.com/users/mainflux/gists{/gist_id}","starred_url":"https://api.github.com/users/mainflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mainflux/subscriptions","organizations_url":"https://api.github.com/users/mainflux/orgs","repos_url":"https://api.github.com/users/mainflux/repos","events_url":"https://api.github.com/users/mainflux/events{/privacy}","received_events_url":"https://api.github.com/users/mainflux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mainflux/mainflux","description":"Industrial IoT Messaging and Device Management Server","fork":false,"url":"https://api.github.com/repos/mainflux/mainflux","forks_url":"https://api.github.com/repos/mainflux/mainflux/forks","keys_url":"https://api.github.com/repos/mainflux/mainflux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mainflux/mainflux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mainflux/mainflux/teams","hooks_url":"https://api.github.com/repos/mainflux/mainflux/hooks","issue_events_url":"https://api.github.com/repos/mainflux/mainflux/issues/events{/number}","events_url":"https://api.github.com/repos/mainflux/mainflux/events","assignees_url":"https://api.github.com/repos/mainflux/mainflux/assignees{/user}","branches_url":"https://api.github.com/repos/mainflux/mainflux/branches{/branch}","tags_url":"https://api.github.com/repos/mainflux/mainflux/tags","blobs_url":"https://api.github.com/repos/mainflux/mainflux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mainflux/mainflux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mainflux/mainflux/git/refs{/sha}","trees_url":"https://api.github.com/repos/mainflux/mainflux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mainflux/mainflux/statuses/{sha}","languages_url":"https://api.github.com/repos/mainflux/mainflux/languages","stargazers_url":"https://api.github.com/repos/mainflux/mainflux/stargazers","contributors_url":"https://api.github.com/repos/mainflux/mainflux/contributors","subscribers_url":"https://api.github.com/repos/mainflux/mainflux/subscribers","subscription_url":"https://api.github.com/repos/mainflux/mainflux/subscription","commits_url":"https://api.github.com/repos/mainflux/mainflux/commits{/sha}","git_commits_url":"https://api.github.com/repos/mainflux/mainflux/git/commits{/sha}","comments_url":"https://api.github.com/repos/mainflux/mainflux/comments{/number}","issue_comment_url":"https://api.github.com/repos/mainflux/mainflux/issues/comments{/number}","contents_url":"https://api.github.com/repos/mainflux/mainflux/contents/{+path}","compare_url":"https://api.github.com/repos/mainflux/mainflux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mainflux/mainflux/merges","archive_url":"https://api.github.com/repos/mainflux/mainflux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mainflux/mainflux/downloads","issues_url":"https://api.github.com/repos/mainflux/mainflux/issues{/number}","pulls_url":"https://api.github.com/repos/mainflux/mainflux/pulls{/number}","milestones_url":"https://api.github.com/repos/mainflux/mainflux/milestones{/number}","notifications_url":"https://api.github.com/repos/mainflux/mainflux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mainflux/mainflux/labels{/name}","releases_url":"https://api.github.com/repos/mainflux/mainflux/releases{/id}","deployments_url":"https://api.github.com/repos/mainflux/mainflux/deployments","created_at":"2015-07-06T20:31:50Z","updated_at":"2018-05-15T15:13:12Z","pushed_at":"2018-05-16T12:22:27Z","git_url":"git://github.com/mainflux/mainflux.git","ssh_url":"git@github.com:mainflux/mainflux.git","clone_url":"https://github.com/mainflux/mainflux.git","svn_url":"https://github.com/mainflux/mainflux","homepage":"http://mainflux.com","size":19075,"stargazers_count":467,"watchers_count":467,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":96,"open_issues":19,"watchers":467,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/285"},"html":{"href":"https://github.com/mainflux/mainflux/pull/285"},"issue":{"href":"https://api.github.com/repos/mainflux/mainflux/issues/285"},"comments":{"href":"https://api.github.com/repos/mainflux/mainflux/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/mainflux/mainflux/statuses/2a48a9053c92e002b20b3db654d44b21732c59c2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mijicd"}}