{"action":"created","comment":{"url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/comments/92488913","pull_request_review_id":13005633,"id":92488913,"diff_hunk":"@@ -0,0 +1,62 @@\n+package middleware\n+\n+import (\n+\t\"fmt\"\n+\n+\t\"github.com/labstack/echo\"\n+\t\"github.com/rightscale/azure_arm_proxy/cache\"\n+\teh \"github.com/rightscale/azure_arm_proxy/error_handler\"\n+)\n+\n+// alias echo.Context, so we can embed it without confusing `Context` with `Context()`","path":"middleware/cache_context.go","position":11,"original_position":11,"commit_id":"bb7e7b8e4938a9d9c74272f8d0b69260c58dce8d","original_commit_id":"169bfa261c8e8e48d2c7e5b95c88eeea6df32757","user":{"login":"danielrife","id":381236,"avatar_url":"https://avatars.githubusercontent.com/u/381236?v=3","gravatar_id":"","url":"https://api.github.com/users/danielrife","html_url":"https://github.com/danielrife","followers_url":"https://api.github.com/users/danielrife/followers","following_url":"https://api.github.com/users/danielrife/following{/other_user}","gists_url":"https://api.github.com/users/danielrife/gists{/gist_id}","starred_url":"https://api.github.com/users/danielrife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielrife/subscriptions","organizations_url":"https://api.github.com/users/danielrife/orgs","repos_url":"https://api.github.com/users/danielrife/repos","events_url":"https://api.github.com/users/danielrife/events{/privacy}","received_events_url":"https://api.github.com/users/danielrife/received_events","type":"User","site_admin":false},"body":"ah that makes sense","created_at":"2016-12-14T21:06:31Z","updated_at":"2016-12-14T21:06:31Z","html_url":"https://github.com/rightscale/azure_arm_proxy/pull/25#discussion_r92488913","pull_request_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/comments/92488913"},"html":{"href":"https://github.com/rightscale/azure_arm_proxy/pull/25#discussion_r92488913"},"pull_request":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25","id":97994384,"html_url":"https://github.com/rightscale/azure_arm_proxy/pull/25","diff_url":"https://github.com/rightscale/azure_arm_proxy/pull/25.diff","patch_url":"https://github.com/rightscale/azure_arm_proxy/pull/25.patch","issue_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/25","number":25,"state":"open","locked":false,"title":"CF-2260 - Initial changes for redis cache support","user":{"login":"danielrife","id":381236,"avatar_url":"https://avatars.githubusercontent.com/u/381236?v=3","gravatar_id":"","url":"https://api.github.com/users/danielrife","html_url":"https://github.com/danielrife","followers_url":"https://api.github.com/users/danielrife/followers","following_url":"https://api.github.com/users/danielrife/following{/other_user}","gists_url":"https://api.github.com/users/danielrife/gists{/gist_id}","starred_url":"https://api.github.com/users/danielrife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielrife/subscriptions","organizations_url":"https://api.github.com/users/danielrife/orgs","repos_url":"https://api.github.com/users/danielrife/repos","events_url":"https://api.github.com/users/danielrife/events{/privacy}","received_events_url":"https://api.github.com/users/danielrife/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-14T17:06:33Z","updated_at":"2016-12-14T21:06:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"060e4ebb29bbc094e67389390a11cef85b7762f8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25/commits","review_comments_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25/comments","review_comment_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/25/comments","statuses_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/statuses/bb7e7b8e4938a9d9c74272f8d0b69260c58dce8d","head":{"label":"rightscale:CF-2260_ARM_redis_cache_support","ref":"CF-2260_ARM_redis_cache_support","sha":"bb7e7b8e4938a9d9c74272f8d0b69260c58dce8d","user":{"login":"rightscale","id":27964,"avatar_url":"https://avatars.githubusercontent.com/u/27964?v=3","gravatar_id":"","url":"https://api.github.com/users/rightscale","html_url":"https://github.com/rightscale","followers_url":"https://api.github.com/users/rightscale/followers","following_url":"https://api.github.com/users/rightscale/following{/other_user}","gists_url":"https://api.github.com/users/rightscale/gists{/gist_id}","starred_url":"https://api.github.com/users/rightscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rightscale/subscriptions","organizations_url":"https://api.github.com/users/rightscale/orgs","repos_url":"https://api.github.com/users/rightscale/repos","events_url":"https://api.github.com/users/rightscale/events{/privacy}","received_events_url":"https://api.github.com/users/rightscale/received_events","type":"Organization","site_admin":false},"repo":{"id":59329322,"name":"azure_arm_proxy","full_name":"rightscale/azure_arm_proxy","owner":{"login":"rightscale","id":27964,"avatar_url":"https://avatars.githubusercontent.com/u/27964?v=3","gravatar_id":"","url":"https://api.github.com/users/rightscale","html_url":"https://github.com/rightscale","followers_url":"https://api.github.com/users/rightscale/followers","following_url":"https://api.github.com/users/rightscale/following{/other_user}","gists_url":"https://api.github.com/users/rightscale/gists{/gist_id}","starred_url":"https://api.github.com/users/rightscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rightscale/subscriptions","organizations_url":"https://api.github.com/users/rightscale/orgs","repos_url":"https://api.github.com/users/rightscale/repos","events_url":"https://api.github.com/users/rightscale/events{/privacy}","received_events_url":"https://api.github.com/users/rightscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rightscale/azure_arm_proxy","description":"A simple REST API that proxies to the Azure ARM APIs.","fork":false,"url":"https://api.github.com/repos/rightscale/azure_arm_proxy","forks_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/forks","keys_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/teams","hooks_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/hooks","issue_events_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/events{/number}","events_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/events","assignees_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/assignees{/user}","branches_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/branches{/branch}","tags_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/tags","blobs_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/languages","stargazers_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/stargazers","contributors_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/contributors","subscribers_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/subscribers","subscription_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/subscription","commits_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/contents/{+path}","compare_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/merges","archive_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/downloads","issues_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues{/number}","pulls_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/labels{/name}","releases_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/releases{/id}","deployments_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/deployments","created_at":"2016-05-20T22:08:57Z","updated_at":"2016-11-16T23:10:11Z","pushed_at":"2016-12-14T21:04:23Z","git_url":"git://github.com/rightscale/azure_arm_proxy.git","ssh_url":"git@github.com:rightscale/azure_arm_proxy.git","clone_url":"https://github.com/rightscale/azure_arm_proxy.git","svn_url":"https://github.com/rightscale/azure_arm_proxy","homepage":null,"size":277589,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"rightscale:master","ref":"master","sha":"2347987023951d123d7028287f4c66b508e63529","user":{"login":"rightscale","id":27964,"avatar_url":"https://avatars.githubusercontent.com/u/27964?v=3","gravatar_id":"","url":"https://api.github.com/users/rightscale","html_url":"https://github.com/rightscale","followers_url":"https://api.github.com/users/rightscale/followers","following_url":"https://api.github.com/users/rightscale/following{/other_user}","gists_url":"https://api.github.com/users/rightscale/gists{/gist_id}","starred_url":"https://api.github.com/users/rightscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rightscale/subscriptions","organizations_url":"https://api.github.com/users/rightscale/orgs","repos_url":"https://api.github.com/users/rightscale/repos","events_url":"https://api.github.com/users/rightscale/events{/privacy}","received_events_url":"https://api.github.com/users/rightscale/received_events","type":"Organization","site_admin":false},"repo":{"id":59329322,"name":"azure_arm_proxy","full_name":"rightscale/azure_arm_proxy","owner":{"login":"rightscale","id":27964,"avatar_url":"https://avatars.githubusercontent.com/u/27964?v=3","gravatar_id":"","url":"https://api.github.com/users/rightscale","html_url":"https://github.com/rightscale","followers_url":"https://api.github.com/users/rightscale/followers","following_url":"https://api.github.com/users/rightscale/following{/other_user}","gists_url":"https://api.github.com/users/rightscale/gists{/gist_id}","starred_url":"https://api.github.com/users/rightscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rightscale/subscriptions","organizations_url":"https://api.github.com/users/rightscale/orgs","repos_url":"https://api.github.com/users/rightscale/repos","events_url":"https://api.github.com/users/rightscale/events{/privacy}","received_events_url":"https://api.github.com/users/rightscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rightscale/azure_arm_proxy","description":"A simple REST API that proxies to the Azure ARM APIs.","fork":false,"url":"https://api.github.com/repos/rightscale/azure_arm_proxy","forks_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/forks","keys_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/teams","hooks_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/hooks","issue_events_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/events{/number}","events_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/events","assignees_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/assignees{/user}","branches_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/branches{/branch}","tags_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/tags","blobs_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/languages","stargazers_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/stargazers","contributors_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/contributors","subscribers_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/subscribers","subscription_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/subscription","commits_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/contents/{+path}","compare_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/merges","archive_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/downloads","issues_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues{/number}","pulls_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/labels{/name}","releases_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/releases{/id}","deployments_url":"https://api.github.com/repos/rightscale/azure_arm_proxy/deployments","created_at":"2016-05-20T22:08:57Z","updated_at":"2016-11-16T23:10:11Z","pushed_at":"2016-12-14T21:04:23Z","git_url":"git://github.com/rightscale/azure_arm_proxy.git","ssh_url":"git@github.com:rightscale/azure_arm_proxy.git","clone_url":"https://github.com/rightscale/azure_arm_proxy.git","svn_url":"https://github.com/rightscale/azure_arm_proxy","homepage":null,"size":277589,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25"},"html":{"href":"https://github.com/rightscale/azure_arm_proxy/pull/25"},"issue":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/25"},"comments":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/rightscale/azure_arm_proxy/statuses/bb7e7b8e4938a9d9c74272f8d0b69260c58dce8d"}}}}
{"actor":{"display_login":"danielrife"}}