{"action":"created","comment":{"url":"https://api.github.com/repos/fingo/urlopia/pulls/comments/139940679","pull_request_review_id":63941482,"id":139940679,"diff_hunk":"@@ -0,0 +1,153 @@\n+package info.fingo.urlopia.request;\n+\n+import info.fingo.urlopia.history.HistoryLogService;\n+import info.fingo.urlopia.holidays.WorkDaysCalculator;\n+import info.fingo.urlopia.request.acceptance.Acceptance;\n+import info.fingo.urlopia.request.acceptance.AcceptanceRepositoryX;\n+import info.fingo.urlopia.request.acceptance.AcceptanceServiceX;\n+import info.fingo.urlopia.user.User;\n+import info.fingo.urlopia.user.UserRepository;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.data.domain.Page;\n+import org.springframework.data.domain.Pageable;\n+import org.springframework.stereotype.Service;\n+import org.springframework.transaction.annotation.Transactional;\n+\n+import java.util.Arrays;\n+import java.util.Collection;\n+import java.util.List;\n+\n+@Service\n+@Transactional\n+public class RequestServiceX {\n+\n+    private final RequestRepositoryX requestRepository;\n+\n+    private final AcceptanceRepositoryX acceptanceRepository;\n+\n+    private final UserRepository userRepository;\n+\n+    @Autowired\n+    private AcceptanceServiceX acceptanceService;","path":"src/main/java/info/fingo/urlopia/request/RequestServiceX.java","position":null,"original_position":31,"commit_id":"c67390a9fbe898ce5b9c9fd9e82f4a51a9dc9755","original_commit_id":"b482920d4bd537835f9118c07e4652cee863f76b","user":{"login":"puninup","id":9154976,"avatar_url":"https://avatars2.githubusercontent.com/u/9154976?v=4","gravatar_id":"","url":"https://api.github.com/users/puninup","html_url":"https://github.com/puninup","followers_url":"https://api.github.com/users/puninup/followers","following_url":"https://api.github.com/users/puninup/following{/other_user}","gists_url":"https://api.github.com/users/puninup/gists{/gist_id}","starred_url":"https://api.github.com/users/puninup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puninup/subscriptions","organizations_url":"https://api.github.com/users/puninup/orgs","repos_url":"https://api.github.com/users/puninup/repos","events_url":"https://api.github.com/users/puninup/events{/privacy}","received_events_url":"https://api.github.com/users/puninup/received_events","type":"User","site_admin":false},"body":"Sorry - it's impossible - AcceptanceService uses RequestService and RequestService uses AcceptanceService","created_at":"2017-09-20T11:16:37Z","updated_at":"2017-09-20T11:16:37Z","html_url":"https://github.com/fingo/urlopia/pull/88#discussion_r139940679","pull_request_url":"https://api.github.com/repos/fingo/urlopia/pulls/88","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/fingo/urlopia/pulls/comments/139940679"},"html":{"href":"https://github.com/fingo/urlopia/pull/88#discussion_r139940679"},"pull_request":{"href":"https://api.github.com/repos/fingo/urlopia/pulls/88"}},"in_reply_to_id":139705692},"pull_request":{"url":"https://api.github.com/repos/fingo/urlopia/pulls/88","id":141598625,"html_url":"https://github.com/fingo/urlopia/pull/88","diff_url":"https://github.com/fingo/urlopia/pull/88.diff","patch_url":"https://github.com/fingo/urlopia/pull/88.patch","issue_url":"https://api.github.com/repos/fingo/urlopia/issues/88","number":88,"state":"open","locked":false,"title":"Refactoring","user":{"login":"puninup","id":9154976,"avatar_url":"https://avatars2.githubusercontent.com/u/9154976?v=4","gravatar_id":"","url":"https://api.github.com/users/puninup","html_url":"https://github.com/puninup","followers_url":"https://api.github.com/users/puninup/followers","following_url":"https://api.github.com/users/puninup/following{/other_user}","gists_url":"https://api.github.com/users/puninup/gists{/gist_id}","starred_url":"https://api.github.com/users/puninup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puninup/subscriptions","organizations_url":"https://api.github.com/users/puninup/orgs","repos_url":"https://api.github.com/users/puninup/repos","events_url":"https://api.github.com/users/puninup/events{/privacy}","received_events_url":"https://api.github.com/users/puninup/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-18T13:11:38Z","updated_at":"2017-09-20T11:16:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5980c9b5f21b25cf7ef6b0eb0a325ebf59f639a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/fingo/urlopia/pulls/88/commits","review_comments_url":"https://api.github.com/repos/fingo/urlopia/pulls/88/comments","review_comment_url":"https://api.github.com/repos/fingo/urlopia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fingo/urlopia/issues/88/comments","statuses_url":"https://api.github.com/repos/fingo/urlopia/statuses/c67390a9fbe898ce5b9c9fd9e82f4a51a9dc9755","head":{"label":"fingo:refactoring","ref":"refactoring","sha":"c67390a9fbe898ce5b9c9fd9e82f4a51a9dc9755","user":{"login":"fingo","id":14923380,"avatar_url":"https://avatars2.githubusercontent.com/u/14923380?v=4","gravatar_id":"","url":"https://api.github.com/users/fingo","html_url":"https://github.com/fingo","followers_url":"https://api.github.com/users/fingo/followers","following_url":"https://api.github.com/users/fingo/following{/other_user}","gists_url":"https://api.github.com/users/fingo/gists{/gist_id}","starred_url":"https://api.github.com/users/fingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fingo/subscriptions","organizations_url":"https://api.github.com/users/fingo/orgs","repos_url":"https://api.github.com/users/fingo/repos","events_url":"https://api.github.com/users/fingo/events{/privacy}","received_events_url":"https://api.github.com/users/fingo/received_events","type":"Organization","site_admin":false},"repo":{"id":71897734,"name":"urlopia","full_name":"fingo/urlopia","owner":{"login":"fingo","id":14923380,"avatar_url":"https://avatars2.githubusercontent.com/u/14923380?v=4","gravatar_id":"","url":"https://api.github.com/users/fingo","html_url":"https://github.com/fingo","followers_url":"https://api.github.com/users/fingo/followers","following_url":"https://api.github.com/users/fingo/following{/other_user}","gists_url":"https://api.github.com/users/fingo/gists{/gist_id}","starred_url":"https://api.github.com/users/fingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fingo/subscriptions","organizations_url":"https://api.github.com/users/fingo/orgs","repos_url":"https://api.github.com/users/fingo/repos","events_url":"https://api.github.com/users/fingo/events{/privacy}","received_events_url":"https://api.github.com/users/fingo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fingo/urlopia","description":null,"fork":false,"url":"https://api.github.com/repos/fingo/urlopia","forks_url":"https://api.github.com/repos/fingo/urlopia/forks","keys_url":"https://api.github.com/repos/fingo/urlopia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fingo/urlopia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fingo/urlopia/teams","hooks_url":"https://api.github.com/repos/fingo/urlopia/hooks","issue_events_url":"https://api.github.com/repos/fingo/urlopia/issues/events{/number}","events_url":"https://api.github.com/repos/fingo/urlopia/events","assignees_url":"https://api.github.com/repos/fingo/urlopia/assignees{/user}","branches_url":"https://api.github.com/repos/fingo/urlopia/branches{/branch}","tags_url":"https://api.github.com/repos/fingo/urlopia/tags","blobs_url":"https://api.github.com/repos/fingo/urlopia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fingo/urlopia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fingo/urlopia/git/refs{/sha}","trees_url":"https://api.github.com/repos/fingo/urlopia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fingo/urlopia/statuses/{sha}","languages_url":"https://api.github.com/repos/fingo/urlopia/languages","stargazers_url":"https://api.github.com/repos/fingo/urlopia/stargazers","contributors_url":"https://api.github.com/repos/fingo/urlopia/contributors","subscribers_url":"https://api.github.com/repos/fingo/urlopia/subscribers","subscription_url":"https://api.github.com/repos/fingo/urlopia/subscription","commits_url":"https://api.github.com/repos/fingo/urlopia/commits{/sha}","git_commits_url":"https://api.github.com/repos/fingo/urlopia/git/commits{/sha}","comments_url":"https://api.github.com/repos/fingo/urlopia/comments{/number}","issue_comment_url":"https://api.github.com/repos/fingo/urlopia/issues/comments{/number}","contents_url":"https://api.github.com/repos/fingo/urlopia/contents/{+path}","compare_url":"https://api.github.com/repos/fingo/urlopia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fingo/urlopia/merges","archive_url":"https://api.github.com/repos/fingo/urlopia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fingo/urlopia/downloads","issues_url":"https://api.github.com/repos/fingo/urlopia/issues{/number}","pulls_url":"https://api.github.com/repos/fingo/urlopia/pulls{/number}","milestones_url":"https://api.github.com/repos/fingo/urlopia/milestones{/number}","notifications_url":"https://api.github.com/repos/fingo/urlopia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fingo/urlopia/labels{/name}","releases_url":"https://api.github.com/repos/fingo/urlopia/releases{/id}","deployments_url":"https://api.github.com/repos/fingo/urlopia/deployments","created_at":"2016-10-25T13:04:34Z","updated_at":"2017-05-16T11:18:05Z","pushed_at":"2017-09-20T08:16:25Z","git_url":"git://github.com/fingo/urlopia.git","ssh_url":"git@github.com:fingo/urlopia.git","clone_url":"https://github.com/fingo/urlopia.git","svn_url":"https://github.com/fingo/urlopia","homepage":null,"size":1436,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":20,"forks":2,"open_issues":20,"watchers":4,"default_branch":"master"}},"base":{"label":"fingo:master","ref":"master","sha":"ca3ea857b11b6eb497231930fa761083413cad6d","user":{"login":"fingo","id":14923380,"avatar_url":"https://avatars2.githubusercontent.com/u/14923380?v=4","gravatar_id":"","url":"https://api.github.com/users/fingo","html_url":"https://github.com/fingo","followers_url":"https://api.github.com/users/fingo/followers","following_url":"https://api.github.com/users/fingo/following{/other_user}","gists_url":"https://api.github.com/users/fingo/gists{/gist_id}","starred_url":"https://api.github.com/users/fingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fingo/subscriptions","organizations_url":"https://api.github.com/users/fingo/orgs","repos_url":"https://api.github.com/users/fingo/repos","events_url":"https://api.github.com/users/fingo/events{/privacy}","received_events_url":"https://api.github.com/users/fingo/received_events","type":"Organization","site_admin":false},"repo":{"id":71897734,"name":"urlopia","full_name":"fingo/urlopia","owner":{"login":"fingo","id":14923380,"avatar_url":"https://avatars2.githubusercontent.com/u/14923380?v=4","gravatar_id":"","url":"https://api.github.com/users/fingo","html_url":"https://github.com/fingo","followers_url":"https://api.github.com/users/fingo/followers","following_url":"https://api.github.com/users/fingo/following{/other_user}","gists_url":"https://api.github.com/users/fingo/gists{/gist_id}","starred_url":"https://api.github.com/users/fingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fingo/subscriptions","organizations_url":"https://api.github.com/users/fingo/orgs","repos_url":"https://api.github.com/users/fingo/repos","events_url":"https://api.github.com/users/fingo/events{/privacy}","received_events_url":"https://api.github.com/users/fingo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fingo/urlopia","description":null,"fork":false,"url":"https://api.github.com/repos/fingo/urlopia","forks_url":"https://api.github.com/repos/fingo/urlopia/forks","keys_url":"https://api.github.com/repos/fingo/urlopia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fingo/urlopia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fingo/urlopia/teams","hooks_url":"https://api.github.com/repos/fingo/urlopia/hooks","issue_events_url":"https://api.github.com/repos/fingo/urlopia/issues/events{/number}","events_url":"https://api.github.com/repos/fingo/urlopia/events","assignees_url":"https://api.github.com/repos/fingo/urlopia/assignees{/user}","branches_url":"https://api.github.com/repos/fingo/urlopia/branches{/branch}","tags_url":"https://api.github.com/repos/fingo/urlopia/tags","blobs_url":"https://api.github.com/repos/fingo/urlopia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fingo/urlopia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fingo/urlopia/git/refs{/sha}","trees_url":"https://api.github.com/repos/fingo/urlopia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fingo/urlopia/statuses/{sha}","languages_url":"https://api.github.com/repos/fingo/urlopia/languages","stargazers_url":"https://api.github.com/repos/fingo/urlopia/stargazers","contributors_url":"https://api.github.com/repos/fingo/urlopia/contributors","subscribers_url":"https://api.github.com/repos/fingo/urlopia/subscribers","subscription_url":"https://api.github.com/repos/fingo/urlopia/subscription","commits_url":"https://api.github.com/repos/fingo/urlopia/commits{/sha}","git_commits_url":"https://api.github.com/repos/fingo/urlopia/git/commits{/sha}","comments_url":"https://api.github.com/repos/fingo/urlopia/comments{/number}","issue_comment_url":"https://api.github.com/repos/fingo/urlopia/issues/comments{/number}","contents_url":"https://api.github.com/repos/fingo/urlopia/contents/{+path}","compare_url":"https://api.github.com/repos/fingo/urlopia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fingo/urlopia/merges","archive_url":"https://api.github.com/repos/fingo/urlopia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fingo/urlopia/downloads","issues_url":"https://api.github.com/repos/fingo/urlopia/issues{/number}","pulls_url":"https://api.github.com/repos/fingo/urlopia/pulls{/number}","milestones_url":"https://api.github.com/repos/fingo/urlopia/milestones{/number}","notifications_url":"https://api.github.com/repos/fingo/urlopia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fingo/urlopia/labels{/name}","releases_url":"https://api.github.com/repos/fingo/urlopia/releases{/id}","deployments_url":"https://api.github.com/repos/fingo/urlopia/deployments","created_at":"2016-10-25T13:04:34Z","updated_at":"2017-05-16T11:18:05Z","pushed_at":"2017-09-20T08:16:25Z","git_url":"git://github.com/fingo/urlopia.git","ssh_url":"git@github.com:fingo/urlopia.git","clone_url":"https://github.com/fingo/urlopia.git","svn_url":"https://github.com/fingo/urlopia","homepage":null,"size":1436,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":20,"forks":2,"open_issues":20,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fingo/urlopia/pulls/88"},"html":{"href":"https://github.com/fingo/urlopia/pull/88"},"issue":{"href":"https://api.github.com/repos/fingo/urlopia/issues/88"},"comments":{"href":"https://api.github.com/repos/fingo/urlopia/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/fingo/urlopia/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/fingo/urlopia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fingo/urlopia/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/fingo/urlopia/statuses/c67390a9fbe898ce5b9c9fd9e82f4a51a9dc9755"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"puninup"}}