{"action":"created","comment":{"url":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/comments/71086965","id":71086965,"diff_hunk":"@@ -67,6 +67,45 @@ public void createOrUpdateNewMed(\n     }\n \n     /**\n+     * GET call on meds, gets list of meds for specific auth user.\n+     * @param inputStream\n+     * @param outputStream\n+     * @param context\n+     * @throws IOException\n+     */\n+    public void getMedsForSessionUser(\n+        InputStream inputStream,\n+        OutputStream outputStream,\n+        Context context\n+    ) throws IOException {\n+\n+        LambdaLogger logger = context.getLogger();\n+\n+        //Logging purposes\n+        String streamContents = IOUtils.toString(inputStream);\n+        logger.log(\"Stream Contents: \" + streamContents);\n+\n+\n+        ClientRequestObject<Object> clientRequestObject = objectMapper.readValue(","path":"server/src/main/java/info/doseamigos/meds/MedWebService.java","position":23,"original_position":23,"commit_id":"80c925ef9a9c8c1342be68361c6d80d23d1caf0f","original_commit_id":"80c925ef9a9c8c1342be68361c6d80d23d1caf0f","user":{"login":"jking31cs","id":221496,"avatar_url":"https://avatars.githubusercontent.com/u/221496?v=3","gravatar_id":"","url":"https://api.github.com/users/jking31cs","html_url":"https://github.com/jking31cs","followers_url":"https://api.github.com/users/jking31cs/followers","following_url":"https://api.github.com/users/jking31cs/following{/other_user}","gists_url":"https://api.github.com/users/jking31cs/gists{/gist_id}","starred_url":"https://api.github.com/users/jking31cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jking31cs/subscriptions","organizations_url":"https://api.github.com/users/jking31cs/orgs","repos_url":"https://api.github.com/users/jking31cs/repos","events_url":"https://api.github.com/users/jking31cs/events{/privacy}","received_events_url":"https://api.github.com/users/jking31cs/received_events","type":"User","site_admin":false},"body":"There is no body in the get call here, so I just called it \"Object\" so that it rendered as whatever.","created_at":"2016-07-17T18:27:01Z","updated_at":"2016-07-17T18:27:01Z","html_url":"https://github.com/dose-amigos/dose-amigos/pull/21#discussion_r71086965","pull_request_url":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/comments/71086965"},"html":{"href":"https://github.com/dose-amigos/dose-amigos/pull/21#discussion_r71086965"},"pull_request":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21","id":77742176,"html_url":"https://github.com/dose-amigos/dose-amigos/pull/21","diff_url":"https://github.com/dose-amigos/dose-amigos/pull/21.diff","patch_url":"https://github.com/dose-amigos/dose-amigos/pull/21.patch","issue_url":"https://api.github.com/repos/dose-amigos/dose-amigos/issues/21","number":21,"state":"open","locked":false,"title":"Issue #8: Added Auth0 validation","user":{"login":"jking31cs","id":221496,"avatar_url":"https://avatars.githubusercontent.com/u/221496?v=3","gravatar_id":"","url":"https://api.github.com/users/jking31cs","html_url":"https://github.com/jking31cs","followers_url":"https://api.github.com/users/jking31cs/followers","following_url":"https://api.github.com/users/jking31cs/following{/other_user}","gists_url":"https://api.github.com/users/jking31cs/gists{/gist_id}","starred_url":"https://api.github.com/users/jking31cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jking31cs/subscriptions","organizations_url":"https://api.github.com/users/jking31cs/orgs","repos_url":"https://api.github.com/users/jking31cs/repos","events_url":"https://api.github.com/users/jking31cs/events{/privacy}","received_events_url":"https://api.github.com/users/jking31cs/received_events","type":"User","site_admin":false},"body":"The Auth0 http requests passes back to the server an id token instead\r\nof an access token.  Using the id token, we need to call into Jay's\r\nauth0 setup to grab the access token information for google's stuff.\r\nSo I added an additional layer fixing that up.\r\n\r\nAlso fixed up the GET call on /meds to return the meds for the logged\r\nin user's amigo.  This was our testing url.","created_at":"2016-07-17T18:24:18Z","updated_at":"2016-07-17T18:27:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd81aeb3ac7e439f7f28248d51445641829c7c0e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21/commits","review_comments_url":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21/comments","review_comment_url":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dose-amigos/dose-amigos/issues/21/comments","statuses_url":"https://api.github.com/repos/dose-amigos/dose-amigos/statuses/80c925ef9a9c8c1342be68361c6d80d23d1caf0f","head":{"label":"jking31cs:FixMedsGetCall","ref":"FixMedsGetCall","sha":"80c925ef9a9c8c1342be68361c6d80d23d1caf0f","user":{"login":"jking31cs","id":221496,"avatar_url":"https://avatars.githubusercontent.com/u/221496?v=3","gravatar_id":"","url":"https://api.github.com/users/jking31cs","html_url":"https://github.com/jking31cs","followers_url":"https://api.github.com/users/jking31cs/followers","following_url":"https://api.github.com/users/jking31cs/following{/other_user}","gists_url":"https://api.github.com/users/jking31cs/gists{/gist_id}","starred_url":"https://api.github.com/users/jking31cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jking31cs/subscriptions","organizations_url":"https://api.github.com/users/jking31cs/orgs","repos_url":"https://api.github.com/users/jking31cs/repos","events_url":"https://api.github.com/users/jking31cs/events{/privacy}","received_events_url":"https://api.github.com/users/jking31cs/received_events","type":"User","site_admin":false},"repo":{"id":60129359,"name":"dose-amigos","full_name":"jking31cs/dose-amigos","owner":{"login":"jking31cs","id":221496,"avatar_url":"https://avatars.githubusercontent.com/u/221496?v=3","gravatar_id":"","url":"https://api.github.com/users/jking31cs","html_url":"https://github.com/jking31cs","followers_url":"https://api.github.com/users/jking31cs/followers","following_url":"https://api.github.com/users/jking31cs/following{/other_user}","gists_url":"https://api.github.com/users/jking31cs/gists{/gist_id}","starred_url":"https://api.github.com/users/jking31cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jking31cs/subscriptions","organizations_url":"https://api.github.com/users/jking31cs/orgs","repos_url":"https://api.github.com/users/jking31cs/repos","events_url":"https://api.github.com/users/jking31cs/events{/privacy}","received_events_url":"https://api.github.com/users/jking31cs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jking31cs/dose-amigos","description":"The Social Medication Reminder Solution for All","fork":true,"url":"https://api.github.com/repos/jking31cs/dose-amigos","forks_url":"https://api.github.com/repos/jking31cs/dose-amigos/forks","keys_url":"https://api.github.com/repos/jking31cs/dose-amigos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jking31cs/dose-amigos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jking31cs/dose-amigos/teams","hooks_url":"https://api.github.com/repos/jking31cs/dose-amigos/hooks","issue_events_url":"https://api.github.com/repos/jking31cs/dose-amigos/issues/events{/number}","events_url":"https://api.github.com/repos/jking31cs/dose-amigos/events","assignees_url":"https://api.github.com/repos/jking31cs/dose-amigos/assignees{/user}","branches_url":"https://api.github.com/repos/jking31cs/dose-amigos/branches{/branch}","tags_url":"https://api.github.com/repos/jking31cs/dose-amigos/tags","blobs_url":"https://api.github.com/repos/jking31cs/dose-amigos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jking31cs/dose-amigos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jking31cs/dose-amigos/git/refs{/sha}","trees_url":"https://api.github.com/repos/jking31cs/dose-amigos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jking31cs/dose-amigos/statuses/{sha}","languages_url":"https://api.github.com/repos/jking31cs/dose-amigos/languages","stargazers_url":"https://api.github.com/repos/jking31cs/dose-amigos/stargazers","contributors_url":"https://api.github.com/repos/jking31cs/dose-amigos/contributors","subscribers_url":"https://api.github.com/repos/jking31cs/dose-amigos/subscribers","subscription_url":"https://api.github.com/repos/jking31cs/dose-amigos/subscription","commits_url":"https://api.github.com/repos/jking31cs/dose-amigos/commits{/sha}","git_commits_url":"https://api.github.com/repos/jking31cs/dose-amigos/git/commits{/sha}","comments_url":"https://api.github.com/repos/jking31cs/dose-amigos/comments{/number}","issue_comment_url":"https://api.github.com/repos/jking31cs/dose-amigos/issues/comments{/number}","contents_url":"https://api.github.com/repos/jking31cs/dose-amigos/contents/{+path}","compare_url":"https://api.github.com/repos/jking31cs/dose-amigos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jking31cs/dose-amigos/merges","archive_url":"https://api.github.com/repos/jking31cs/dose-amigos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jking31cs/dose-amigos/downloads","issues_url":"https://api.github.com/repos/jking31cs/dose-amigos/issues{/number}","pulls_url":"https://api.github.com/repos/jking31cs/dose-amigos/pulls{/number}","milestones_url":"https://api.github.com/repos/jking31cs/dose-amigos/milestones{/number}","notifications_url":"https://api.github.com/repos/jking31cs/dose-amigos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jking31cs/dose-amigos/labels{/name}","releases_url":"https://api.github.com/repos/jking31cs/dose-amigos/releases{/id}","deployments_url":"https://api.github.com/repos/jking31cs/dose-amigos/deployments","created_at":"2016-05-31T23:00:17Z","updated_at":"2016-05-31T22:11:53Z","pushed_at":"2016-07-17T18:21:52Z","git_url":"git://github.com/jking31cs/dose-amigos.git","ssh_url":"git@github.com:jking31cs/dose-amigos.git","clone_url":"https://github.com/jking31cs/dose-amigos.git","svn_url":"https://github.com/jking31cs/dose-amigos","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dose-amigos:master","ref":"master","sha":"567b55df9ce7160332cfd26e00baa6c607a9bb50","user":{"login":"dose-amigos","id":19675922,"avatar_url":"https://avatars.githubusercontent.com/u/19675922?v=3","gravatar_id":"","url":"https://api.github.com/users/dose-amigos","html_url":"https://github.com/dose-amigos","followers_url":"https://api.github.com/users/dose-amigos/followers","following_url":"https://api.github.com/users/dose-amigos/following{/other_user}","gists_url":"https://api.github.com/users/dose-amigos/gists{/gist_id}","starred_url":"https://api.github.com/users/dose-amigos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dose-amigos/subscriptions","organizations_url":"https://api.github.com/users/dose-amigos/orgs","repos_url":"https://api.github.com/users/dose-amigos/repos","events_url":"https://api.github.com/users/dose-amigos/events{/privacy}","received_events_url":"https://api.github.com/users/dose-amigos/received_events","type":"Organization","site_admin":false},"repo":{"id":60127172,"name":"dose-amigos","full_name":"dose-amigos/dose-amigos","owner":{"login":"dose-amigos","id":19675922,"avatar_url":"https://avatars.githubusercontent.com/u/19675922?v=3","gravatar_id":"","url":"https://api.github.com/users/dose-amigos","html_url":"https://github.com/dose-amigos","followers_url":"https://api.github.com/users/dose-amigos/followers","following_url":"https://api.github.com/users/dose-amigos/following{/other_user}","gists_url":"https://api.github.com/users/dose-amigos/gists{/gist_id}","starred_url":"https://api.github.com/users/dose-amigos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dose-amigos/subscriptions","organizations_url":"https://api.github.com/users/dose-amigos/orgs","repos_url":"https://api.github.com/users/dose-amigos/repos","events_url":"https://api.github.com/users/dose-amigos/events{/privacy}","received_events_url":"https://api.github.com/users/dose-amigos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dose-amigos/dose-amigos","description":"Don't miss a dose with help from your amigos.","fork":false,"url":"https://api.github.com/repos/dose-amigos/dose-amigos","forks_url":"https://api.github.com/repos/dose-amigos/dose-amigos/forks","keys_url":"https://api.github.com/repos/dose-amigos/dose-amigos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dose-amigos/dose-amigos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dose-amigos/dose-amigos/teams","hooks_url":"https://api.github.com/repos/dose-amigos/dose-amigos/hooks","issue_events_url":"https://api.github.com/repos/dose-amigos/dose-amigos/issues/events{/number}","events_url":"https://api.github.com/repos/dose-amigos/dose-amigos/events","assignees_url":"https://api.github.com/repos/dose-amigos/dose-amigos/assignees{/user}","branches_url":"https://api.github.com/repos/dose-amigos/dose-amigos/branches{/branch}","tags_url":"https://api.github.com/repos/dose-amigos/dose-amigos/tags","blobs_url":"https://api.github.com/repos/dose-amigos/dose-amigos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dose-amigos/dose-amigos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dose-amigos/dose-amigos/git/refs{/sha}","trees_url":"https://api.github.com/repos/dose-amigos/dose-amigos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dose-amigos/dose-amigos/statuses/{sha}","languages_url":"https://api.github.com/repos/dose-amigos/dose-amigos/languages","stargazers_url":"https://api.github.com/repos/dose-amigos/dose-amigos/stargazers","contributors_url":"https://api.github.com/repos/dose-amigos/dose-amigos/contributors","subscribers_url":"https://api.github.com/repos/dose-amigos/dose-amigos/subscribers","subscription_url":"https://api.github.com/repos/dose-amigos/dose-amigos/subscription","commits_url":"https://api.github.com/repos/dose-amigos/dose-amigos/commits{/sha}","git_commits_url":"https://api.github.com/repos/dose-amigos/dose-amigos/git/commits{/sha}","comments_url":"https://api.github.com/repos/dose-amigos/dose-amigos/comments{/number}","issue_comment_url":"https://api.github.com/repos/dose-amigos/dose-amigos/issues/comments{/number}","contents_url":"https://api.github.com/repos/dose-amigos/dose-amigos/contents/{+path}","compare_url":"https://api.github.com/repos/dose-amigos/dose-amigos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dose-amigos/dose-amigos/merges","archive_url":"https://api.github.com/repos/dose-amigos/dose-amigos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dose-amigos/dose-amigos/downloads","issues_url":"https://api.github.com/repos/dose-amigos/dose-amigos/issues{/number}","pulls_url":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls{/number}","milestones_url":"https://api.github.com/repos/dose-amigos/dose-amigos/milestones{/number}","notifications_url":"https://api.github.com/repos/dose-amigos/dose-amigos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dose-amigos/dose-amigos/labels{/name}","releases_url":"https://api.github.com/repos/dose-amigos/dose-amigos/releases{/id}","deployments_url":"https://api.github.com/repos/dose-amigos/dose-amigos/deployments","created_at":"2016-05-31T22:11:53Z","updated_at":"2016-06-22T00:58:04Z","pushed_at":"2016-07-17T18:24:19Z","git_url":"git://github.com/dose-amigos/dose-amigos.git","ssh_url":"git@github.com:dose-amigos/dose-amigos.git","clone_url":"https://github.com/dose-amigos/dose-amigos.git","svn_url":"https://github.com/dose-amigos/dose-amigos","homepage":"http://doseamigos.info","size":123,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":11,"forks":4,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21"},"html":{"href":"https://github.com/dose-amigos/dose-amigos/pull/21"},"issue":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/issues/21"},"comments":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/dose-amigos/dose-amigos/statuses/80c925ef9a9c8c1342be68361c6d80d23d1caf0f"}}}}
{"actor":{"display_login":"jking31cs"}}