{"action":"created","comment":{"url":"https://api.github.com/repos/mainflux/mainflux/pulls/comments/193168128","pull_request_review_id":125889841,"id":193168128,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzE2ODEyOA==","diff_hunk":"@@ -0,0 +1,70 @@\n+package cmd\n+\n+import (\n+\t\"crypto/tls\"\n+\t\"crypto/x509\"\n+\t\"io/ioutil\"\n+\t\"log\"\n+\t\"net/http\"\n+\t\"os\"\n+\t\"strconv\"\n+\n+\t\"github.com/mainflux/mainflux\"\n+)\n+\n+const (\n+\tenvCertFile = \"MF_CERT_FILE\"\n+\tenvKeyFile  = \"MF_KEY_FILE\"\n+\tenvCaFile   = \"MF_CA_FILE\"\n+)\n+\n+var (\n+\thttpClient = &http.Client{}\n+\tserverAddr = \"https://0.0.0.0\"","path":"bashflux/http.go","position":23,"original_position":23,"commit_id":"fd7fd1b30798ccc1141bfd5df729bd26e19ba79a","original_commit_id":"fd7fd1b30798ccc1141bfd5df729bd26e19ba79a","user":{"login":"dusanb94","id":17817225,"node_id":"MDQ6VXNlcjE3ODE3MjI1","avatar_url":"https://avatars0.githubusercontent.com/u/17817225?v=4","gravatar_id":"","url":"https://api.github.com/users/dusanb94","html_url":"https://github.com/dusanb94","followers_url":"https://api.github.com/users/dusanb94/followers","following_url":"https://api.github.com/users/dusanb94/following{/other_user}","gists_url":"https://api.github.com/users/dusanb94/gists{/gist_id}","starred_url":"https://api.github.com/users/dusanb94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dusanb94/subscriptions","organizations_url":"https://api.github.com/users/dusanb94/orgs","repos_url":"https://api.github.com/users/dusanb94/repos","events_url":"https://api.github.com/users/dusanb94/events{/privacy}","received_events_url":"https://api.github.com/users/dusanb94/received_events","type":"User","site_admin":false},"body":"Is this a valid address? Should this address be configurable?","created_at":"2018-06-05T18:05:03Z","updated_at":"2018-06-05T18:24:27Z","html_url":"https://github.com/mainflux/mainflux/pull/308#discussion_r193168128","pull_request_url":"https://api.github.com/repos/mainflux/mainflux/pulls/308","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/comments/193168128"},"html":{"href":"https://github.com/mainflux/mainflux/pull/308#discussion_r193168128"},"pull_request":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/308"}}},"pull_request":{"url":"https://api.github.com/repos/mainflux/mainflux/pulls/308","id":190617346,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwNjE3MzQ2","html_url":"https://github.com/mainflux/mainflux/pull/308","diff_url":"https://github.com/mainflux/mainflux/pull/308.diff","patch_url":"https://github.com/mainflux/mainflux/pull/308.patch","issue_url":"https://api.github.com/repos/mainflux/mainflux/issues/308","number":308,"state":"open","locked":false,"title":" MF-216 - Integrate Bashflux into monorepo ","user":{"login":"manuIO","id":9677805,"node_id":"MDQ6VXNlcjk2Nzc4MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/9677805?v=4","gravatar_id":"","url":"https://api.github.com/users/manuIO","html_url":"https://github.com/manuIO","followers_url":"https://api.github.com/users/manuIO/followers","following_url":"https://api.github.com/users/manuIO/following{/other_user}","gists_url":"https://api.github.com/users/manuIO/gists{/gist_id}","starred_url":"https://api.github.com/users/manuIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuIO/subscriptions","organizations_url":"https://api.github.com/users/manuIO/orgs","repos_url":"https://api.github.com/users/manuIO/repos","events_url":"https://api.github.com/users/manuIO/events{/privacy}","received_events_url":"https://api.github.com/users/manuIO/received_events","type":"User","site_admin":false},"body":"This pull request resolves #216.","created_at":"2018-05-25T15:07:01Z","updated_at":"2018-06-05T18:24:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0f85335a7fd331aa9862107b2fb6d138be40b4f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":867221218,"node_id":"MDU6TGFiZWw4NjcyMjEyMTg=","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/308/commits","review_comments_url":"https://api.github.com/repos/mainflux/mainflux/pulls/308/comments","review_comment_url":"https://api.github.com/repos/mainflux/mainflux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mainflux/mainflux/issues/308/comments","statuses_url":"https://api.github.com/repos/mainflux/mainflux/statuses/fd7fd1b30798ccc1141bfd5df729bd26e19ba79a","head":{"label":"manuIO:master","ref":"master","sha":"fd7fd1b30798ccc1141bfd5df729bd26e19ba79a","user":{"login":"manuIO","id":9677805,"node_id":"MDQ6VXNlcjk2Nzc4MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/9677805?v=4","gravatar_id":"","url":"https://api.github.com/users/manuIO","html_url":"https://github.com/manuIO","followers_url":"https://api.github.com/users/manuIO/followers","following_url":"https://api.github.com/users/manuIO/following{/other_user}","gists_url":"https://api.github.com/users/manuIO/gists{/gist_id}","starred_url":"https://api.github.com/users/manuIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuIO/subscriptions","organizations_url":"https://api.github.com/users/manuIO/orgs","repos_url":"https://api.github.com/users/manuIO/repos","events_url":"https://api.github.com/users/manuIO/events{/privacy}","received_events_url":"https://api.github.com/users/manuIO/received_events","type":"User","site_admin":false},"repo":{"id":134738302,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ3MzgzMDI=","name":"mainflux","full_name":"manuIO/mainflux","owner":{"login":"manuIO","id":9677805,"node_id":"MDQ6VXNlcjk2Nzc4MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/9677805?v=4","gravatar_id":"","url":"https://api.github.com/users/manuIO","html_url":"https://github.com/manuIO","followers_url":"https://api.github.com/users/manuIO/followers","following_url":"https://api.github.com/users/manuIO/following{/other_user}","gists_url":"https://api.github.com/users/manuIO/gists{/gist_id}","starred_url":"https://api.github.com/users/manuIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuIO/subscriptions","organizations_url":"https://api.github.com/users/manuIO/orgs","repos_url":"https://api.github.com/users/manuIO/repos","events_url":"https://api.github.com/users/manuIO/events{/privacy}","received_events_url":"https://api.github.com/users/manuIO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/manuIO/mainflux","description":"Industrial IoT Messaging and Device Management Server","fork":true,"url":"https://api.github.com/repos/manuIO/mainflux","forks_url":"https://api.github.com/repos/manuIO/mainflux/forks","keys_url":"https://api.github.com/repos/manuIO/mainflux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manuIO/mainflux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manuIO/mainflux/teams","hooks_url":"https://api.github.com/repos/manuIO/mainflux/hooks","issue_events_url":"https://api.github.com/repos/manuIO/mainflux/issues/events{/number}","events_url":"https://api.github.com/repos/manuIO/mainflux/events","assignees_url":"https://api.github.com/repos/manuIO/mainflux/assignees{/user}","branches_url":"https://api.github.com/repos/manuIO/mainflux/branches{/branch}","tags_url":"https://api.github.com/repos/manuIO/mainflux/tags","blobs_url":"https://api.github.com/repos/manuIO/mainflux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manuIO/mainflux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manuIO/mainflux/git/refs{/sha}","trees_url":"https://api.github.com/repos/manuIO/mainflux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manuIO/mainflux/statuses/{sha}","languages_url":"https://api.github.com/repos/manuIO/mainflux/languages","stargazers_url":"https://api.github.com/repos/manuIO/mainflux/stargazers","contributors_url":"https://api.github.com/repos/manuIO/mainflux/contributors","subscribers_url":"https://api.github.com/repos/manuIO/mainflux/subscribers","subscription_url":"https://api.github.com/repos/manuIO/mainflux/subscription","commits_url":"https://api.github.com/repos/manuIO/mainflux/commits{/sha}","git_commits_url":"https://api.github.com/repos/manuIO/mainflux/git/commits{/sha}","comments_url":"https://api.github.com/repos/manuIO/mainflux/comments{/number}","issue_comment_url":"https://api.github.com/repos/manuIO/mainflux/issues/comments{/number}","contents_url":"https://api.github.com/repos/manuIO/mainflux/contents/{+path}","compare_url":"https://api.github.com/repos/manuIO/mainflux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manuIO/mainflux/merges","archive_url":"https://api.github.com/repos/manuIO/mainflux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manuIO/mainflux/downloads","issues_url":"https://api.github.com/repos/manuIO/mainflux/issues{/number}","pulls_url":"https://api.github.com/repos/manuIO/mainflux/pulls{/number}","milestones_url":"https://api.github.com/repos/manuIO/mainflux/milestones{/number}","notifications_url":"https://api.github.com/repos/manuIO/mainflux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manuIO/mainflux/labels{/name}","releases_url":"https://api.github.com/repos/manuIO/mainflux/releases{/id}","deployments_url":"https://api.github.com/repos/manuIO/mainflux/deployments","created_at":"2018-05-24T15:58:29Z","updated_at":"2018-06-05T17:29:18Z","pushed_at":"2018-06-05T17:29:15Z","git_url":"git://github.com/manuIO/mainflux.git","ssh_url":"git@github.com:manuIO/mainflux.git","clone_url":"https://github.com/manuIO/mainflux.git","svn_url":"https://github.com/manuIO/mainflux","homepage":"","size":19569,"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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mainflux:master","ref":"master","sha":"2b393ad50f63b87fba51d5fb9e8413942221b6e2","user":{"login":"mainflux","id":13207490,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMjA3NDkw","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,"node_id":"MDEwOlJlcG9zaXRvcnkzODY0NDMxOA==","name":"mainflux","full_name":"mainflux/mainflux","owner":{"login":"mainflux","id":13207490,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMjA3NDkw","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-06-05T16:16:01Z","pushed_at":"2018-06-05T17:29:17Z","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":"","size":19404,"stargazers_count":32,"watchers_count":32,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":14,"open_issues":17,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/308"},"html":{"href":"https://github.com/mainflux/mainflux/pull/308"},"issue":{"href":"https://api.github.com/repos/mainflux/mainflux/issues/308"},"comments":{"href":"https://api.github.com/repos/mainflux/mainflux/issues/308/comments"},"review_comments":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/308/comments"},"review_comment":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mainflux/mainflux/pulls/308/commits"},"statuses":{"href":"https://api.github.com/repos/mainflux/mainflux/statuses/fd7fd1b30798ccc1141bfd5df729bd26e19ba79a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dusanb94"}}