{"action":"created","comment":{"url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/comments/39049376","id":39049376,"diff_hunk":"@@ -0,0 +1,20 @@\n+import json\n+\n+\n+class BaseModel(object):","path":"commandServer/routes.py","position":4,"original_position":4,"commit_id":"b82cf2885e4ad0f1b145a58d332c10fc1765becd","original_commit_id":"b82cf2885e4ad0f1b145a58d332c10fc1765becd","user":{"login":"pzdeb","id":9549415,"avatar_url":"https://avatars.githubusercontent.com/u/9549415?v=3","gravatar_id":"","url":"https://api.github.com/users/pzdeb","html_url":"https://github.com/pzdeb","followers_url":"https://api.github.com/users/pzdeb/followers","following_url":"https://api.github.com/users/pzdeb/following{/other_user}","gists_url":"https://api.github.com/users/pzdeb/gists{/gist_id}","starred_url":"https://api.github.com/users/pzdeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzdeb/subscriptions","organizations_url":"https://api.github.com/users/pzdeb/orgs","repos_url":"https://api.github.com/users/pzdeb/repos","events_url":"https://api.github.com/users/pzdeb/events{/privacy}","received_events_url":"https://api.github.com/users/pzdeb/received_events","type":"User","site_admin":false},"body":"not model but view (or handler at least)","created_at":"2015-09-09T14:31:03Z","updated_at":"2015-09-09T14:31:03Z","html_url":"https://github.com/pzdeb/SimpleCommander/pull/1#discussion_r39049376","pull_request_url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/comments/39049376"},"html":{"href":"https://github.com/pzdeb/SimpleCommander/pull/1#discussion_r39049376"},"pull_request":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1","id":44523049,"html_url":"https://github.com/pzdeb/SimpleCommander/pull/1","diff_url":"https://github.com/pzdeb/SimpleCommander/pull/1.diff","patch_url":"https://github.com/pzdeb/SimpleCommander/pull/1.patch","issue_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/1","number":1,"state":"open","locked":false,"title":"Base Http Server Prototype","user":{"login":"ntodosiychuk","id":10599713,"avatar_url":"https://avatars.githubusercontent.com/u/10599713?v=3","gravatar_id":"","url":"https://api.github.com/users/ntodosiychuk","html_url":"https://github.com/ntodosiychuk","followers_url":"https://api.github.com/users/ntodosiychuk/followers","following_url":"https://api.github.com/users/ntodosiychuk/following{/other_user}","gists_url":"https://api.github.com/users/ntodosiychuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ntodosiychuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntodosiychuk/subscriptions","organizations_url":"https://api.github.com/users/ntodosiychuk/orgs","repos_url":"https://api.github.com/users/ntodosiychuk/repos","events_url":"https://api.github.com/users/ntodosiychuk/events{/privacy}","received_events_url":"https://api.github.com/users/ntodosiychuk/received_events","type":"User","site_admin":false},"body":"Base Http Server Prototype(based on asyncio, aiohttp). \r\n- Implemented start, stop, init method. Added test view on http://localhost:8000/test path\r\n- Load server host, port from conf file.\r\n- Added Route file for loading coroutine defs.\r\n- Bash script for running web server.\r\n- Parse request by HttpRequestHandler.\r\n- Added Base Model for handling http methods.","created_at":"2015-09-09T08:34:58Z","updated_at":"2015-09-09T14:31:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4573b8c7f44632ceb84ad3f772ccefbc30a75d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1/commits","review_comments_url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1/comments","review_comment_url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/1/comments","statuses_url":"https://api.github.com/repos/pzdeb/SimpleCommander/statuses/b82cf2885e4ad0f1b145a58d332c10fc1765becd","head":{"label":"pzdeb:ntodos_commander","ref":"ntodos_commander","sha":"b82cf2885e4ad0f1b145a58d332c10fc1765becd","user":{"login":"pzdeb","id":9549415,"avatar_url":"https://avatars.githubusercontent.com/u/9549415?v=3","gravatar_id":"","url":"https://api.github.com/users/pzdeb","html_url":"https://github.com/pzdeb","followers_url":"https://api.github.com/users/pzdeb/followers","following_url":"https://api.github.com/users/pzdeb/following{/other_user}","gists_url":"https://api.github.com/users/pzdeb/gists{/gist_id}","starred_url":"https://api.github.com/users/pzdeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzdeb/subscriptions","organizations_url":"https://api.github.com/users/pzdeb/orgs","repos_url":"https://api.github.com/users/pzdeb/repos","events_url":"https://api.github.com/users/pzdeb/events{/privacy}","received_events_url":"https://api.github.com/users/pzdeb/received_events","type":"User","site_admin":false},"repo":{"id":42045504,"name":"SimpleCommander","full_name":"pzdeb/SimpleCommander","owner":{"login":"pzdeb","id":9549415,"avatar_url":"https://avatars.githubusercontent.com/u/9549415?v=3","gravatar_id":"","url":"https://api.github.com/users/pzdeb","html_url":"https://github.com/pzdeb","followers_url":"https://api.github.com/users/pzdeb/followers","following_url":"https://api.github.com/users/pzdeb/following{/other_user}","gists_url":"https://api.github.com/users/pzdeb/gists{/gist_id}","starred_url":"https://api.github.com/users/pzdeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzdeb/subscriptions","organizations_url":"https://api.github.com/users/pzdeb/orgs","repos_url":"https://api.github.com/users/pzdeb/repos","events_url":"https://api.github.com/users/pzdeb/events{/privacy}","received_events_url":"https://api.github.com/users/pzdeb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pzdeb/SimpleCommander","description":"Educational project for internal activities","fork":false,"url":"https://api.github.com/repos/pzdeb/SimpleCommander","forks_url":"https://api.github.com/repos/pzdeb/SimpleCommander/forks","keys_url":"https://api.github.com/repos/pzdeb/SimpleCommander/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pzdeb/SimpleCommander/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pzdeb/SimpleCommander/teams","hooks_url":"https://api.github.com/repos/pzdeb/SimpleCommander/hooks","issue_events_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/events{/number}","events_url":"https://api.github.com/repos/pzdeb/SimpleCommander/events","assignees_url":"https://api.github.com/repos/pzdeb/SimpleCommander/assignees{/user}","branches_url":"https://api.github.com/repos/pzdeb/SimpleCommander/branches{/branch}","tags_url":"https://api.github.com/repos/pzdeb/SimpleCommander/tags","blobs_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/refs{/sha}","trees_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pzdeb/SimpleCommander/statuses/{sha}","languages_url":"https://api.github.com/repos/pzdeb/SimpleCommander/languages","stargazers_url":"https://api.github.com/repos/pzdeb/SimpleCommander/stargazers","contributors_url":"https://api.github.com/repos/pzdeb/SimpleCommander/contributors","subscribers_url":"https://api.github.com/repos/pzdeb/SimpleCommander/subscribers","subscription_url":"https://api.github.com/repos/pzdeb/SimpleCommander/subscription","commits_url":"https://api.github.com/repos/pzdeb/SimpleCommander/commits{/sha}","git_commits_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/commits{/sha}","comments_url":"https://api.github.com/repos/pzdeb/SimpleCommander/comments{/number}","issue_comment_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/comments{/number}","contents_url":"https://api.github.com/repos/pzdeb/SimpleCommander/contents/{+path}","compare_url":"https://api.github.com/repos/pzdeb/SimpleCommander/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pzdeb/SimpleCommander/merges","archive_url":"https://api.github.com/repos/pzdeb/SimpleCommander/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pzdeb/SimpleCommander/downloads","issues_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues{/number}","pulls_url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls{/number}","milestones_url":"https://api.github.com/repos/pzdeb/SimpleCommander/milestones{/number}","notifications_url":"https://api.github.com/repos/pzdeb/SimpleCommander/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pzdeb/SimpleCommander/labels{/name}","releases_url":"https://api.github.com/repos/pzdeb/SimpleCommander/releases{/id}","created_at":"2015-09-07T10:00:08Z","updated_at":"2015-09-07T10:00:08Z","pushed_at":"2015-09-09T14:14:30Z","git_url":"git://github.com/pzdeb/SimpleCommander.git","ssh_url":"git@github.com:pzdeb/SimpleCommander.git","clone_url":"https://github.com/pzdeb/SimpleCommander.git","svn_url":"https://github.com/pzdeb/SimpleCommander","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"pzdeb:master","ref":"master","sha":"810bcd35b2e827963db3a8abdae1d4ca2dc3934c","user":{"login":"pzdeb","id":9549415,"avatar_url":"https://avatars.githubusercontent.com/u/9549415?v=3","gravatar_id":"","url":"https://api.github.com/users/pzdeb","html_url":"https://github.com/pzdeb","followers_url":"https://api.github.com/users/pzdeb/followers","following_url":"https://api.github.com/users/pzdeb/following{/other_user}","gists_url":"https://api.github.com/users/pzdeb/gists{/gist_id}","starred_url":"https://api.github.com/users/pzdeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzdeb/subscriptions","organizations_url":"https://api.github.com/users/pzdeb/orgs","repos_url":"https://api.github.com/users/pzdeb/repos","events_url":"https://api.github.com/users/pzdeb/events{/privacy}","received_events_url":"https://api.github.com/users/pzdeb/received_events","type":"User","site_admin":false},"repo":{"id":42045504,"name":"SimpleCommander","full_name":"pzdeb/SimpleCommander","owner":{"login":"pzdeb","id":9549415,"avatar_url":"https://avatars.githubusercontent.com/u/9549415?v=3","gravatar_id":"","url":"https://api.github.com/users/pzdeb","html_url":"https://github.com/pzdeb","followers_url":"https://api.github.com/users/pzdeb/followers","following_url":"https://api.github.com/users/pzdeb/following{/other_user}","gists_url":"https://api.github.com/users/pzdeb/gists{/gist_id}","starred_url":"https://api.github.com/users/pzdeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzdeb/subscriptions","organizations_url":"https://api.github.com/users/pzdeb/orgs","repos_url":"https://api.github.com/users/pzdeb/repos","events_url":"https://api.github.com/users/pzdeb/events{/privacy}","received_events_url":"https://api.github.com/users/pzdeb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pzdeb/SimpleCommander","description":"Educational project for internal activities","fork":false,"url":"https://api.github.com/repos/pzdeb/SimpleCommander","forks_url":"https://api.github.com/repos/pzdeb/SimpleCommander/forks","keys_url":"https://api.github.com/repos/pzdeb/SimpleCommander/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pzdeb/SimpleCommander/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pzdeb/SimpleCommander/teams","hooks_url":"https://api.github.com/repos/pzdeb/SimpleCommander/hooks","issue_events_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/events{/number}","events_url":"https://api.github.com/repos/pzdeb/SimpleCommander/events","assignees_url":"https://api.github.com/repos/pzdeb/SimpleCommander/assignees{/user}","branches_url":"https://api.github.com/repos/pzdeb/SimpleCommander/branches{/branch}","tags_url":"https://api.github.com/repos/pzdeb/SimpleCommander/tags","blobs_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/refs{/sha}","trees_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pzdeb/SimpleCommander/statuses/{sha}","languages_url":"https://api.github.com/repos/pzdeb/SimpleCommander/languages","stargazers_url":"https://api.github.com/repos/pzdeb/SimpleCommander/stargazers","contributors_url":"https://api.github.com/repos/pzdeb/SimpleCommander/contributors","subscribers_url":"https://api.github.com/repos/pzdeb/SimpleCommander/subscribers","subscription_url":"https://api.github.com/repos/pzdeb/SimpleCommander/subscription","commits_url":"https://api.github.com/repos/pzdeb/SimpleCommander/commits{/sha}","git_commits_url":"https://api.github.com/repos/pzdeb/SimpleCommander/git/commits{/sha}","comments_url":"https://api.github.com/repos/pzdeb/SimpleCommander/comments{/number}","issue_comment_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/comments{/number}","contents_url":"https://api.github.com/repos/pzdeb/SimpleCommander/contents/{+path}","compare_url":"https://api.github.com/repos/pzdeb/SimpleCommander/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pzdeb/SimpleCommander/merges","archive_url":"https://api.github.com/repos/pzdeb/SimpleCommander/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pzdeb/SimpleCommander/downloads","issues_url":"https://api.github.com/repos/pzdeb/SimpleCommander/issues{/number}","pulls_url":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls{/number}","milestones_url":"https://api.github.com/repos/pzdeb/SimpleCommander/milestones{/number}","notifications_url":"https://api.github.com/repos/pzdeb/SimpleCommander/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pzdeb/SimpleCommander/labels{/name}","releases_url":"https://api.github.com/repos/pzdeb/SimpleCommander/releases{/id}","created_at":"2015-09-07T10:00:08Z","updated_at":"2015-09-07T10:00:08Z","pushed_at":"2015-09-09T14:14:30Z","git_url":"git://github.com/pzdeb/SimpleCommander.git","ssh_url":"git@github.com:pzdeb/SimpleCommander.git","clone_url":"https://github.com/pzdeb/SimpleCommander.git","svn_url":"https://github.com/pzdeb/SimpleCommander","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1"},"html":{"href":"https://github.com/pzdeb/SimpleCommander/pull/1"},"issue":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/1"},"comments":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/pzdeb/SimpleCommander/statuses/b82cf2885e4ad0f1b145a58d332c10fc1765becd"}}}}