{"action":"created","issue":{"url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/issues/47","repository_url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api","labels_url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/issues/47/comments","events_url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/issues/47/events","html_url":"https://github.com/Ignitus/Ignitus-rest-api/pull/47","id":373295606,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MjU3NzU1","number":47,"title":"implement Redis for caching","user":{"login":"ikhnaton","id":4853273,"node_id":"MDQ6VXNlcjQ4NTMyNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/4853273?v=4","gravatar_id":"","url":"https://api.github.com/users/ikhnaton","html_url":"https://github.com/ikhnaton","followers_url":"https://api.github.com/users/ikhnaton/followers","following_url":"https://api.github.com/users/ikhnaton/following{/other_user}","gists_url":"https://api.github.com/users/ikhnaton/gists{/gist_id}","starred_url":"https://api.github.com/users/ikhnaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikhnaton/subscriptions","organizations_url":"https://api.github.com/users/ikhnaton/orgs","repos_url":"https://api.github.com/users/ikhnaton/repos","events_url":"https://api.github.com/users/ikhnaton/events{/privacy}","received_events_url":"https://api.github.com/users/ikhnaton/received_events","type":"User","site_admin":false},"labels":[{"id":1096888880,"node_id":"MDU6TGFiZWwxMDk2ODg4ODgw","url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/labels/PR:%20reviewed-approved","name":"PR: reviewed-approved","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-24T04:01:43Z","updated_at":"2018-10-26T13:35:21Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/pulls/47","html_url":"https://github.com/Ignitus/Ignitus-rest-api/pull/47","diff_url":"https://github.com/Ignitus/Ignitus-rest-api/pull/47.diff","patch_url":"https://github.com/Ignitus/Ignitus-rest-api/pull/47.patch"},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\nimplement Redis for caching\r\n\r\n## Description\r\n<!--- Describe your changes in detail  -->\r\nI implemented Redis caching and applied it to the user controller to demonstrate the pattern for use elsewhere.  Additionally, I implemented as part of a simple cache that will allow in memory caching when Redis is not available, so users can still test when Redis is offline.\r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\nhttps://github.com/Ignitus/Ignitus-rest-api/issues/46\r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\nI utilized Postman and connected to a MongoDb created specifically for this purpose.\r\n\r\n## Screenshots (if appropriate):\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [X ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [X ] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [X ] I have updated the documentation accordingly.\r\n- [ ] I have read the **CONTRIBUTING** document.\r\n"},"comment":{"url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/issues/comments/433409630","html_url":"https://github.com/Ignitus/Ignitus-rest-api/pull/47#issuecomment-433409630","issue_url":"https://api.github.com/repos/Ignitus/Ignitus-rest-api/issues/47","id":433409630,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQwOTYzMA==","user":{"login":"divyanshu-rawat","id":13464678,"node_id":"MDQ6VXNlcjEzNDY0Njc4","avatar_url":"https://avatars3.githubusercontent.com/u/13464678?v=4","gravatar_id":"","url":"https://api.github.com/users/divyanshu-rawat","html_url":"https://github.com/divyanshu-rawat","followers_url":"https://api.github.com/users/divyanshu-rawat/followers","following_url":"https://api.github.com/users/divyanshu-rawat/following{/other_user}","gists_url":"https://api.github.com/users/divyanshu-rawat/gists{/gist_id}","starred_url":"https://api.github.com/users/divyanshu-rawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divyanshu-rawat/subscriptions","organizations_url":"https://api.github.com/users/divyanshu-rawat/orgs","repos_url":"https://api.github.com/users/divyanshu-rawat/repos","events_url":"https://api.github.com/users/divyanshu-rawat/events{/privacy}","received_events_url":"https://api.github.com/users/divyanshu-rawat/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T13:35:21Z","updated_at":"2018-10-26T13:35:21Z","author_association":"MEMBER","body":"Thanks for the PR @ikhnaton  👍 "}}
{"actor":{"display_login":"divyanshu-rawat"}}