{"action":"created","comment":{"url":"https://api.github.com/repos/codex-team/domain-checker/pulls/comments/232666662","pull_request_review_id":173911296,"id":232666662,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjY2NjY2Mg==","diff_hunk":"@@ -0,0 +1,51 @@\n+const uuid = require('uuid/v4');\n+const { RedisQueue } = require('task-queue');\n+\n+/**\n+ * @const {string} Config for Queue and RedisClient\n+ */\n+const QUEUE_WHOIS_NAME = 'queue:whois';\n+\n+/**\n+ * @const {string} Task type\n+ */\n+const TASK_TYPE = 'whois';\n+\n+/**\n+ * @const {RegEx} Domain validation regexp\n+ */\n+const DOMAIN_REGEX = /[a-zA-Z0-9-]+/;\n+\n+const domainHandler = async (req, res) => {\n+  const { domain } = req.params;\n+  const { redisClient } = req;","path":"backend/src/handlers/domain.js","position":21,"original_position":21,"commit_id":"230688ea7c873705f6164b2b434d4d5c13aae421","original_commit_id":"230688ea7c873705f6164b2b434d4d5c13aae421","user":{"login":"kabachook","id":9118683,"node_id":"MDQ6VXNlcjkxMTg2ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/9118683?v=4","gravatar_id":"","url":"https://api.github.com/users/kabachook","html_url":"https://github.com/kabachook","followers_url":"https://api.github.com/users/kabachook/followers","following_url":"https://api.github.com/users/kabachook/following{/other_user}","gists_url":"https://api.github.com/users/kabachook/gists{/gist_id}","starred_url":"https://api.github.com/users/kabachook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabachook/subscriptions","organizations_url":"https://api.github.com/users/kabachook/orgs","repos_url":"https://api.github.com/users/kabachook/repos","events_url":"https://api.github.com/users/kabachook/events{/privacy}","received_events_url":"https://api.github.com/users/kabachook/received_events","type":"User","site_admin":false},"body":"Из middleware в index.js","created_at":"2018-11-12T14:00:34Z","updated_at":"2018-11-12T14:00:34Z","html_url":"https://github.com/codex-team/domain-checker/pull/8#discussion_r232666662","pull_request_url":"https://api.github.com/repos/codex-team/domain-checker/pulls/8","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/codex-team/domain-checker/pulls/comments/232666662"},"html":{"href":"https://github.com/codex-team/domain-checker/pull/8#discussion_r232666662"},"pull_request":{"href":"https://api.github.com/repos/codex-team/domain-checker/pulls/8"}},"in_reply_to_id":232651362},"pull_request":{"url":"https://api.github.com/repos/codex-team/domain-checker/pulls/8","id":229898819,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5ODk4ODE5","html_url":"https://github.com/codex-team/domain-checker/pull/8","diff_url":"https://github.com/codex-team/domain-checker/pull/8.diff","patch_url":"https://github.com/codex-team/domain-checker/pull/8.patch","issue_url":"https://api.github.com/repos/codex-team/domain-checker/issues/8","number":8,"state":"open","locked":false,"title":"backend","user":{"login":"nikmel2803","id":32655339,"node_id":"MDQ6VXNlcjMyNjU1MzM5","avatar_url":"https://avatars3.githubusercontent.com/u/32655339?v=4","gravatar_id":"","url":"https://api.github.com/users/nikmel2803","html_url":"https://github.com/nikmel2803","followers_url":"https://api.github.com/users/nikmel2803/followers","following_url":"https://api.github.com/users/nikmel2803/following{/other_user}","gists_url":"https://api.github.com/users/nikmel2803/gists{/gist_id}","starred_url":"https://api.github.com/users/nikmel2803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikmel2803/subscriptions","organizations_url":"https://api.github.com/users/nikmel2803/orgs","repos_url":"https://api.github.com/users/nikmel2803/repos","events_url":"https://api.github.com/users/nikmel2803/events{/privacy}","received_events_url":"https://api.github.com/users/nikmel2803/received_events","type":"User","site_admin":false},"body":"Realizations:\n1) WebSocket connection\n2) /domain/:domainName method\n3) Main page request handler","created_at":"2018-11-10T16:35:25Z","updated_at":"2018-11-12T14:00:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7663bb806ef04936e5fdb3974baa8949679801a5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codex-team/domain-checker/pulls/8/commits","review_comments_url":"https://api.github.com/repos/codex-team/domain-checker/pulls/8/comments","review_comment_url":"https://api.github.com/repos/codex-team/domain-checker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codex-team/domain-checker/issues/8/comments","statuses_url":"https://api.github.com/repos/codex-team/domain-checker/statuses/230688ea7c873705f6164b2b434d4d5c13aae421","head":{"label":"codex-team:backend","ref":"backend","sha":"230688ea7c873705f6164b2b434d4d5c13aae421","user":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":156398898,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYzOTg4OTg=","name":"domain-checker","full_name":"codex-team/domain-checker","private":false,"owner":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codex-team/domain-checker","description":null,"fork":false,"url":"https://api.github.com/repos/codex-team/domain-checker","forks_url":"https://api.github.com/repos/codex-team/domain-checker/forks","keys_url":"https://api.github.com/repos/codex-team/domain-checker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/domain-checker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/domain-checker/teams","hooks_url":"https://api.github.com/repos/codex-team/domain-checker/hooks","issue_events_url":"https://api.github.com/repos/codex-team/domain-checker/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/domain-checker/events","assignees_url":"https://api.github.com/repos/codex-team/domain-checker/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/domain-checker/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/domain-checker/tags","blobs_url":"https://api.github.com/repos/codex-team/domain-checker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/domain-checker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/domain-checker/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/domain-checker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/domain-checker/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/domain-checker/languages","stargazers_url":"https://api.github.com/repos/codex-team/domain-checker/stargazers","contributors_url":"https://api.github.com/repos/codex-team/domain-checker/contributors","subscribers_url":"https://api.github.com/repos/codex-team/domain-checker/subscribers","subscription_url":"https://api.github.com/repos/codex-team/domain-checker/subscription","commits_url":"https://api.github.com/repos/codex-team/domain-checker/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/domain-checker/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/domain-checker/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/domain-checker/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/domain-checker/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/domain-checker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/domain-checker/merges","archive_url":"https://api.github.com/repos/codex-team/domain-checker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/domain-checker/downloads","issues_url":"https://api.github.com/repos/codex-team/domain-checker/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/domain-checker/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/domain-checker/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/domain-checker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/domain-checker/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/domain-checker/releases{/id}","deployments_url":"https://api.github.com/repos/codex-team/domain-checker/deployments","created_at":"2018-11-06T14:47:33Z","updated_at":"2018-11-08T18:04:59Z","pushed_at":"2018-11-11T22:42:54Z","git_url":"git://github.com/codex-team/domain-checker.git","ssh_url":"git@github.com:codex-team/domain-checker.git","clone_url":"https://github.com/codex-team/domain-checker.git","svn_url":"https://github.com/codex-team/domain-checker","homepage":null,"size":467,"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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"codex-team:master","ref":"master","sha":"2620bf9f53dc08f643794f3f205e70220cbb5a92","user":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":156398898,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYzOTg4OTg=","name":"domain-checker","full_name":"codex-team/domain-checker","private":false,"owner":{"login":"codex-team","id":16060815,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDYwODE1","avatar_url":"https://avatars0.githubusercontent.com/u/16060815?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codex-team/domain-checker","description":null,"fork":false,"url":"https://api.github.com/repos/codex-team/domain-checker","forks_url":"https://api.github.com/repos/codex-team/domain-checker/forks","keys_url":"https://api.github.com/repos/codex-team/domain-checker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/domain-checker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/domain-checker/teams","hooks_url":"https://api.github.com/repos/codex-team/domain-checker/hooks","issue_events_url":"https://api.github.com/repos/codex-team/domain-checker/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/domain-checker/events","assignees_url":"https://api.github.com/repos/codex-team/domain-checker/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/domain-checker/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/domain-checker/tags","blobs_url":"https://api.github.com/repos/codex-team/domain-checker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/domain-checker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/domain-checker/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/domain-checker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/domain-checker/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/domain-checker/languages","stargazers_url":"https://api.github.com/repos/codex-team/domain-checker/stargazers","contributors_url":"https://api.github.com/repos/codex-team/domain-checker/contributors","subscribers_url":"https://api.github.com/repos/codex-team/domain-checker/subscribers","subscription_url":"https://api.github.com/repos/codex-team/domain-checker/subscription","commits_url":"https://api.github.com/repos/codex-team/domain-checker/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/domain-checker/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/domain-checker/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/domain-checker/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/domain-checker/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/domain-checker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/domain-checker/merges","archive_url":"https://api.github.com/repos/codex-team/domain-checker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/domain-checker/downloads","issues_url":"https://api.github.com/repos/codex-team/domain-checker/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/domain-checker/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/domain-checker/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/domain-checker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/domain-checker/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/domain-checker/releases{/id}","deployments_url":"https://api.github.com/repos/codex-team/domain-checker/deployments","created_at":"2018-11-06T14:47:33Z","updated_at":"2018-11-08T18:04:59Z","pushed_at":"2018-11-11T22:42:54Z","git_url":"git://github.com/codex-team/domain-checker.git","ssh_url":"git@github.com:codex-team/domain-checker.git","clone_url":"https://github.com/codex-team/domain-checker.git","svn_url":"https://github.com/codex-team/domain-checker","homepage":null,"size":467,"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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codex-team/domain-checker/pulls/8"},"html":{"href":"https://github.com/codex-team/domain-checker/pull/8"},"issue":{"href":"https://api.github.com/repos/codex-team/domain-checker/issues/8"},"comments":{"href":"https://api.github.com/repos/codex-team/domain-checker/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/codex-team/domain-checker/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/codex-team/domain-checker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codex-team/domain-checker/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/codex-team/domain-checker/statuses/230688ea7c873705f6164b2b434d4d5c13aae421"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kabachook"}}