{"action":"created","comment":{"url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/comments/66386084","id":66386084,"diff_hunk":"@@ -0,0 +1,21 @@\n+package com.clouway.core;\n+\n+/**\n+ * Created by Kristiyan Petkov  <kristiqn.l.petkov@gmail.com> on 02.06.16.\n+ */\n+public interface SessionRepository {\n+\n+  void create(Session session);\n+\n+  Session get(String sessionID);\n+\n+  void delete(String sessionID);\n+\n+  void deleteAll();","path":"task5/src/main/java/com/clouway/core/SessionRepository.java","position":14,"original_position":14,"commit_id":"9c55c69525d24359e01fa1e6e2b197ae99ede71e","original_commit_id":"e4e29f526ac0c138dbc2b1ba9c68d65369a4e613","user":{"login":"panayotkulchev","id":8696264,"avatar_url":"https://avatars.githubusercontent.com/u/8696264?v=3","gravatar_id":"","url":"https://api.github.com/users/panayotkulchev","html_url":"https://github.com/panayotkulchev","followers_url":"https://api.github.com/users/panayotkulchev/followers","following_url":"https://api.github.com/users/panayotkulchev/following{/other_user}","gists_url":"https://api.github.com/users/panayotkulchev/gists{/gist_id}","starred_url":"https://api.github.com/users/panayotkulchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panayotkulchev/subscriptions","organizations_url":"https://api.github.com/users/panayotkulchev/orgs","repos_url":"https://api.github.com/users/panayotkulchev/repos","events_url":"https://api.github.com/users/panayotkulchev/events{/privacy}","received_events_url":"https://api.github.com/users/panayotkulchev/received_events","type":"User","site_admin":false},"body":"The testing should not make you wirte code. This method can be private method in the tests.","created_at":"2016-06-09T05:52:54Z","updated_at":"2016-06-09T05:52:54Z","html_url":"https://github.com/kristiyanpetkov/servlets/pull/1#discussion_r66386084","pull_request_url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/comments/66386084"},"html":{"href":"https://github.com/kristiyanpetkov/servlets/pull/1#discussion_r66386084"},"pull_request":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1","id":72361565,"html_url":"https://github.com/kristiyanpetkov/servlets/pull/1","diff_url":"https://github.com/kristiyanpetkov/servlets/pull/1.diff","patch_url":"https://github.com/kristiyanpetkov/servlets/pull/1.patch","issue_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/1","number":1,"state":"open","locked":false,"title":"security/filter: added security filter ","user":{"login":"kristiyanpetkov","id":12229738,"avatar_url":"https://avatars.githubusercontent.com/u/12229738?v=3","gravatar_id":"","url":"https://api.github.com/users/kristiyanpetkov","html_url":"https://github.com/kristiyanpetkov","followers_url":"https://api.github.com/users/kristiyanpetkov/followers","following_url":"https://api.github.com/users/kristiyanpetkov/following{/other_user}","gists_url":"https://api.github.com/users/kristiyanpetkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kristiyanpetkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristiyanpetkov/subscriptions","organizations_url":"https://api.github.com/users/kristiyanpetkov/orgs","repos_url":"https://api.github.com/users/kristiyanpetkov/repos","events_url":"https://api.github.com/users/kristiyanpetkov/events{/privacy}","received_events_url":"https://api.github.com/users/kristiyanpetkov/received_events","type":"User","site_admin":false},"body":"I made security filter which is invoked every time we want to access user account.  ","created_at":"2016-06-02T14:59:03Z","updated_at":"2016-06-09T05:52:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ff09dc59c31ca7ab26e29ea5870027aea3498ea","assignee":{"login":"panayotkulchev","id":8696264,"avatar_url":"https://avatars.githubusercontent.com/u/8696264?v=3","gravatar_id":"","url":"https://api.github.com/users/panayotkulchev","html_url":"https://github.com/panayotkulchev","followers_url":"https://api.github.com/users/panayotkulchev/followers","following_url":"https://api.github.com/users/panayotkulchev/following{/other_user}","gists_url":"https://api.github.com/users/panayotkulchev/gists{/gist_id}","starred_url":"https://api.github.com/users/panayotkulchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panayotkulchev/subscriptions","organizations_url":"https://api.github.com/users/panayotkulchev/orgs","repos_url":"https://api.github.com/users/panayotkulchev/repos","events_url":"https://api.github.com/users/panayotkulchev/events{/privacy}","received_events_url":"https://api.github.com/users/panayotkulchev/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/1/comments","statuses_url":"https://api.github.com/repos/kristiyanpetkov/servlets/statuses/9c55c69525d24359e01fa1e6e2b197ae99ede71e","head":{"label":"kristiyanpetkov:task5security","ref":"task5security","sha":"9c55c69525d24359e01fa1e6e2b197ae99ede71e","user":{"login":"kristiyanpetkov","id":12229738,"avatar_url":"https://avatars.githubusercontent.com/u/12229738?v=3","gravatar_id":"","url":"https://api.github.com/users/kristiyanpetkov","html_url":"https://github.com/kristiyanpetkov","followers_url":"https://api.github.com/users/kristiyanpetkov/followers","following_url":"https://api.github.com/users/kristiyanpetkov/following{/other_user}","gists_url":"https://api.github.com/users/kristiyanpetkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kristiyanpetkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristiyanpetkov/subscriptions","organizations_url":"https://api.github.com/users/kristiyanpetkov/orgs","repos_url":"https://api.github.com/users/kristiyanpetkov/repos","events_url":"https://api.github.com/users/kristiyanpetkov/events{/privacy}","received_events_url":"https://api.github.com/users/kristiyanpetkov/received_events","type":"User","site_admin":false},"repo":{"id":58708462,"name":"servlets","full_name":"kristiyanpetkov/servlets","owner":{"login":"kristiyanpetkov","id":12229738,"avatar_url":"https://avatars.githubusercontent.com/u/12229738?v=3","gravatar_id":"","url":"https://api.github.com/users/kristiyanpetkov","html_url":"https://github.com/kristiyanpetkov","followers_url":"https://api.github.com/users/kristiyanpetkov/followers","following_url":"https://api.github.com/users/kristiyanpetkov/following{/other_user}","gists_url":"https://api.github.com/users/kristiyanpetkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kristiyanpetkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristiyanpetkov/subscriptions","organizations_url":"https://api.github.com/users/kristiyanpetkov/orgs","repos_url":"https://api.github.com/users/kristiyanpetkov/repos","events_url":"https://api.github.com/users/kristiyanpetkov/events{/privacy}","received_events_url":"https://api.github.com/users/kristiyanpetkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kristiyanpetkov/servlets","description":"Servlets ","fork":true,"url":"https://api.github.com/repos/kristiyanpetkov/servlets","forks_url":"https://api.github.com/repos/kristiyanpetkov/servlets/forks","keys_url":"https://api.github.com/repos/kristiyanpetkov/servlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kristiyanpetkov/servlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kristiyanpetkov/servlets/teams","hooks_url":"https://api.github.com/repos/kristiyanpetkov/servlets/hooks","issue_events_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/events{/number}","events_url":"https://api.github.com/repos/kristiyanpetkov/servlets/events","assignees_url":"https://api.github.com/repos/kristiyanpetkov/servlets/assignees{/user}","branches_url":"https://api.github.com/repos/kristiyanpetkov/servlets/branches{/branch}","tags_url":"https://api.github.com/repos/kristiyanpetkov/servlets/tags","blobs_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kristiyanpetkov/servlets/statuses/{sha}","languages_url":"https://api.github.com/repos/kristiyanpetkov/servlets/languages","stargazers_url":"https://api.github.com/repos/kristiyanpetkov/servlets/stargazers","contributors_url":"https://api.github.com/repos/kristiyanpetkov/servlets/contributors","subscribers_url":"https://api.github.com/repos/kristiyanpetkov/servlets/subscribers","subscription_url":"https://api.github.com/repos/kristiyanpetkov/servlets/subscription","commits_url":"https://api.github.com/repos/kristiyanpetkov/servlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/kristiyanpetkov/servlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/kristiyanpetkov/servlets/contents/{+path}","compare_url":"https://api.github.com/repos/kristiyanpetkov/servlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kristiyanpetkov/servlets/merges","archive_url":"https://api.github.com/repos/kristiyanpetkov/servlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kristiyanpetkov/servlets/downloads","issues_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues{/number}","pulls_url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls{/number}","milestones_url":"https://api.github.com/repos/kristiyanpetkov/servlets/milestones{/number}","notifications_url":"https://api.github.com/repos/kristiyanpetkov/servlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kristiyanpetkov/servlets/labels{/name}","releases_url":"https://api.github.com/repos/kristiyanpetkov/servlets/releases{/id}","deployments_url":"https://api.github.com/repos/kristiyanpetkov/servlets/deployments","created_at":"2016-05-13T06:41:35Z","updated_at":"2015-10-15T06:53:35Z","pushed_at":"2016-06-08T14:38:12Z","git_url":"git://github.com/kristiyanpetkov/servlets.git","ssh_url":"git@github.com:kristiyanpetkov/servlets.git","clone_url":"https://github.com/kristiyanpetkov/servlets.git","svn_url":"https://github.com/kristiyanpetkov/servlets","homepage":null,"size":269,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"kristiyanpetkov:task5","ref":"task5","sha":"7c24e77fd24545e14647f6f5d3dbcffdb1483d55","user":{"login":"kristiyanpetkov","id":12229738,"avatar_url":"https://avatars.githubusercontent.com/u/12229738?v=3","gravatar_id":"","url":"https://api.github.com/users/kristiyanpetkov","html_url":"https://github.com/kristiyanpetkov","followers_url":"https://api.github.com/users/kristiyanpetkov/followers","following_url":"https://api.github.com/users/kristiyanpetkov/following{/other_user}","gists_url":"https://api.github.com/users/kristiyanpetkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kristiyanpetkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristiyanpetkov/subscriptions","organizations_url":"https://api.github.com/users/kristiyanpetkov/orgs","repos_url":"https://api.github.com/users/kristiyanpetkov/repos","events_url":"https://api.github.com/users/kristiyanpetkov/events{/privacy}","received_events_url":"https://api.github.com/users/kristiyanpetkov/received_events","type":"User","site_admin":false},"repo":{"id":58708462,"name":"servlets","full_name":"kristiyanpetkov/servlets","owner":{"login":"kristiyanpetkov","id":12229738,"avatar_url":"https://avatars.githubusercontent.com/u/12229738?v=3","gravatar_id":"","url":"https://api.github.com/users/kristiyanpetkov","html_url":"https://github.com/kristiyanpetkov","followers_url":"https://api.github.com/users/kristiyanpetkov/followers","following_url":"https://api.github.com/users/kristiyanpetkov/following{/other_user}","gists_url":"https://api.github.com/users/kristiyanpetkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kristiyanpetkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristiyanpetkov/subscriptions","organizations_url":"https://api.github.com/users/kristiyanpetkov/orgs","repos_url":"https://api.github.com/users/kristiyanpetkov/repos","events_url":"https://api.github.com/users/kristiyanpetkov/events{/privacy}","received_events_url":"https://api.github.com/users/kristiyanpetkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kristiyanpetkov/servlets","description":"Servlets ","fork":true,"url":"https://api.github.com/repos/kristiyanpetkov/servlets","forks_url":"https://api.github.com/repos/kristiyanpetkov/servlets/forks","keys_url":"https://api.github.com/repos/kristiyanpetkov/servlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kristiyanpetkov/servlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kristiyanpetkov/servlets/teams","hooks_url":"https://api.github.com/repos/kristiyanpetkov/servlets/hooks","issue_events_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/events{/number}","events_url":"https://api.github.com/repos/kristiyanpetkov/servlets/events","assignees_url":"https://api.github.com/repos/kristiyanpetkov/servlets/assignees{/user}","branches_url":"https://api.github.com/repos/kristiyanpetkov/servlets/branches{/branch}","tags_url":"https://api.github.com/repos/kristiyanpetkov/servlets/tags","blobs_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kristiyanpetkov/servlets/statuses/{sha}","languages_url":"https://api.github.com/repos/kristiyanpetkov/servlets/languages","stargazers_url":"https://api.github.com/repos/kristiyanpetkov/servlets/stargazers","contributors_url":"https://api.github.com/repos/kristiyanpetkov/servlets/contributors","subscribers_url":"https://api.github.com/repos/kristiyanpetkov/servlets/subscribers","subscription_url":"https://api.github.com/repos/kristiyanpetkov/servlets/subscription","commits_url":"https://api.github.com/repos/kristiyanpetkov/servlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/kristiyanpetkov/servlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/kristiyanpetkov/servlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/kristiyanpetkov/servlets/contents/{+path}","compare_url":"https://api.github.com/repos/kristiyanpetkov/servlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kristiyanpetkov/servlets/merges","archive_url":"https://api.github.com/repos/kristiyanpetkov/servlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kristiyanpetkov/servlets/downloads","issues_url":"https://api.github.com/repos/kristiyanpetkov/servlets/issues{/number}","pulls_url":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls{/number}","milestones_url":"https://api.github.com/repos/kristiyanpetkov/servlets/milestones{/number}","notifications_url":"https://api.github.com/repos/kristiyanpetkov/servlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kristiyanpetkov/servlets/labels{/name}","releases_url":"https://api.github.com/repos/kristiyanpetkov/servlets/releases{/id}","deployments_url":"https://api.github.com/repos/kristiyanpetkov/servlets/deployments","created_at":"2016-05-13T06:41:35Z","updated_at":"2015-10-15T06:53:35Z","pushed_at":"2016-06-08T14:38:12Z","git_url":"git://github.com/kristiyanpetkov/servlets.git","ssh_url":"git@github.com:kristiyanpetkov/servlets.git","clone_url":"https://github.com/kristiyanpetkov/servlets.git","svn_url":"https://github.com/kristiyanpetkov/servlets","homepage":null,"size":269,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1"},"html":{"href":"https://github.com/kristiyanpetkov/servlets/pull/1"},"issue":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/1"},"comments":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kristiyanpetkov/servlets/statuses/9c55c69525d24359e01fa1e6e2b197ae99ede71e"}}}}
{"actor":{"display_login":"panayotkulchev"}}