{"action":"created","comment":{"url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/comments/41102729","id":41102729,"diff_hunk":"@@ -66,4 +66,7 @@ class Vehicle() extends Model {\n \n     @Column(nullable=false)\n     var capacity: Int = 0\n+\n+    @ManyToOne","path":"app/io/pathfinder/models/Vehicle.scala","position":5,"original_position":5,"commit_id":"1721503b6a9a2ede486ddd726e70c55e0a9359df","original_commit_id":"1721503b6a9a2ede486ddd726e70c55e0a9359df","user":{"login":"aj-michael","id":7756476,"avatar_url":"https://avatars.githubusercontent.com/u/7756476?v=3","gravatar_id":"","url":"https://api.github.com/users/aj-michael","html_url":"https://github.com/aj-michael","followers_url":"https://api.github.com/users/aj-michael/followers","following_url":"https://api.github.com/users/aj-michael/following{/other_user}","gists_url":"https://api.github.com/users/aj-michael/gists{/gist_id}","starred_url":"https://api.github.com/users/aj-michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj-michael/subscriptions","organizations_url":"https://api.github.com/users/aj-michael/orgs","repos_url":"https://api.github.com/users/aj-michael/repos","events_url":"https://api.github.com/users/aj-michael/events{/privacy}","received_events_url":"https://api.github.com/users/aj-michael/received_events","type":"User","site_admin":false},"body":"I believe we decided against this @danhanson ","created_at":"2015-10-04T21:35:28Z","updated_at":"2015-10-04T21:35:28Z","html_url":"https://github.com/CSSE497/pathfinder-server/pull/16#discussion_r41102729","pull_request_url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/comments/41102729"},"html":{"href":"https://github.com/CSSE497/pathfinder-server/pull/16#discussion_r41102729"},"pull_request":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16","id":46720190,"html_url":"https://github.com/CSSE497/pathfinder-server/pull/16","diff_url":"https://github.com/CSSE497/pathfinder-server/pull/16.diff","patch_url":"https://github.com/CSSE497/pathfinder-server/pull/16.patch","issue_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/16","number":16,"state":"open","locked":false,"title":"Routes","user":{"login":"danhanson","id":8070751,"avatar_url":"https://avatars.githubusercontent.com/u/8070751?v=3","gravatar_id":"","url":"https://api.github.com/users/danhanson","html_url":"https://github.com/danhanson","followers_url":"https://api.github.com/users/danhanson/followers","following_url":"https://api.github.com/users/danhanson/following{/other_user}","gists_url":"https://api.github.com/users/danhanson/gists{/gist_id}","starred_url":"https://api.github.com/users/danhanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhanson/subscriptions","organizations_url":"https://api.github.com/users/danhanson/orgs","repos_url":"https://api.github.com/users/danhanson/repos","events_url":"https://api.github.com/users/danhanson/events{/privacy}","received_events_url":"https://api.github.com/users/danhanson/received_events","type":"User","site_admin":false},"body":"for more information, view the websocket API documentation\r\n\r\nHere is how to get a vehicle's route:\r\n\r\nsend this through the socket\r\n```\r\n{ \"route\":{\"model\":\"Vehicle\",\"id\":3}}\r\n```\r\nand receive:\r\n```\r\n{ \"routed\":{\r\n    \"model\": \"Vehicle\",\r\n    \"value\": {\r\n      \"vehicle\":3,\r\n      \"actions\":[\r\n        { \"action\":\"pickup\",\"latitude\":123,\"longitude\":456, \"commodity\":7 },\r\n        { \"action\":\"dropoff\",\"latitude\":789,\"longitude\":777, \"commodity\":7}\r\n      ]\r\n    }\r\n  }\r\n}\r\n```","created_at":"2015-10-04T06:22:26Z","updated_at":"2015-10-04T21:35:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cee9e3f5367113a5218e0f66efefcf7f838a2a5e","assignee":{"login":"aj-michael","id":7756476,"avatar_url":"https://avatars.githubusercontent.com/u/7756476?v=3","gravatar_id":"","url":"https://api.github.com/users/aj-michael","html_url":"https://github.com/aj-michael","followers_url":"https://api.github.com/users/aj-michael/followers","following_url":"https://api.github.com/users/aj-michael/following{/other_user}","gists_url":"https://api.github.com/users/aj-michael/gists{/gist_id}","starred_url":"https://api.github.com/users/aj-michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj-michael/subscriptions","organizations_url":"https://api.github.com/users/aj-michael/orgs","repos_url":"https://api.github.com/users/aj-michael/repos","events_url":"https://api.github.com/users/aj-michael/events{/privacy}","received_events_url":"https://api.github.com/users/aj-michael/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16/commits","review_comments_url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16/comments","review_comment_url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/16/comments","statuses_url":"https://api.github.com/repos/CSSE497/pathfinder-server/statuses/1721503b6a9a2ede486ddd726e70c55e0a9359df","head":{"label":"CSSE497:routes","ref":"routes","sha":"1721503b6a9a2ede486ddd726e70c55e0a9359df","user":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"repo":{"id":41896390,"name":"pathfinder-server","full_name":"CSSE497/pathfinder-server","owner":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSSE497/pathfinder-server","description":"The backend for the Pathfinder service.","fork":false,"url":"https://api.github.com/repos/CSSE497/pathfinder-server","forks_url":"https://api.github.com/repos/CSSE497/pathfinder-server/forks","keys_url":"https://api.github.com/repos/CSSE497/pathfinder-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSSE497/pathfinder-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSSE497/pathfinder-server/teams","hooks_url":"https://api.github.com/repos/CSSE497/pathfinder-server/hooks","issue_events_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/events{/number}","events_url":"https://api.github.com/repos/CSSE497/pathfinder-server/events","assignees_url":"https://api.github.com/repos/CSSE497/pathfinder-server/assignees{/user}","branches_url":"https://api.github.com/repos/CSSE497/pathfinder-server/branches{/branch}","tags_url":"https://api.github.com/repos/CSSE497/pathfinder-server/tags","blobs_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSSE497/pathfinder-server/statuses/{sha}","languages_url":"https://api.github.com/repos/CSSE497/pathfinder-server/languages","stargazers_url":"https://api.github.com/repos/CSSE497/pathfinder-server/stargazers","contributors_url":"https://api.github.com/repos/CSSE497/pathfinder-server/contributors","subscribers_url":"https://api.github.com/repos/CSSE497/pathfinder-server/subscribers","subscription_url":"https://api.github.com/repos/CSSE497/pathfinder-server/subscription","commits_url":"https://api.github.com/repos/CSSE497/pathfinder-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSSE497/pathfinder-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSSE497/pathfinder-server/contents/{+path}","compare_url":"https://api.github.com/repos/CSSE497/pathfinder-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSSE497/pathfinder-server/merges","archive_url":"https://api.github.com/repos/CSSE497/pathfinder-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSSE497/pathfinder-server/downloads","issues_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues{/number}","pulls_url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls{/number}","milestones_url":"https://api.github.com/repos/CSSE497/pathfinder-server/milestones{/number}","notifications_url":"https://api.github.com/repos/CSSE497/pathfinder-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSSE497/pathfinder-server/labels{/name}","releases_url":"https://api.github.com/repos/CSSE497/pathfinder-server/releases{/id}","created_at":"2015-09-04T03:41:00Z","updated_at":"2015-10-03T03:46:54Z","pushed_at":"2015-10-04T21:32:44Z","git_url":"git://github.com/CSSE497/pathfinder-server.git","ssh_url":"git@github.com:CSSE497/pathfinder-server.git","clone_url":"https://github.com/CSSE497/pathfinder-server.git","svn_url":"https://github.com/CSSE497/pathfinder-server","homepage":"","size":872,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"dev"}},"base":{"label":"CSSE497:dev","ref":"dev","sha":"0f8143e7cdbb3b5a1275db6932d80e887caf0bcf","user":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"repo":{"id":41896390,"name":"pathfinder-server","full_name":"CSSE497/pathfinder-server","owner":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSSE497/pathfinder-server","description":"The backend for the Pathfinder service.","fork":false,"url":"https://api.github.com/repos/CSSE497/pathfinder-server","forks_url":"https://api.github.com/repos/CSSE497/pathfinder-server/forks","keys_url":"https://api.github.com/repos/CSSE497/pathfinder-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSSE497/pathfinder-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSSE497/pathfinder-server/teams","hooks_url":"https://api.github.com/repos/CSSE497/pathfinder-server/hooks","issue_events_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/events{/number}","events_url":"https://api.github.com/repos/CSSE497/pathfinder-server/events","assignees_url":"https://api.github.com/repos/CSSE497/pathfinder-server/assignees{/user}","branches_url":"https://api.github.com/repos/CSSE497/pathfinder-server/branches{/branch}","tags_url":"https://api.github.com/repos/CSSE497/pathfinder-server/tags","blobs_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSSE497/pathfinder-server/statuses/{sha}","languages_url":"https://api.github.com/repos/CSSE497/pathfinder-server/languages","stargazers_url":"https://api.github.com/repos/CSSE497/pathfinder-server/stargazers","contributors_url":"https://api.github.com/repos/CSSE497/pathfinder-server/contributors","subscribers_url":"https://api.github.com/repos/CSSE497/pathfinder-server/subscribers","subscription_url":"https://api.github.com/repos/CSSE497/pathfinder-server/subscription","commits_url":"https://api.github.com/repos/CSSE497/pathfinder-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSSE497/pathfinder-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSSE497/pathfinder-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSSE497/pathfinder-server/contents/{+path}","compare_url":"https://api.github.com/repos/CSSE497/pathfinder-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSSE497/pathfinder-server/merges","archive_url":"https://api.github.com/repos/CSSE497/pathfinder-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSSE497/pathfinder-server/downloads","issues_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues{/number}","pulls_url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls{/number}","milestones_url":"https://api.github.com/repos/CSSE497/pathfinder-server/milestones{/number}","notifications_url":"https://api.github.com/repos/CSSE497/pathfinder-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSSE497/pathfinder-server/labels{/name}","releases_url":"https://api.github.com/repos/CSSE497/pathfinder-server/releases{/id}","created_at":"2015-09-04T03:41:00Z","updated_at":"2015-10-03T03:46:54Z","pushed_at":"2015-10-04T21:32:44Z","git_url":"git://github.com/CSSE497/pathfinder-server.git","ssh_url":"git@github.com:CSSE497/pathfinder-server.git","clone_url":"https://github.com/CSSE497/pathfinder-server.git","svn_url":"https://github.com/CSSE497/pathfinder-server","homepage":"","size":872,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16"},"html":{"href":"https://github.com/CSSE497/pathfinder-server/pull/16"},"issue":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/16"},"comments":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/statuses/1721503b6a9a2ede486ddd726e70c55e0a9359df"}}}}