{"action":"opened","number":46,"pull_request":{"url":"https://api.github.com/repos/darenegade/BikeBattle/pulls/46","id":72735197,"html_url":"https://github.com/darenegade/BikeBattle/pull/46","diff_url":"https://github.com/darenegade/BikeBattle/pull/46.diff","patch_url":"https://github.com/darenegade/BikeBattle/pull/46.patch","issue_url":"https://api.github.com/repos/darenegade/BikeBattle/issues/46","number":46,"state":"open","locked":false,"title":"#44 Caching implementiert","user":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"body":"Caching in 2 Stufen implementiert.\r\n1. Bei allen Get Anfragen ist ein Cache dazwischen geschaltet (RxCache), der mittels den Übergabeparametern die Antworten speichert.\r\n2. Das Backend liefert einen e-Tag für Entitäten, welches vom Client (OkHttp) gespeichert und gecached wird. Somit können Daten im Cache der 1. Stufe auslaufen und wenn es keine Änderung im Backend gibt, werden die lokalen Daten vom Client genutzt.\r\n\r\nNoch zu tun:\r\n- [ ] Refresh Data mittels boolean\r\n- [ ] Test\r\n- [ ] Comments","created_at":"2016-06-06T16:06:30Z","updated_at":"2016-06-06T16:06:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a857078e79c9bebf45df21cbd35dc373f096496c","assignee":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/darenegade/BikeBattle/pulls/46/commits","review_comments_url":"https://api.github.com/repos/darenegade/BikeBattle/pulls/46/comments","review_comment_url":"https://api.github.com/repos/darenegade/BikeBattle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/darenegade/BikeBattle/issues/46/comments","statuses_url":"https://api.github.com/repos/darenegade/BikeBattle/statuses/9de482a59b7c0974bd6bbaa2711f0e869b5286a1","head":{"label":"darenegade:#44-Caching","ref":"#44-Caching","sha":"9de482a59b7c0974bd6bbaa2711f0e869b5286a1","user":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"repo":{"id":54478368,"name":"BikeBattle","full_name":"darenegade/BikeBattle","owner":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darenegade/BikeBattle","description":"","fork":false,"url":"https://api.github.com/repos/darenegade/BikeBattle","forks_url":"https://api.github.com/repos/darenegade/BikeBattle/forks","keys_url":"https://api.github.com/repos/darenegade/BikeBattle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darenegade/BikeBattle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darenegade/BikeBattle/teams","hooks_url":"https://api.github.com/repos/darenegade/BikeBattle/hooks","issue_events_url":"https://api.github.com/repos/darenegade/BikeBattle/issues/events{/number}","events_url":"https://api.github.com/repos/darenegade/BikeBattle/events","assignees_url":"https://api.github.com/repos/darenegade/BikeBattle/assignees{/user}","branches_url":"https://api.github.com/repos/darenegade/BikeBattle/branches{/branch}","tags_url":"https://api.github.com/repos/darenegade/BikeBattle/tags","blobs_url":"https://api.github.com/repos/darenegade/BikeBattle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darenegade/BikeBattle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darenegade/BikeBattle/git/refs{/sha}","trees_url":"https://api.github.com/repos/darenegade/BikeBattle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darenegade/BikeBattle/statuses/{sha}","languages_url":"https://api.github.com/repos/darenegade/BikeBattle/languages","stargazers_url":"https://api.github.com/repos/darenegade/BikeBattle/stargazers","contributors_url":"https://api.github.com/repos/darenegade/BikeBattle/contributors","subscribers_url":"https://api.github.com/repos/darenegade/BikeBattle/subscribers","subscription_url":"https://api.github.com/repos/darenegade/BikeBattle/subscription","commits_url":"https://api.github.com/repos/darenegade/BikeBattle/commits{/sha}","git_commits_url":"https://api.github.com/repos/darenegade/BikeBattle/git/commits{/sha}","comments_url":"https://api.github.com/repos/darenegade/BikeBattle/comments{/number}","issue_comment_url":"https://api.github.com/repos/darenegade/BikeBattle/issues/comments{/number}","contents_url":"https://api.github.com/repos/darenegade/BikeBattle/contents/{+path}","compare_url":"https://api.github.com/repos/darenegade/BikeBattle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darenegade/BikeBattle/merges","archive_url":"https://api.github.com/repos/darenegade/BikeBattle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darenegade/BikeBattle/downloads","issues_url":"https://api.github.com/repos/darenegade/BikeBattle/issues{/number}","pulls_url":"https://api.github.com/repos/darenegade/BikeBattle/pulls{/number}","milestones_url":"https://api.github.com/repos/darenegade/BikeBattle/milestones{/number}","notifications_url":"https://api.github.com/repos/darenegade/BikeBattle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darenegade/BikeBattle/labels{/name}","releases_url":"https://api.github.com/repos/darenegade/BikeBattle/releases{/id}","deployments_url":"https://api.github.com/repos/darenegade/BikeBattle/deployments","created_at":"2016-03-22T13:44:31Z","updated_at":"2016-03-22T13:44:43Z","pushed_at":"2016-06-06T16:06:30Z","git_url":"git://github.com/darenegade/BikeBattle.git","ssh_url":"git@github.com:darenegade/BikeBattle.git","clone_url":"https://github.com/darenegade/BikeBattle.git","svn_url":"https://github.com/darenegade/BikeBattle","homepage":null,"size":6472,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"darenegade:master","ref":"master","sha":"9a3368a1ca57186ae8012ca4c85a0e9c8a0cec2e","user":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"repo":{"id":54478368,"name":"BikeBattle","full_name":"darenegade/BikeBattle","owner":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darenegade/BikeBattle","description":"","fork":false,"url":"https://api.github.com/repos/darenegade/BikeBattle","forks_url":"https://api.github.com/repos/darenegade/BikeBattle/forks","keys_url":"https://api.github.com/repos/darenegade/BikeBattle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darenegade/BikeBattle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darenegade/BikeBattle/teams","hooks_url":"https://api.github.com/repos/darenegade/BikeBattle/hooks","issue_events_url":"https://api.github.com/repos/darenegade/BikeBattle/issues/events{/number}","events_url":"https://api.github.com/repos/darenegade/BikeBattle/events","assignees_url":"https://api.github.com/repos/darenegade/BikeBattle/assignees{/user}","branches_url":"https://api.github.com/repos/darenegade/BikeBattle/branches{/branch}","tags_url":"https://api.github.com/repos/darenegade/BikeBattle/tags","blobs_url":"https://api.github.com/repos/darenegade/BikeBattle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darenegade/BikeBattle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darenegade/BikeBattle/git/refs{/sha}","trees_url":"https://api.github.com/repos/darenegade/BikeBattle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darenegade/BikeBattle/statuses/{sha}","languages_url":"https://api.github.com/repos/darenegade/BikeBattle/languages","stargazers_url":"https://api.github.com/repos/darenegade/BikeBattle/stargazers","contributors_url":"https://api.github.com/repos/darenegade/BikeBattle/contributors","subscribers_url":"https://api.github.com/repos/darenegade/BikeBattle/subscribers","subscription_url":"https://api.github.com/repos/darenegade/BikeBattle/subscription","commits_url":"https://api.github.com/repos/darenegade/BikeBattle/commits{/sha}","git_commits_url":"https://api.github.com/repos/darenegade/BikeBattle/git/commits{/sha}","comments_url":"https://api.github.com/repos/darenegade/BikeBattle/comments{/number}","issue_comment_url":"https://api.github.com/repos/darenegade/BikeBattle/issues/comments{/number}","contents_url":"https://api.github.com/repos/darenegade/BikeBattle/contents/{+path}","compare_url":"https://api.github.com/repos/darenegade/BikeBattle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darenegade/BikeBattle/merges","archive_url":"https://api.github.com/repos/darenegade/BikeBattle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darenegade/BikeBattle/downloads","issues_url":"https://api.github.com/repos/darenegade/BikeBattle/issues{/number}","pulls_url":"https://api.github.com/repos/darenegade/BikeBattle/pulls{/number}","milestones_url":"https://api.github.com/repos/darenegade/BikeBattle/milestones{/number}","notifications_url":"https://api.github.com/repos/darenegade/BikeBattle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darenegade/BikeBattle/labels{/name}","releases_url":"https://api.github.com/repos/darenegade/BikeBattle/releases{/id}","deployments_url":"https://api.github.com/repos/darenegade/BikeBattle/deployments","created_at":"2016-03-22T13:44:31Z","updated_at":"2016-03-22T13:44:43Z","pushed_at":"2016-06-06T16:06:30Z","git_url":"git://github.com/darenegade/BikeBattle.git","ssh_url":"git@github.com:darenegade/BikeBattle.git","clone_url":"https://github.com/darenegade/BikeBattle.git","svn_url":"https://github.com/darenegade/BikeBattle","homepage":null,"size":6472,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/darenegade/BikeBattle/pulls/46"},"html":{"href":"https://github.com/darenegade/BikeBattle/pull/46"},"issue":{"href":"https://api.github.com/repos/darenegade/BikeBattle/issues/46"},"comments":{"href":"https://api.github.com/repos/darenegade/BikeBattle/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/darenegade/BikeBattle/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/darenegade/BikeBattle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/darenegade/BikeBattle/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/darenegade/BikeBattle/statuses/9de482a59b7c0974bd6bbaa2711f0e869b5286a1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":391,"deletions":134,"changed_files":14}}
{"actor":{"display_login":"darenegade"}}