{"action":"created","comment":{"url":"https://api.github.com/repos/zeroual/code-solidaire/pulls/comments/191082141","pull_request_review_id":123589568,"id":191082141,"diff_hunk":"@@ -0,0 +1,45 @@\n+package com.zeros.backend.service;\n+\n+import java.math.BigDecimal;\n+import java.time.Duration;\n+\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.stereotype.Service;\n+\n+import com.google.maps.DistanceMatrixApi;\n+import com.google.maps.GeoApiContext;\n+import com.google.maps.model.DistanceMatrix;\n+import com.google.maps.model.TravelMode;\n+\n+@Service\n+public class RouteServiceImpl implements RouteService{\n+\n+\tprivate final GeoApiContext geoApiContext;\n+\n+\t@Autowired\n+\tpublic RouteServiceImpl(final GeoApiContext geoApiContext) {\n+\t\tthis.geoApiContext = geoApiContext;\n+\t}\n+\n+\t@Override\n+\tpublic Route estimateRoute(Location userlocation, Location restauranteLocation\n+\t\t\t, TravelMode travelMode) {","path":"backend/src/main/java/com/zeros/backend/service/RouteServiceImpl.java","position":26,"original_position":26,"commit_id":"4bd499730b39324c6008101b435133bad3262fa0","original_commit_id":"8d9dcf52be6105f6bdf050124b5bd0d65b0880db","user":{"login":"qasmi","id":9462584,"avatar_url":"https://avatars1.githubusercontent.com/u/9462584?v=4","gravatar_id":"","url":"https://api.github.com/users/qasmi","html_url":"https://github.com/qasmi","followers_url":"https://api.github.com/users/qasmi/followers","following_url":"https://api.github.com/users/qasmi/following{/other_user}","gists_url":"https://api.github.com/users/qasmi/gists{/gist_id}","starred_url":"https://api.github.com/users/qasmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qasmi/subscriptions","organizations_url":"https://api.github.com/users/qasmi/orgs","repos_url":"https://api.github.com/users/qasmi/repos","events_url":"https://api.github.com/users/qasmi/events{/privacy}","received_events_url":"https://api.github.com/users/qasmi/received_events","type":"User","site_admin":false},"body":"ItineraryService ???","created_at":"2018-05-27T16:47:20Z","updated_at":"2018-05-27T16:47:20Z","html_url":"https://github.com/zeroual/code-solidaire/pull/13#discussion_r191082141","pull_request_url":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zeroual/code-solidaire/pulls/comments/191082141"},"html":{"href":"https://github.com/zeroual/code-solidaire/pull/13#discussion_r191082141"},"pull_request":{"href":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13"}},"in_reply_to_id":191081154},"pull_request":{"url":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13","id":190791535,"html_url":"https://github.com/zeroual/code-solidaire/pull/13","diff_url":"https://github.com/zeroual/code-solidaire/pull/13.diff","patch_url":"https://github.com/zeroual/code-solidaire/pull/13.patch","issue_url":"https://api.github.com/repos/zeroual/code-solidaire/issues/13","number":13,"state":"open","locked":false,"title":"[Backend] Distance between where i am and restaurants recommended  by qasmi · Pull Request #12 · zeroual/code-solidaire","user":{"login":"qasmi","id":9462584,"avatar_url":"https://avatars1.githubusercontent.com/u/9462584?v=4","gravatar_id":"","url":"https://api.github.com/users/qasmi","html_url":"https://github.com/qasmi","followers_url":"https://api.github.com/users/qasmi/followers","following_url":"https://api.github.com/users/qasmi/following{/other_user}","gists_url":"https://api.github.com/users/qasmi/gists{/gist_id}","starred_url":"https://api.github.com/users/qasmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qasmi/subscriptions","organizations_url":"https://api.github.com/users/qasmi/orgs","repos_url":"https://api.github.com/users/qasmi/repos","events_url":"https://api.github.com/users/qasmi/events{/privacy}","received_events_url":"https://api.github.com/users/qasmi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-27T14:56:16Z","updated_at":"2018-05-27T16:47:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a648b688dcd33cc055e4d723b9ebbe97dc8468e0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13/commits","review_comments_url":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13/comments","review_comment_url":"https://api.github.com/repos/zeroual/code-solidaire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeroual/code-solidaire/issues/13/comments","statuses_url":"https://api.github.com/repos/zeroual/code-solidaire/statuses/4bd499730b39324c6008101b435133bad3262fa0","head":{"label":"zeroual:Feature-003","ref":"Feature-003","sha":"4bd499730b39324c6008101b435133bad3262fa0","user":{"login":"zeroual","id":2377014,"avatar_url":"https://avatars0.githubusercontent.com/u/2377014?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroual","html_url":"https://github.com/zeroual","followers_url":"https://api.github.com/users/zeroual/followers","following_url":"https://api.github.com/users/zeroual/following{/other_user}","gists_url":"https://api.github.com/users/zeroual/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroual/subscriptions","organizations_url":"https://api.github.com/users/zeroual/orgs","repos_url":"https://api.github.com/users/zeroual/repos","events_url":"https://api.github.com/users/zeroual/events{/privacy}","received_events_url":"https://api.github.com/users/zeroual/received_events","type":"User","site_admin":false},"repo":{"id":133479115,"name":"code-solidaire","full_name":"zeroual/code-solidaire","owner":{"login":"zeroual","id":2377014,"avatar_url":"https://avatars0.githubusercontent.com/u/2377014?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroual","html_url":"https://github.com/zeroual","followers_url":"https://api.github.com/users/zeroual/followers","following_url":"https://api.github.com/users/zeroual/following{/other_user}","gists_url":"https://api.github.com/users/zeroual/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroual/subscriptions","organizations_url":"https://api.github.com/users/zeroual/orgs","repos_url":"https://api.github.com/users/zeroual/repos","events_url":"https://api.github.com/users/zeroual/events{/privacy}","received_events_url":"https://api.github.com/users/zeroual/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeroual/code-solidaire","description":null,"fork":false,"url":"https://api.github.com/repos/zeroual/code-solidaire","forks_url":"https://api.github.com/repos/zeroual/code-solidaire/forks","keys_url":"https://api.github.com/repos/zeroual/code-solidaire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeroual/code-solidaire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeroual/code-solidaire/teams","hooks_url":"https://api.github.com/repos/zeroual/code-solidaire/hooks","issue_events_url":"https://api.github.com/repos/zeroual/code-solidaire/issues/events{/number}","events_url":"https://api.github.com/repos/zeroual/code-solidaire/events","assignees_url":"https://api.github.com/repos/zeroual/code-solidaire/assignees{/user}","branches_url":"https://api.github.com/repos/zeroual/code-solidaire/branches{/branch}","tags_url":"https://api.github.com/repos/zeroual/code-solidaire/tags","blobs_url":"https://api.github.com/repos/zeroual/code-solidaire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeroual/code-solidaire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeroual/code-solidaire/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeroual/code-solidaire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeroual/code-solidaire/statuses/{sha}","languages_url":"https://api.github.com/repos/zeroual/code-solidaire/languages","stargazers_url":"https://api.github.com/repos/zeroual/code-solidaire/stargazers","contributors_url":"https://api.github.com/repos/zeroual/code-solidaire/contributors","subscribers_url":"https://api.github.com/repos/zeroual/code-solidaire/subscribers","subscription_url":"https://api.github.com/repos/zeroual/code-solidaire/subscription","commits_url":"https://api.github.com/repos/zeroual/code-solidaire/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeroual/code-solidaire/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeroual/code-solidaire/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeroual/code-solidaire/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeroual/code-solidaire/contents/{+path}","compare_url":"https://api.github.com/repos/zeroual/code-solidaire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeroual/code-solidaire/merges","archive_url":"https://api.github.com/repos/zeroual/code-solidaire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeroual/code-solidaire/downloads","issues_url":"https://api.github.com/repos/zeroual/code-solidaire/issues{/number}","pulls_url":"https://api.github.com/repos/zeroual/code-solidaire/pulls{/number}","milestones_url":"https://api.github.com/repos/zeroual/code-solidaire/milestones{/number}","notifications_url":"https://api.github.com/repos/zeroual/code-solidaire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeroual/code-solidaire/labels{/name}","releases_url":"https://api.github.com/repos/zeroual/code-solidaire/releases{/id}","deployments_url":"https://api.github.com/repos/zeroual/code-solidaire/deployments","created_at":"2018-05-15T07:44:23Z","updated_at":"2018-05-26T10:18:35Z","pushed_at":"2018-05-27T16:11:41Z","git_url":"git://github.com/zeroual/code-solidaire.git","ssh_url":"git@github.com:zeroual/code-solidaire.git","clone_url":"https://github.com/zeroual/code-solidaire.git","svn_url":"https://github.com/zeroual/code-solidaire","homepage":null,"size":277,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"zeroual:master","ref":"master","sha":"0cb768be8ec1bc2e11019b211dab86b6f307e14c","user":{"login":"zeroual","id":2377014,"avatar_url":"https://avatars0.githubusercontent.com/u/2377014?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroual","html_url":"https://github.com/zeroual","followers_url":"https://api.github.com/users/zeroual/followers","following_url":"https://api.github.com/users/zeroual/following{/other_user}","gists_url":"https://api.github.com/users/zeroual/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroual/subscriptions","organizations_url":"https://api.github.com/users/zeroual/orgs","repos_url":"https://api.github.com/users/zeroual/repos","events_url":"https://api.github.com/users/zeroual/events{/privacy}","received_events_url":"https://api.github.com/users/zeroual/received_events","type":"User","site_admin":false},"repo":{"id":133479115,"name":"code-solidaire","full_name":"zeroual/code-solidaire","owner":{"login":"zeroual","id":2377014,"avatar_url":"https://avatars0.githubusercontent.com/u/2377014?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroual","html_url":"https://github.com/zeroual","followers_url":"https://api.github.com/users/zeroual/followers","following_url":"https://api.github.com/users/zeroual/following{/other_user}","gists_url":"https://api.github.com/users/zeroual/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroual/subscriptions","organizations_url":"https://api.github.com/users/zeroual/orgs","repos_url":"https://api.github.com/users/zeroual/repos","events_url":"https://api.github.com/users/zeroual/events{/privacy}","received_events_url":"https://api.github.com/users/zeroual/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeroual/code-solidaire","description":null,"fork":false,"url":"https://api.github.com/repos/zeroual/code-solidaire","forks_url":"https://api.github.com/repos/zeroual/code-solidaire/forks","keys_url":"https://api.github.com/repos/zeroual/code-solidaire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeroual/code-solidaire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeroual/code-solidaire/teams","hooks_url":"https://api.github.com/repos/zeroual/code-solidaire/hooks","issue_events_url":"https://api.github.com/repos/zeroual/code-solidaire/issues/events{/number}","events_url":"https://api.github.com/repos/zeroual/code-solidaire/events","assignees_url":"https://api.github.com/repos/zeroual/code-solidaire/assignees{/user}","branches_url":"https://api.github.com/repos/zeroual/code-solidaire/branches{/branch}","tags_url":"https://api.github.com/repos/zeroual/code-solidaire/tags","blobs_url":"https://api.github.com/repos/zeroual/code-solidaire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeroual/code-solidaire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeroual/code-solidaire/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeroual/code-solidaire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeroual/code-solidaire/statuses/{sha}","languages_url":"https://api.github.com/repos/zeroual/code-solidaire/languages","stargazers_url":"https://api.github.com/repos/zeroual/code-solidaire/stargazers","contributors_url":"https://api.github.com/repos/zeroual/code-solidaire/contributors","subscribers_url":"https://api.github.com/repos/zeroual/code-solidaire/subscribers","subscription_url":"https://api.github.com/repos/zeroual/code-solidaire/subscription","commits_url":"https://api.github.com/repos/zeroual/code-solidaire/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeroual/code-solidaire/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeroual/code-solidaire/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeroual/code-solidaire/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeroual/code-solidaire/contents/{+path}","compare_url":"https://api.github.com/repos/zeroual/code-solidaire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeroual/code-solidaire/merges","archive_url":"https://api.github.com/repos/zeroual/code-solidaire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeroual/code-solidaire/downloads","issues_url":"https://api.github.com/repos/zeroual/code-solidaire/issues{/number}","pulls_url":"https://api.github.com/repos/zeroual/code-solidaire/pulls{/number}","milestones_url":"https://api.github.com/repos/zeroual/code-solidaire/milestones{/number}","notifications_url":"https://api.github.com/repos/zeroual/code-solidaire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeroual/code-solidaire/labels{/name}","releases_url":"https://api.github.com/repos/zeroual/code-solidaire/releases{/id}","deployments_url":"https://api.github.com/repos/zeroual/code-solidaire/deployments","created_at":"2018-05-15T07:44:23Z","updated_at":"2018-05-26T10:18:35Z","pushed_at":"2018-05-27T16:11:41Z","git_url":"git://github.com/zeroual/code-solidaire.git","ssh_url":"git@github.com:zeroual/code-solidaire.git","clone_url":"https://github.com/zeroual/code-solidaire.git","svn_url":"https://github.com/zeroual/code-solidaire","homepage":null,"size":277,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13"},"html":{"href":"https://github.com/zeroual/code-solidaire/pull/13"},"issue":{"href":"https://api.github.com/repos/zeroual/code-solidaire/issues/13"},"comments":{"href":"https://api.github.com/repos/zeroual/code-solidaire/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/zeroual/code-solidaire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeroual/code-solidaire/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/zeroual/code-solidaire/statuses/4bd499730b39324c6008101b435133bad3262fa0"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"qasmi"}}