{"action":"created","comment":{"url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments/66965664","id":66965664,"diff_hunk":"@@ -0,0 +1,61 @@\n+package nl.tudelft.thefirstorder.web.rest;\n+\n+import com.codahale.metrics.annotation.Timed;\n+import nl.tudelft.thefirstorder.web.rest.util.HeaderUtil;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import org.springframework.http.MediaType;\n+import org.springframework.http.ResponseEntity;\n+import org.springframework.web.bind.annotation.RequestBody;\n+import org.springframework.web.bind.annotation.RequestMapping;\n+import org.springframework.web.bind.annotation.RequestMethod;\n+import org.springframework.web.bind.annotation.RestController;\n+import org.springframework.web.multipart.MultipartFile;\n+\n+import java.io.*;","path":"src/main/java/nl/tudelft/thefirstorder/web/rest/UploadResource.java","position":15,"original_position":15,"commit_id":"1e2425e284e848ddb6419f834af0ac04bbfe988a","original_commit_id":"1e2425e284e848ddb6419f834af0ac04bbfe988a","user":{"login":"ChrisBerg","id":5969633,"avatar_url":"https://avatars.githubusercontent.com/u/5969633?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBerg","html_url":"https://github.com/ChrisBerg","followers_url":"https://api.github.com/users/ChrisBerg/followers","following_url":"https://api.github.com/users/ChrisBerg/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBerg/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBerg/subscriptions","organizations_url":"https://api.github.com/users/ChrisBerg/orgs","repos_url":"https://api.github.com/users/ChrisBerg/repos","events_url":"https://api.github.com/users/ChrisBerg/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBerg/received_events","type":"User","site_admin":false},"body":"Replaced with single class imports","created_at":"2016-06-14T13:08:51Z","updated_at":"2016-06-14T13:08:51Z","html_url":"https://github.com/rubenwiersma/thefirstorder/pull/109#discussion_r66965664","pull_request_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments/66965664"},"html":{"href":"https://github.com/rubenwiersma/thefirstorder/pull/109#discussion_r66965664"},"pull_request":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109","id":73733418,"html_url":"https://github.com/rubenwiersma/thefirstorder/pull/109","diff_url":"https://github.com/rubenwiersma/thefirstorder/pull/109.diff","patch_url":"https://github.com/rubenwiersma/thefirstorder/pull/109.patch","issue_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/109","number":109,"state":"open","locked":false,"title":"Feature/load image","user":{"login":"ChrisBerg","id":5969633,"avatar_url":"https://avatars.githubusercontent.com/u/5969633?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBerg","html_url":"https://github.com/ChrisBerg","followers_url":"https://api.github.com/users/ChrisBerg/followers","following_url":"https://api.github.com/users/ChrisBerg/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBerg/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBerg/subscriptions","organizations_url":"https://api.github.com/users/ChrisBerg/orgs","repos_url":"https://api.github.com/users/ChrisBerg/repos","events_url":"https://api.github.com/users/ChrisBerg/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBerg/received_events","type":"User","site_admin":false},"body":"Added the ability to upload an image and set it as the background image of the map of the current project of the active user.","created_at":"2016-06-14T12:47:57Z","updated_at":"2016-06-14T13:08:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1c493fe76c822fc806d7ed4bee94557da659703","assignee":null,"milestone":{"url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones/6","html_url":"https://github.com/rubenwiersma/thefirstorder/milestones/Sprint%208","labels_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones/6/labels","id":1819884,"number":6,"title":"Sprint 8","description":"","creator":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2016-06-10T12:30:09Z","updated_at":"2016-06-14T12:49:38Z","due_on":"2016-06-16T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109/commits","review_comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109/comments","review_comment_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/109/comments","statuses_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/1e2425e284e848ddb6419f834af0ac04bbfe988a","head":{"label":"rubenwiersma:feature/load_image","ref":"feature/load_image","sha":"1e2425e284e848ddb6419f834af0ac04bbfe988a","user":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"repo":{"id":56485289,"name":"thefirstorder","full_name":"rubenwiersma/thefirstorder","owner":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubenwiersma/thefirstorder","description":"Github repository for the TU Delft context project.","fork":false,"url":"https://api.github.com/repos/rubenwiersma/thefirstorder","forks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/forks","keys_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/teams","hooks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/hooks","issue_events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/events{/number}","events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/events","assignees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/assignees{/user}","branches_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/branches{/branch}","tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/tags","blobs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/{sha}","languages_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/languages","stargazers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/stargazers","contributors_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contributors","subscribers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscribers","subscription_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscription","commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contents/{+path}","compare_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/merges","archive_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/downloads","issues_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues{/number}","pulls_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls{/number}","milestones_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones{/number}","notifications_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/labels{/name}","releases_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/releases{/id}","deployments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/deployments","created_at":"2016-04-18T07:10:54Z","updated_at":"2016-06-10T09:21:55Z","pushed_at":"2016-06-14T12:47:57Z","git_url":"git://github.com/rubenwiersma/thefirstorder.git","ssh_url":"git@github.com:rubenwiersma/thefirstorder.git","clone_url":"https://github.com/rubenwiersma/thefirstorder.git","svn_url":"https://github.com/rubenwiersma/thefirstorder","homepage":null,"size":106581,"stargazers_count":3,"watchers_count":3,"language":"Java","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":3,"default_branch":"dev"}},"base":{"label":"rubenwiersma:dev","ref":"dev","sha":"87bfd0074a29a1a6dac833589f556de49ea00466","user":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"repo":{"id":56485289,"name":"thefirstorder","full_name":"rubenwiersma/thefirstorder","owner":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubenwiersma/thefirstorder","description":"Github repository for the TU Delft context project.","fork":false,"url":"https://api.github.com/repos/rubenwiersma/thefirstorder","forks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/forks","keys_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/teams","hooks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/hooks","issue_events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/events{/number}","events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/events","assignees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/assignees{/user}","branches_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/branches{/branch}","tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/tags","blobs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/{sha}","languages_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/languages","stargazers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/stargazers","contributors_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contributors","subscribers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscribers","subscription_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscription","commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contents/{+path}","compare_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/merges","archive_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/downloads","issues_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues{/number}","pulls_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls{/number}","milestones_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones{/number}","notifications_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/labels{/name}","releases_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/releases{/id}","deployments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/deployments","created_at":"2016-04-18T07:10:54Z","updated_at":"2016-06-10T09:21:55Z","pushed_at":"2016-06-14T12:47:57Z","git_url":"git://github.com/rubenwiersma/thefirstorder.git","ssh_url":"git@github.com:rubenwiersma/thefirstorder.git","clone_url":"https://github.com/rubenwiersma/thefirstorder.git","svn_url":"https://github.com/rubenwiersma/thefirstorder","homepage":null,"size":106581,"stargazers_count":3,"watchers_count":3,"language":"Java","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":3,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109"},"html":{"href":"https://github.com/rubenwiersma/thefirstorder/pull/109"},"issue":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/109"},"comments":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/1e2425e284e848ddb6419f834af0ac04bbfe988a"}}}}
{"actor":{"display_login":"ChrisBerg"}}