{"action":"closed","number":73,"pull_request":{"url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/73","id":69852200,"html_url":"https://github.com/Kingdorian/Contextproject-BeNine/pull/73","diff_url":"https://github.com/Kingdorian/Contextproject-BeNine/pull/73.diff","patch_url":"https://github.com/Kingdorian/Contextproject-BeNine/pull/73.patch","issue_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/73","number":73,"state":"closed","locked":false,"title":"Handling the presets in Backend","user":{"login":"egedebruin","id":9843767,"avatar_url":"https://avatars.githubusercontent.com/u/9843767?v=3","gravatar_id":"","url":"https://api.github.com/users/egedebruin","html_url":"https://github.com/egedebruin","followers_url":"https://api.github.com/users/egedebruin/followers","following_url":"https://api.github.com/users/egedebruin/following{/other_user}","gists_url":"https://api.github.com/users/egedebruin/gists{/gist_id}","starred_url":"https://api.github.com/users/egedebruin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egedebruin/subscriptions","organizations_url":"https://api.github.com/users/egedebruin/orgs","repos_url":"https://api.github.com/users/egedebruin/repos","events_url":"https://api.github.com/users/egedebruin/events{/privacy}","received_events_url":"https://api.github.com/users/egedebruin/received_events","type":"User","site_admin":false},"body":"I have added methods in the cameracontroller class to handle the presets of the cameras in the backend. You can add, get and update the presets, and also reset the presets in de database.\r\n\r\nThis ensures that the program keeps on working if the database crashes, because the presets are kept in the memory.\r\n\r\nThe databasepreset class is now a preset class in de backend package.\r\nI have also added tests en fixed checkstyle issues. ","created_at":"2016-05-12T15:00:34Z","updated_at":"2016-05-12T20:36:32Z","closed_at":"2016-05-12T20:36:32Z","merged_at":"2016-05-12T20:36:32Z","merge_commit_sha":"08423fe96b9fe957b1056061f0f6b56938fb9d6e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/73/commits","review_comments_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/73/comments","review_comment_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/73/comments","statuses_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/statuses/8bf11ef7c08f440c8e1e7547000add4935cc56fe","head":{"label":"Kingdorian:presetshandler","ref":"presetshandler","sha":"8bf11ef7c08f440c8e1e7547000add4935cc56fe","user":{"login":"Kingdorian","id":8640174,"avatar_url":"https://avatars.githubusercontent.com/u/8640174?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingdorian","html_url":"https://github.com/Kingdorian","followers_url":"https://api.github.com/users/Kingdorian/followers","following_url":"https://api.github.com/users/Kingdorian/following{/other_user}","gists_url":"https://api.github.com/users/Kingdorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingdorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingdorian/subscriptions","organizations_url":"https://api.github.com/users/Kingdorian/orgs","repos_url":"https://api.github.com/users/Kingdorian/repos","events_url":"https://api.github.com/users/Kingdorian/events{/privacy}","received_events_url":"https://api.github.com/users/Kingdorian/received_events","type":"User","site_admin":false},"repo":{"id":56487193,"name":"Contextproject-BeNine","full_name":"Kingdorian/Contextproject-BeNine","owner":{"login":"Kingdorian","id":8640174,"avatar_url":"https://avatars.githubusercontent.com/u/8640174?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingdorian","html_url":"https://github.com/Kingdorian","followers_url":"https://api.github.com/users/Kingdorian/followers","following_url":"https://api.github.com/users/Kingdorian/following{/other_user}","gists_url":"https://api.github.com/users/Kingdorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingdorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingdorian/subscriptions","organizations_url":"https://api.github.com/users/Kingdorian/orgs","repos_url":"https://api.github.com/users/Kingdorian/repos","events_url":"https://api.github.com/users/Kingdorian/events{/privacy}","received_events_url":"https://api.github.com/users/Kingdorian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kingdorian/Contextproject-BeNine","description":"","fork":false,"url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine","forks_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/forks","keys_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/teams","hooks_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/hooks","issue_events_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/events{/number}","events_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/events","assignees_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/assignees{/user}","branches_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/branches{/branch}","tags_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/tags","blobs_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/statuses/{sha}","languages_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/languages","stargazers_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/stargazers","contributors_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/contributors","subscribers_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/subscribers","subscription_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/subscription","commits_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/contents/{+path}","compare_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/merges","archive_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/downloads","issues_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues{/number}","pulls_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls{/number}","milestones_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/milestones{/number}","notifications_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/labels{/name}","releases_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/releases{/id}","deployments_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/deployments","created_at":"2016-04-18T07:39:56Z","updated_at":"2016-05-09T18:38:09Z","pushed_at":"2016-05-12T20:36:32Z","git_url":"git://github.com/Kingdorian/Contextproject-BeNine.git","ssh_url":"git@github.com:Kingdorian/Contextproject-BeNine.git","clone_url":"https://github.com/Kingdorian/Contextproject-BeNine.git","svn_url":"https://github.com/Kingdorian/Contextproject-BeNine","homepage":null,"size":5085,"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":13,"forks":0,"open_issues":13,"watchers":3,"default_branch":"master"}},"base":{"label":"Kingdorian:develop","ref":"develop","sha":"fdd26547ec5a233ee889335451dae6fe8ff8076f","user":{"login":"Kingdorian","id":8640174,"avatar_url":"https://avatars.githubusercontent.com/u/8640174?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingdorian","html_url":"https://github.com/Kingdorian","followers_url":"https://api.github.com/users/Kingdorian/followers","following_url":"https://api.github.com/users/Kingdorian/following{/other_user}","gists_url":"https://api.github.com/users/Kingdorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingdorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingdorian/subscriptions","organizations_url":"https://api.github.com/users/Kingdorian/orgs","repos_url":"https://api.github.com/users/Kingdorian/repos","events_url":"https://api.github.com/users/Kingdorian/events{/privacy}","received_events_url":"https://api.github.com/users/Kingdorian/received_events","type":"User","site_admin":false},"repo":{"id":56487193,"name":"Contextproject-BeNine","full_name":"Kingdorian/Contextproject-BeNine","owner":{"login":"Kingdorian","id":8640174,"avatar_url":"https://avatars.githubusercontent.com/u/8640174?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingdorian","html_url":"https://github.com/Kingdorian","followers_url":"https://api.github.com/users/Kingdorian/followers","following_url":"https://api.github.com/users/Kingdorian/following{/other_user}","gists_url":"https://api.github.com/users/Kingdorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingdorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingdorian/subscriptions","organizations_url":"https://api.github.com/users/Kingdorian/orgs","repos_url":"https://api.github.com/users/Kingdorian/repos","events_url":"https://api.github.com/users/Kingdorian/events{/privacy}","received_events_url":"https://api.github.com/users/Kingdorian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kingdorian/Contextproject-BeNine","description":"","fork":false,"url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine","forks_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/forks","keys_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/teams","hooks_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/hooks","issue_events_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/events{/number}","events_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/events","assignees_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/assignees{/user}","branches_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/branches{/branch}","tags_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/tags","blobs_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/statuses/{sha}","languages_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/languages","stargazers_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/stargazers","contributors_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/contributors","subscribers_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/subscribers","subscription_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/subscription","commits_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/contents/{+path}","compare_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/merges","archive_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/downloads","issues_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues{/number}","pulls_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls{/number}","milestones_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/milestones{/number}","notifications_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/labels{/name}","releases_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/releases{/id}","deployments_url":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/deployments","created_at":"2016-04-18T07:39:56Z","updated_at":"2016-05-09T18:38:09Z","pushed_at":"2016-05-12T20:36:32Z","git_url":"git://github.com/Kingdorian/Contextproject-BeNine.git","ssh_url":"git@github.com:Kingdorian/Contextproject-BeNine.git","clone_url":"https://github.com/Kingdorian/Contextproject-BeNine.git","svn_url":"https://github.com/Kingdorian/Contextproject-BeNine","homepage":null,"size":5085,"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":13,"forks":0,"open_issues":13,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/73"},"html":{"href":"https://github.com/Kingdorian/Contextproject-BeNine/pull/73"},"issue":{"href":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/73"},"comments":{"href":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/Kingdorian/Contextproject-BeNine/statuses/8bf11ef7c08f440c8e1e7547000add4935cc56fe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bvanwijk","id":9803346,"avatar_url":"https://avatars.githubusercontent.com/u/9803346?v=3","gravatar_id":"","url":"https://api.github.com/users/bvanwijk","html_url":"https://github.com/bvanwijk","followers_url":"https://api.github.com/users/bvanwijk/followers","following_url":"https://api.github.com/users/bvanwijk/following{/other_user}","gists_url":"https://api.github.com/users/bvanwijk/gists{/gist_id}","starred_url":"https://api.github.com/users/bvanwijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvanwijk/subscriptions","organizations_url":"https://api.github.com/users/bvanwijk/orgs","repos_url":"https://api.github.com/users/bvanwijk/repos","events_url":"https://api.github.com/users/bvanwijk/events{/privacy}","received_events_url":"https://api.github.com/users/bvanwijk/received_events","type":"User","site_admin":false},"comments":4,"review_comments":2,"commits":19,"additions":356,"deletions":206,"changed_files":14}}