{"action":"closed","number":57,"pull_request":{"url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/57","id":52630636,"html_url":"https://github.com/CSSE497/pathfinder-server/pull/57","diff_url":"https://github.com/CSSE497/pathfinder-server/pull/57.diff","patch_url":"https://github.com/CSSE497/pathfinder-server/pull/57.patch","issue_url":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/57","number":57,"state":"closed","locked":false,"title":"Feature/metadata field","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":"Vehicles and commodities now have a metadata field that replaces the param and capacity fields. It holds an arbitrary json object\r\n\r\nVehicles now look like this:\r\n```\r\n{\r\n   \"id\":1,\r\n   \"longitude\":20,\r\n   \"latitude\":30,\r\n   \"status\":\"Online\",\r\n   \"metadata\":{\"capacity\":10}\r\n}\r\n```\r\nCommodities look like this\r\n```\r\n{\r\n   \"id\":2,\r\n   \"startLongitude\":3,\r\n   \"startLatitude\":4,\r\n   \"endLongitude\":5,\r\n   \"endLatitude\":6,\r\n   \"status\":\"Waiting\",\r\n   \"metadata\":{\r\n      \"height\":10,\r\n      \"width\":20,\r\n      \"length\":30,\r\n      \"weight\":2,\r\n      \"name\":\"box\"\r\n   }\r\n}\r\n```\r\n","created_at":"2015-12-04T05:09:05Z","updated_at":"2015-12-05T00:18:42Z","closed_at":"2015-12-05T00:18:42Z","merged_at":"2015-12-05T00:18:42Z","merge_commit_sha":"8286228995803a43ed99ae58aa433cc48b9c6868","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/57/commits","review_comments_url":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/57/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/57/comments","statuses_url":"https://api.github.com/repos/CSSE497/pathfinder-server/statuses/69e06435380577e631e4be217e951f398fbb27e0","head":{"label":"CSSE497:feature/metadata-field","ref":"feature/metadata-field","sha":"69e06435380577e631e4be217e951f398fbb27e0","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-11-01T20:09:09Z","pushed_at":"2015-12-05T00:18:42Z","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":721,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"dev"}},"base":{"label":"CSSE497:dev","ref":"dev","sha":"239f4b7b1ef90273965ab79271335460086294a0","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-11-01T20:09:09Z","pushed_at":"2015-12-05T00:18:42Z","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":721,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/57"},"html":{"href":"https://github.com/CSSE497/pathfinder-server/pull/57"},"issue":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/57"},"comments":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/pulls/57/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/57/commits"},"statuses":{"href":"https://api.github.com/repos/CSSE497/pathfinder-server/statuses/69e06435380577e631e4be217e951f398fbb27e0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":4,"review_comments":0,"commits":5,"additions":144,"deletions":106,"changed_files":14}}