{"action":"created","comment":{"url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/comments/189332860","pull_request_review_id":121498084,"id":189332860,"diff_hunk":"@@ -0,0 +1,84 @@\n+package com.codehub.acme.eshop.repository;\n+\n+import com.codehub.acme.eshop.domain.Product;\n+import org.springframework.data.repository.CrudRepository;\n+\n+import java.util.List;\n+\n+public interface ProductRepository extends CrudRepository<Product, Long> {\n+\n+\n+    /**\n+     *\n+     * @param categoryName name of the category the product belongs\n+     * @return the products of the category\n+     */\n+    List<Product>  findProductByCategoryId (String categoryName);\n+\n+    /**\n+     *","path":"src/main/java/com/codehub/acme/eshop/repository/ProductRepository.java","position":19,"original_position":19,"commit_id":"2e98efd74ac0a212e90c8ebbc8769c2178df80fe","original_commit_id":"2e98efd74ac0a212e90c8ebbc8769c2178df80fe","user":{"login":"KostasD21","id":9353022,"avatar_url":"https://avatars2.githubusercontent.com/u/9353022?v=4","gravatar_id":"","url":"https://api.github.com/users/KostasD21","html_url":"https://github.com/KostasD21","followers_url":"https://api.github.com/users/KostasD21/followers","following_url":"https://api.github.com/users/KostasD21/following{/other_user}","gists_url":"https://api.github.com/users/KostasD21/gists{/gist_id}","starred_url":"https://api.github.com/users/KostasD21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostasD21/subscriptions","organizations_url":"https://api.github.com/users/KostasD21/orgs","repos_url":"https://api.github.com/users/KostasD21/repos","events_url":"https://api.github.com/users/KostasD21/events{/privacy}","received_events_url":"https://api.github.com/users/KostasD21/received_events","type":"User","site_admin":false},"body":"Javadoc to be added","created_at":"2018-05-18T17:01:46Z","updated_at":"2018-05-18T17:01:47Z","html_url":"https://github.com/KostasD21/acme-eshop-Company/pull/11#discussion_r189332860","pull_request_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/comments/189332860"},"html":{"href":"https://github.com/KostasD21/acme-eshop-Company/pull/11#discussion_r189332860"},"pull_request":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11","id":189082050,"html_url":"https://github.com/KostasD21/acme-eshop-Company/pull/11","diff_url":"https://github.com/KostasD21/acme-eshop-Company/pull/11.diff","patch_url":"https://github.com/KostasD21/acme-eshop-Company/pull/11.patch","issue_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/11","number":11,"state":"open","locked":false,"title":"Product repository","user":{"login":"elisavetkav","id":25978790,"avatar_url":"https://avatars1.githubusercontent.com/u/25978790?v=4","gravatar_id":"","url":"https://api.github.com/users/elisavetkav","html_url":"https://github.com/elisavetkav","followers_url":"https://api.github.com/users/elisavetkav/followers","following_url":"https://api.github.com/users/elisavetkav/following{/other_user}","gists_url":"https://api.github.com/users/elisavetkav/gists{/gist_id}","starred_url":"https://api.github.com/users/elisavetkav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elisavetkav/subscriptions","organizations_url":"https://api.github.com/users/elisavetkav/orgs","repos_url":"https://api.github.com/users/elisavetkav/repos","events_url":"https://api.github.com/users/elisavetkav/events{/privacy}","received_events_url":"https://api.github.com/users/elisavetkav/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-18T16:56:24Z","updated_at":"2018-05-18T17:01:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38648395bef25a384b27893c696d743ef53cc590","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11/commits","review_comments_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11/comments","review_comment_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/11/comments","statuses_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/statuses/2e98efd74ac0a212e90c8ebbc8769c2178df80fe","head":{"label":"KostasD21:Product-Repository","ref":"Product-Repository","sha":"2e98efd74ac0a212e90c8ebbc8769c2178df80fe","user":{"login":"KostasD21","id":9353022,"avatar_url":"https://avatars2.githubusercontent.com/u/9353022?v=4","gravatar_id":"","url":"https://api.github.com/users/KostasD21","html_url":"https://github.com/KostasD21","followers_url":"https://api.github.com/users/KostasD21/followers","following_url":"https://api.github.com/users/KostasD21/following{/other_user}","gists_url":"https://api.github.com/users/KostasD21/gists{/gist_id}","starred_url":"https://api.github.com/users/KostasD21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostasD21/subscriptions","organizations_url":"https://api.github.com/users/KostasD21/orgs","repos_url":"https://api.github.com/users/KostasD21/repos","events_url":"https://api.github.com/users/KostasD21/events{/privacy}","received_events_url":"https://api.github.com/users/KostasD21/received_events","type":"User","site_admin":false},"repo":{"id":132502341,"name":"acme-eshop-Company","full_name":"KostasD21/acme-eshop-Company","owner":{"login":"KostasD21","id":9353022,"avatar_url":"https://avatars2.githubusercontent.com/u/9353022?v=4","gravatar_id":"","url":"https://api.github.com/users/KostasD21","html_url":"https://github.com/KostasD21","followers_url":"https://api.github.com/users/KostasD21/followers","following_url":"https://api.github.com/users/KostasD21/following{/other_user}","gists_url":"https://api.github.com/users/KostasD21/gists{/gist_id}","starred_url":"https://api.github.com/users/KostasD21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostasD21/subscriptions","organizations_url":"https://api.github.com/users/KostasD21/orgs","repos_url":"https://api.github.com/users/KostasD21/repos","events_url":"https://api.github.com/users/KostasD21/events{/privacy}","received_events_url":"https://api.github.com/users/KostasD21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KostasD21/acme-eshop-Company","description":null,"fork":false,"url":"https://api.github.com/repos/KostasD21/acme-eshop-Company","forks_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/forks","keys_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/teams","hooks_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/hooks","issue_events_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/events{/number}","events_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/events","assignees_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/assignees{/user}","branches_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/branches{/branch}","tags_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/tags","blobs_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/refs{/sha}","trees_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/statuses/{sha}","languages_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/languages","stargazers_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/stargazers","contributors_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/contributors","subscribers_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/subscribers","subscription_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/subscription","commits_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/commits{/sha}","git_commits_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/commits{/sha}","comments_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/comments{/number}","issue_comment_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/comments{/number}","contents_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/contents/{+path}","compare_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/merges","archive_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/downloads","issues_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues{/number}","pulls_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls{/number}","milestones_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/milestones{/number}","notifications_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/labels{/name}","releases_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/releases{/id}","deployments_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/deployments","created_at":"2018-05-07T18:42:03Z","updated_at":"2018-05-16T18:27:37Z","pushed_at":"2018-05-18T16:56:24Z","git_url":"git://github.com/KostasD21/acme-eshop-Company.git","ssh_url":"git@github.com:KostasD21/acme-eshop-Company.git","clone_url":"https://github.com/KostasD21/acme-eshop-Company.git","svn_url":"https://github.com/KostasD21/acme-eshop-Company","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"Java","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KostasD21:create-repositories","ref":"create-repositories","sha":"21b38cebb81ee2eb861374762e8c4f92d136a77d","user":{"login":"KostasD21","id":9353022,"avatar_url":"https://avatars2.githubusercontent.com/u/9353022?v=4","gravatar_id":"","url":"https://api.github.com/users/KostasD21","html_url":"https://github.com/KostasD21","followers_url":"https://api.github.com/users/KostasD21/followers","following_url":"https://api.github.com/users/KostasD21/following{/other_user}","gists_url":"https://api.github.com/users/KostasD21/gists{/gist_id}","starred_url":"https://api.github.com/users/KostasD21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostasD21/subscriptions","organizations_url":"https://api.github.com/users/KostasD21/orgs","repos_url":"https://api.github.com/users/KostasD21/repos","events_url":"https://api.github.com/users/KostasD21/events{/privacy}","received_events_url":"https://api.github.com/users/KostasD21/received_events","type":"User","site_admin":false},"repo":{"id":132502341,"name":"acme-eshop-Company","full_name":"KostasD21/acme-eshop-Company","owner":{"login":"KostasD21","id":9353022,"avatar_url":"https://avatars2.githubusercontent.com/u/9353022?v=4","gravatar_id":"","url":"https://api.github.com/users/KostasD21","html_url":"https://github.com/KostasD21","followers_url":"https://api.github.com/users/KostasD21/followers","following_url":"https://api.github.com/users/KostasD21/following{/other_user}","gists_url":"https://api.github.com/users/KostasD21/gists{/gist_id}","starred_url":"https://api.github.com/users/KostasD21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostasD21/subscriptions","organizations_url":"https://api.github.com/users/KostasD21/orgs","repos_url":"https://api.github.com/users/KostasD21/repos","events_url":"https://api.github.com/users/KostasD21/events{/privacy}","received_events_url":"https://api.github.com/users/KostasD21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KostasD21/acme-eshop-Company","description":null,"fork":false,"url":"https://api.github.com/repos/KostasD21/acme-eshop-Company","forks_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/forks","keys_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/teams","hooks_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/hooks","issue_events_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/events{/number}","events_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/events","assignees_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/assignees{/user}","branches_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/branches{/branch}","tags_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/tags","blobs_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/refs{/sha}","trees_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/statuses/{sha}","languages_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/languages","stargazers_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/stargazers","contributors_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/contributors","subscribers_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/subscribers","subscription_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/subscription","commits_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/commits{/sha}","git_commits_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/git/commits{/sha}","comments_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/comments{/number}","issue_comment_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/comments{/number}","contents_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/contents/{+path}","compare_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/merges","archive_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/downloads","issues_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues{/number}","pulls_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls{/number}","milestones_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/milestones{/number}","notifications_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/labels{/name}","releases_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/releases{/id}","deployments_url":"https://api.github.com/repos/KostasD21/acme-eshop-Company/deployments","created_at":"2018-05-07T18:42:03Z","updated_at":"2018-05-16T18:27:37Z","pushed_at":"2018-05-18T16:56:24Z","git_url":"git://github.com/KostasD21/acme-eshop-Company.git","ssh_url":"git@github.com:KostasD21/acme-eshop-Company.git","clone_url":"https://github.com/KostasD21/acme-eshop-Company.git","svn_url":"https://github.com/KostasD21/acme-eshop-Company","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"Java","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11"},"html":{"href":"https://github.com/KostasD21/acme-eshop-Company/pull/11"},"issue":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/11"},"comments":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/KostasD21/acme-eshop-Company/statuses/2e98efd74ac0a212e90c8ebbc8769c2178df80fe"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"KostasD21"}}