{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/guice/pulls/comments/29944008","id":29944008,"diff_hunk":"@@ -0,0 +1,22 @@\n+package com.clouway.core;\n+\n+import java.util.List;\n+\n+/**\n+ * @author Tihomir Kehayov <kehayov89@gmail.com>\n+ */\n+public interface UserRepository {\n+  void add(User type);\n+\n+  List<User> findAll();\n+\n+  User findOne(User type);","path":"src/main/java/com/clouway/core/UserRepository.java","position":null,"original_position":13,"commit_id":"f350c1495279e84be452313726343dedc04aa84f","original_commit_id":"c2b0f04abf52935fe16a7c8cf6262bc491aecbd0","user":{"login":"tkehayov","id":5087372,"avatar_url":"https://avatars.githubusercontent.com/u/5087372?v=3","gravatar_id":"","url":"https://api.github.com/users/tkehayov","html_url":"https://github.com/tkehayov","followers_url":"https://api.github.com/users/tkehayov/followers","following_url":"https://api.github.com/users/tkehayov/following{/other_user}","gists_url":"https://api.github.com/users/tkehayov/gists{/gist_id}","starred_url":"https://api.github.com/users/tkehayov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkehayov/subscriptions","organizations_url":"https://api.github.com/users/tkehayov/orgs","repos_url":"https://api.github.com/users/tkehayov/repos","events_url":"https://api.github.com/users/tkehayov/events{/privacy}","received_events_url":"https://api.github.com/users/tkehayov/received_events","type":"User","site_admin":false},"body":"changed","created_at":"2015-05-08T14:31:34Z","updated_at":"2015-05-08T14:31:34Z","html_url":"https://github.com/clouway-incubator/guice/pull/2#discussion_r29944008","pull_request_url":"https://api.github.com/repos/clouway-incubator/guice/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/guice/pulls/comments/29944008"},"html":{"href":"https://github.com/clouway-incubator/guice/pull/2#discussion_r29944008"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/guice/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/guice/pulls/2","id":34797493,"html_url":"https://github.com/clouway-incubator/guice/pull/2","diff_url":"https://github.com/clouway-incubator/guice/pull/2.diff","patch_url":"https://github.com/clouway-incubator/guice/pull/2.patch","issue_url":"https://api.github.com/repos/clouway-incubator/guice/issues/2","number":2,"state":"open","locked":false,"title":"tkehayov: bank written with guice and sitebricks","user":{"login":"tkehayov","id":5087372,"avatar_url":"https://avatars.githubusercontent.com/u/5087372?v=3","gravatar_id":"","url":"https://api.github.com/users/tkehayov","html_url":"https://github.com/tkehayov","followers_url":"https://api.github.com/users/tkehayov/followers","following_url":"https://api.github.com/users/tkehayov/following{/other_user}","gists_url":"https://api.github.com/users/tkehayov/gists{/gist_id}","starred_url":"https://api.github.com/users/tkehayov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkehayov/subscriptions","organizations_url":"https://api.github.com/users/tkehayov/orgs","repos_url":"https://api.github.com/users/tkehayov/repos","events_url":"https://api.github.com/users/tkehayov/events{/privacy}","received_events_url":"https://api.github.com/users/tkehayov/received_events","type":"User","site_admin":false},"body":"(Guice) task completion, using guice and sitebricks. Bank functionality: \r\n   - deposit and withdraw - working with big decimal;\r\n   - transaction history - display paginated history of transactions ordered by date;\r\n   - register and login - only one username exists in the system. When user login balance and welcome message will display;\r\n   - sessions - system sessions works with cookies. If user delete cookies, automatically will be logout;\r\n  ","created_at":"2015-05-06T08:38:48Z","updated_at":"2015-05-08T14:31:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e681e62c98512775bc44b422ebde09dbdbffe70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/guice/pulls/2/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/guice/pulls/2/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/guice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/guice/issues/2/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/guice/statuses/f350c1495279e84be452313726343dedc04aa84f","head":{"label":"tkehayov:sitebricks-bank","ref":"sitebricks-bank","sha":"f350c1495279e84be452313726343dedc04aa84f","user":{"login":"tkehayov","id":5087372,"avatar_url":"https://avatars.githubusercontent.com/u/5087372?v=3","gravatar_id":"","url":"https://api.github.com/users/tkehayov","html_url":"https://github.com/tkehayov","followers_url":"https://api.github.com/users/tkehayov/followers","following_url":"https://api.github.com/users/tkehayov/following{/other_user}","gists_url":"https://api.github.com/users/tkehayov/gists{/gist_id}","starred_url":"https://api.github.com/users/tkehayov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkehayov/subscriptions","organizations_url":"https://api.github.com/users/tkehayov/orgs","repos_url":"https://api.github.com/users/tkehayov/repos","events_url":"https://api.github.com/users/tkehayov/events{/privacy}","received_events_url":"https://api.github.com/users/tkehayov/received_events","type":"User","site_admin":false},"repo":{"id":35088208,"name":"guice","full_name":"tkehayov/guice","owner":{"login":"tkehayov","id":5087372,"avatar_url":"https://avatars.githubusercontent.com/u/5087372?v=3","gravatar_id":"","url":"https://api.github.com/users/tkehayov","html_url":"https://github.com/tkehayov","followers_url":"https://api.github.com/users/tkehayov/followers","following_url":"https://api.github.com/users/tkehayov/following{/other_user}","gists_url":"https://api.github.com/users/tkehayov/gists{/gist_id}","starred_url":"https://api.github.com/users/tkehayov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkehayov/subscriptions","organizations_url":"https://api.github.com/users/tkehayov/orgs","repos_url":"https://api.github.com/users/tkehayov/repos","events_url":"https://api.github.com/users/tkehayov/events{/privacy}","received_events_url":"https://api.github.com/users/tkehayov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tkehayov/guice","description":"Working with Guice","fork":true,"url":"https://api.github.com/repos/tkehayov/guice","forks_url":"https://api.github.com/repos/tkehayov/guice/forks","keys_url":"https://api.github.com/repos/tkehayov/guice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tkehayov/guice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tkehayov/guice/teams","hooks_url":"https://api.github.com/repos/tkehayov/guice/hooks","issue_events_url":"https://api.github.com/repos/tkehayov/guice/issues/events{/number}","events_url":"https://api.github.com/repos/tkehayov/guice/events","assignees_url":"https://api.github.com/repos/tkehayov/guice/assignees{/user}","branches_url":"https://api.github.com/repos/tkehayov/guice/branches{/branch}","tags_url":"https://api.github.com/repos/tkehayov/guice/tags","blobs_url":"https://api.github.com/repos/tkehayov/guice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tkehayov/guice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tkehayov/guice/git/refs{/sha}","trees_url":"https://api.github.com/repos/tkehayov/guice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tkehayov/guice/statuses/{sha}","languages_url":"https://api.github.com/repos/tkehayov/guice/languages","stargazers_url":"https://api.github.com/repos/tkehayov/guice/stargazers","contributors_url":"https://api.github.com/repos/tkehayov/guice/contributors","subscribers_url":"https://api.github.com/repos/tkehayov/guice/subscribers","subscription_url":"https://api.github.com/repos/tkehayov/guice/subscription","commits_url":"https://api.github.com/repos/tkehayov/guice/commits{/sha}","git_commits_url":"https://api.github.com/repos/tkehayov/guice/git/commits{/sha}","comments_url":"https://api.github.com/repos/tkehayov/guice/comments{/number}","issue_comment_url":"https://api.github.com/repos/tkehayov/guice/issues/comments{/number}","contents_url":"https://api.github.com/repos/tkehayov/guice/contents/{+path}","compare_url":"https://api.github.com/repos/tkehayov/guice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tkehayov/guice/merges","archive_url":"https://api.github.com/repos/tkehayov/guice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tkehayov/guice/downloads","issues_url":"https://api.github.com/repos/tkehayov/guice/issues{/number}","pulls_url":"https://api.github.com/repos/tkehayov/guice/pulls{/number}","milestones_url":"https://api.github.com/repos/tkehayov/guice/milestones{/number}","notifications_url":"https://api.github.com/repos/tkehayov/guice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tkehayov/guice/labels{/name}","releases_url":"https://api.github.com/repos/tkehayov/guice/releases{/id}","created_at":"2015-05-05T08:45:36Z","updated_at":"2014-12-13T04:22:03Z","pushed_at":"2015-05-08T14:20:30Z","git_url":"git://github.com/tkehayov/guice.git","ssh_url":"git@github.com:tkehayov/guice.git","clone_url":"https://github.com/tkehayov/guice.git","svn_url":"https://github.com/tkehayov/guice","homepage":null,"size":100,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clouway-incubator:t_kehayov_bank","ref":"t_kehayov_bank","sha":"0d6d8c2c37cf1c7b5238417680c20f57411768a6","user":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":27949184,"name":"guice","full_name":"clouway-incubator/guice","owner":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/guice","description":"Working with Guice","fork":false,"url":"https://api.github.com/repos/clouway-incubator/guice","forks_url":"https://api.github.com/repos/clouway-incubator/guice/forks","keys_url":"https://api.github.com/repos/clouway-incubator/guice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/guice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/guice/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/guice/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/guice/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/guice/events","assignees_url":"https://api.github.com/repos/clouway-incubator/guice/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/guice/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/guice/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/guice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/guice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/guice/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/guice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/guice/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/guice/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/guice/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/guice/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/guice/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/guice/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/guice/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/guice/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/guice/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/guice/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/guice/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/guice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/guice/merges","archive_url":"https://api.github.com/repos/clouway-incubator/guice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/guice/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/guice/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/guice/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/guice/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/guice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/guice/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/guice/releases{/id}","created_at":"2014-12-13T04:22:03Z","updated_at":"2014-12-13T04:22:03Z","pushed_at":"2015-05-08T14:20:30Z","git_url":"git://github.com/clouway-incubator/guice.git","ssh_url":"git@github.com:clouway-incubator/guice.git","clone_url":"https://github.com/clouway-incubator/guice.git","svn_url":"https://github.com/clouway-incubator/guice","homepage":null,"size":100,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/guice/pulls/2"},"html":{"href":"https://github.com/clouway-incubator/guice/pull/2"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/guice/issues/2"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/guice/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/guice/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/guice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/guice/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/guice/statuses/f350c1495279e84be452313726343dedc04aa84f"}}}}