{"action":"created","comment":{"url":"https://api.github.com/repos/Gradder/OnlineShop/pulls/comments/201293117","pull_request_review_id":135763620,"id":201293117,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTI5MzExNw==","diff_hunk":"@@ -0,0 +1,12 @@\n+package com.epam.onlineshop.services;\n+\n+import com.epam.onlineshop.entities.Product;\n+\n+import java.util.List;\n+\n+public interface ProductService {\n+\n+    boolean addNewProduct(Product product);\n+    List<Product> getAllProducts();\n+    boolean findByName(String name);","path":"src/main/java/com/epam/onlineshop/services/ProductService.java","position":11,"original_position":11,"commit_id":"fe388098739107a3bcbef538304ff6fceaeb6a07","original_commit_id":"0bc044ccc2512ea69c15c84d2b99bd12acc70c3a","user":{"login":"vakhonin","id":29901003,"node_id":"MDQ6VXNlcjI5OTAxMDAz","avatar_url":"https://avatars2.githubusercontent.com/u/29901003?v=4","gravatar_id":"","url":"https://api.github.com/users/vakhonin","html_url":"https://github.com/vakhonin","followers_url":"https://api.github.com/users/vakhonin/followers","following_url":"https://api.github.com/users/vakhonin/following{/other_user}","gists_url":"https://api.github.com/users/vakhonin/gists{/gist_id}","starred_url":"https://api.github.com/users/vakhonin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vakhonin/subscriptions","organizations_url":"https://api.github.com/users/vakhonin/orgs","repos_url":"https://api.github.com/users/vakhonin/repos","events_url":"https://api.github.com/users/vakhonin/events{/privacy}","received_events_url":"https://api.github.com/users/vakhonin/received_events","type":"User","site_admin":false},"body":"Так может там есть через `exists...` ?","created_at":"2018-07-10T10:30:00Z","updated_at":"2018-07-10T10:30:00Z","html_url":"https://github.com/Gradder/OnlineShop/pull/10#discussion_r201293117","pull_request_url":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Gradder/OnlineShop/pulls/comments/201293117"},"html":{"href":"https://github.com/Gradder/OnlineShop/pull/10#discussion_r201293117"},"pull_request":{"href":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10"}},"in_reply_to_id":201291144},"pull_request":{"url":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10","id":200330452,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMzMwNDUy","html_url":"https://github.com/Gradder/OnlineShop/pull/10","diff_url":"https://github.com/Gradder/OnlineShop/pull/10.diff","patch_url":"https://github.com/Gradder/OnlineShop/pull/10.patch","issue_url":"https://api.github.com/repos/Gradder/OnlineShop/issues/10","number":10,"state":"open","locked":false,"title":"Product catalog pages, adding a product by admin","user":{"login":"lostforstupid","id":35739107,"node_id":"MDQ6VXNlcjM1NzM5MTA3","avatar_url":"https://avatars1.githubusercontent.com/u/35739107?v=4","gravatar_id":"","url":"https://api.github.com/users/lostforstupid","html_url":"https://github.com/lostforstupid","followers_url":"https://api.github.com/users/lostforstupid/followers","following_url":"https://api.github.com/users/lostforstupid/following{/other_user}","gists_url":"https://api.github.com/users/lostforstupid/gists{/gist_id}","starred_url":"https://api.github.com/users/lostforstupid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lostforstupid/subscriptions","organizations_url":"https://api.github.com/users/lostforstupid/orgs","repos_url":"https://api.github.com/users/lostforstupid/repos","events_url":"https://api.github.com/users/lostforstupid/events{/privacy}","received_events_url":"https://api.github.com/users/lostforstupid/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-10T09:15:37Z","updated_at":"2018-07-10T10:30:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c98b07df6813863a0fa19b0f4e32aa52ceef9dd3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"anveslav","id":26720156,"node_id":"MDQ6VXNlcjI2NzIwMTU2","avatar_url":"https://avatars0.githubusercontent.com/u/26720156?v=4","gravatar_id":"","url":"https://api.github.com/users/anveslav","html_url":"https://github.com/anveslav","followers_url":"https://api.github.com/users/anveslav/followers","following_url":"https://api.github.com/users/anveslav/following{/other_user}","gists_url":"https://api.github.com/users/anveslav/gists{/gist_id}","starred_url":"https://api.github.com/users/anveslav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anveslav/subscriptions","organizations_url":"https://api.github.com/users/anveslav/orgs","repos_url":"https://api.github.com/users/anveslav/repos","events_url":"https://api.github.com/users/anveslav/events{/privacy}","received_events_url":"https://api.github.com/users/anveslav/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Gradder/OnlineShop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gradder/OnlineShop/issues/10/comments","statuses_url":"https://api.github.com/repos/Gradder/OnlineShop/statuses/fe388098739107a3bcbef538304ff6fceaeb6a07","head":{"label":"lostforstupid:master","ref":"master","sha":"fe388098739107a3bcbef538304ff6fceaeb6a07","user":{"login":"lostforstupid","id":35739107,"node_id":"MDQ6VXNlcjM1NzM5MTA3","avatar_url":"https://avatars1.githubusercontent.com/u/35739107?v=4","gravatar_id":"","url":"https://api.github.com/users/lostforstupid","html_url":"https://github.com/lostforstupid","followers_url":"https://api.github.com/users/lostforstupid/followers","following_url":"https://api.github.com/users/lostforstupid/following{/other_user}","gists_url":"https://api.github.com/users/lostforstupid/gists{/gist_id}","starred_url":"https://api.github.com/users/lostforstupid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lostforstupid/subscriptions","organizations_url":"https://api.github.com/users/lostforstupid/orgs","repos_url":"https://api.github.com/users/lostforstupid/repos","events_url":"https://api.github.com/users/lostforstupid/events{/privacy}","received_events_url":"https://api.github.com/users/lostforstupid/received_events","type":"User","site_admin":false},"repo":{"id":140009316,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAwMDkzMTY=","name":"OnlineShop","full_name":"lostforstupid/OnlineShop","owner":{"login":"lostforstupid","id":35739107,"node_id":"MDQ6VXNlcjM1NzM5MTA3","avatar_url":"https://avatars1.githubusercontent.com/u/35739107?v=4","gravatar_id":"","url":"https://api.github.com/users/lostforstupid","html_url":"https://github.com/lostforstupid","followers_url":"https://api.github.com/users/lostforstupid/followers","following_url":"https://api.github.com/users/lostforstupid/following{/other_user}","gists_url":"https://api.github.com/users/lostforstupid/gists{/gist_id}","starred_url":"https://api.github.com/users/lostforstupid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lostforstupid/subscriptions","organizations_url":"https://api.github.com/users/lostforstupid/orgs","repos_url":"https://api.github.com/users/lostforstupid/repos","events_url":"https://api.github.com/users/lostforstupid/events{/privacy}","received_events_url":"https://api.github.com/users/lostforstupid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lostforstupid/OnlineShop","description":"First project for 2-weeks challenge from EPAM","fork":true,"url":"https://api.github.com/repos/lostforstupid/OnlineShop","forks_url":"https://api.github.com/repos/lostforstupid/OnlineShop/forks","keys_url":"https://api.github.com/repos/lostforstupid/OnlineShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lostforstupid/OnlineShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lostforstupid/OnlineShop/teams","hooks_url":"https://api.github.com/repos/lostforstupid/OnlineShop/hooks","issue_events_url":"https://api.github.com/repos/lostforstupid/OnlineShop/issues/events{/number}","events_url":"https://api.github.com/repos/lostforstupid/OnlineShop/events","assignees_url":"https://api.github.com/repos/lostforstupid/OnlineShop/assignees{/user}","branches_url":"https://api.github.com/repos/lostforstupid/OnlineShop/branches{/branch}","tags_url":"https://api.github.com/repos/lostforstupid/OnlineShop/tags","blobs_url":"https://api.github.com/repos/lostforstupid/OnlineShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lostforstupid/OnlineShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lostforstupid/OnlineShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/lostforstupid/OnlineShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lostforstupid/OnlineShop/statuses/{sha}","languages_url":"https://api.github.com/repos/lostforstupid/OnlineShop/languages","stargazers_url":"https://api.github.com/repos/lostforstupid/OnlineShop/stargazers","contributors_url":"https://api.github.com/repos/lostforstupid/OnlineShop/contributors","subscribers_url":"https://api.github.com/repos/lostforstupid/OnlineShop/subscribers","subscription_url":"https://api.github.com/repos/lostforstupid/OnlineShop/subscription","commits_url":"https://api.github.com/repos/lostforstupid/OnlineShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/lostforstupid/OnlineShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/lostforstupid/OnlineShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/lostforstupid/OnlineShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/lostforstupid/OnlineShop/contents/{+path}","compare_url":"https://api.github.com/repos/lostforstupid/OnlineShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lostforstupid/OnlineShop/merges","archive_url":"https://api.github.com/repos/lostforstupid/OnlineShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lostforstupid/OnlineShop/downloads","issues_url":"https://api.github.com/repos/lostforstupid/OnlineShop/issues{/number}","pulls_url":"https://api.github.com/repos/lostforstupid/OnlineShop/pulls{/number}","milestones_url":"https://api.github.com/repos/lostforstupid/OnlineShop/milestones{/number}","notifications_url":"https://api.github.com/repos/lostforstupid/OnlineShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lostforstupid/OnlineShop/labels{/name}","releases_url":"https://api.github.com/repos/lostforstupid/OnlineShop/releases{/id}","deployments_url":"https://api.github.com/repos/lostforstupid/OnlineShop/deployments","created_at":"2018-07-06T16:45:23Z","updated_at":"2018-07-10T10:29:56Z","pushed_at":"2018-07-10T10:29:53Z","git_url":"git://github.com/lostforstupid/OnlineShop.git","ssh_url":"git@github.com:lostforstupid/OnlineShop.git","clone_url":"https://github.com/lostforstupid/OnlineShop.git","svn_url":"https://github.com/lostforstupid/OnlineShop","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Gradder:master","ref":"master","sha":"10d14a1ba05fdb8e42982af5afc45722c783c622","user":{"login":"Gradder","id":9297167,"node_id":"MDQ6VXNlcjkyOTcxNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/9297167?v=4","gravatar_id":"","url":"https://api.github.com/users/Gradder","html_url":"https://github.com/Gradder","followers_url":"https://api.github.com/users/Gradder/followers","following_url":"https://api.github.com/users/Gradder/following{/other_user}","gists_url":"https://api.github.com/users/Gradder/gists{/gist_id}","starred_url":"https://api.github.com/users/Gradder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gradder/subscriptions","organizations_url":"https://api.github.com/users/Gradder/orgs","repos_url":"https://api.github.com/users/Gradder/repos","events_url":"https://api.github.com/users/Gradder/events{/privacy}","received_events_url":"https://api.github.com/users/Gradder/received_events","type":"User","site_admin":false},"repo":{"id":139882398,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4ODIzOTg=","name":"OnlineShop","full_name":"Gradder/OnlineShop","owner":{"login":"Gradder","id":9297167,"node_id":"MDQ6VXNlcjkyOTcxNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/9297167?v=4","gravatar_id":"","url":"https://api.github.com/users/Gradder","html_url":"https://github.com/Gradder","followers_url":"https://api.github.com/users/Gradder/followers","following_url":"https://api.github.com/users/Gradder/following{/other_user}","gists_url":"https://api.github.com/users/Gradder/gists{/gist_id}","starred_url":"https://api.github.com/users/Gradder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gradder/subscriptions","organizations_url":"https://api.github.com/users/Gradder/orgs","repos_url":"https://api.github.com/users/Gradder/repos","events_url":"https://api.github.com/users/Gradder/events{/privacy}","received_events_url":"https://api.github.com/users/Gradder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gradder/OnlineShop","description":"First project for 2-weeks challenge from EPAM","fork":false,"url":"https://api.github.com/repos/Gradder/OnlineShop","forks_url":"https://api.github.com/repos/Gradder/OnlineShop/forks","keys_url":"https://api.github.com/repos/Gradder/OnlineShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gradder/OnlineShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gradder/OnlineShop/teams","hooks_url":"https://api.github.com/repos/Gradder/OnlineShop/hooks","issue_events_url":"https://api.github.com/repos/Gradder/OnlineShop/issues/events{/number}","events_url":"https://api.github.com/repos/Gradder/OnlineShop/events","assignees_url":"https://api.github.com/repos/Gradder/OnlineShop/assignees{/user}","branches_url":"https://api.github.com/repos/Gradder/OnlineShop/branches{/branch}","tags_url":"https://api.github.com/repos/Gradder/OnlineShop/tags","blobs_url":"https://api.github.com/repos/Gradder/OnlineShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gradder/OnlineShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gradder/OnlineShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gradder/OnlineShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gradder/OnlineShop/statuses/{sha}","languages_url":"https://api.github.com/repos/Gradder/OnlineShop/languages","stargazers_url":"https://api.github.com/repos/Gradder/OnlineShop/stargazers","contributors_url":"https://api.github.com/repos/Gradder/OnlineShop/contributors","subscribers_url":"https://api.github.com/repos/Gradder/OnlineShop/subscribers","subscription_url":"https://api.github.com/repos/Gradder/OnlineShop/subscription","commits_url":"https://api.github.com/repos/Gradder/OnlineShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gradder/OnlineShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gradder/OnlineShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gradder/OnlineShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gradder/OnlineShop/contents/{+path}","compare_url":"https://api.github.com/repos/Gradder/OnlineShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gradder/OnlineShop/merges","archive_url":"https://api.github.com/repos/Gradder/OnlineShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gradder/OnlineShop/downloads","issues_url":"https://api.github.com/repos/Gradder/OnlineShop/issues{/number}","pulls_url":"https://api.github.com/repos/Gradder/OnlineShop/pulls{/number}","milestones_url":"https://api.github.com/repos/Gradder/OnlineShop/milestones{/number}","notifications_url":"https://api.github.com/repos/Gradder/OnlineShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gradder/OnlineShop/labels{/name}","releases_url":"https://api.github.com/repos/Gradder/OnlineShop/releases{/id}","deployments_url":"https://api.github.com/repos/Gradder/OnlineShop/deployments","created_at":"2018-07-05T17:44:43Z","updated_at":"2018-07-09T13:18:33Z","pushed_at":"2018-07-10T10:29:55Z","git_url":"git://github.com/Gradder/OnlineShop.git","ssh_url":"git@github.com:Gradder/OnlineShop.git","clone_url":"https://github.com/Gradder/OnlineShop.git","svn_url":"https://github.com/Gradder/OnlineShop","homepage":null,"size":88,"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":3,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10"},"html":{"href":"https://github.com/Gradder/OnlineShop/pull/10"},"issue":{"href":"https://api.github.com/repos/Gradder/OnlineShop/issues/10"},"comments":{"href":"https://api.github.com/repos/Gradder/OnlineShop/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Gradder/OnlineShop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gradder/OnlineShop/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Gradder/OnlineShop/statuses/fe388098739107a3bcbef538304ff6fceaeb6a07"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vakhonin"}}