{"action":"created","comment":{"url":"https://api.github.com/repos/Jasig/uPortal/pulls/comments/155395868","pull_request_review_id":81708545,"id":155395868,"diff_hunk":"@@ -302,4 +305,53 @@ public void aggregateMarketplaceRating() {\n             }\n         }\n     }\n+    \n+    @Override\n+    public Set<IMarketplaceRating> getAllRatingsForPortletInLastXDays(int numberOfDaysBack, final String fname) {\n+        \n+        final Calendar queryDate = Calendar.getInstance();\n+        queryDate.add(Calendar.DAY_OF_YEAR, 0-numberOfDaysBack);","path":"uPortal-web/src/main/java/org/apereo/portal/portlet/dao/jpa/JpaMarketplaceRatingDao.java","position":26,"original_position":26,"commit_id":"9f91d4a9f52727bce14c21c0272efd2027232852","original_commit_id":"185eeda740c01dbe2da038cf9168dcb78fe7c998","user":{"login":"ChristianMurphy","id":3107513,"avatar_url":"https://avatars3.githubusercontent.com/u/3107513?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristianMurphy","html_url":"https://github.com/ChristianMurphy","followers_url":"https://api.github.com/users/ChristianMurphy/followers","following_url":"https://api.github.com/users/ChristianMurphy/following{/other_user}","gists_url":"https://api.github.com/users/ChristianMurphy/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianMurphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianMurphy/subscriptions","organizations_url":"https://api.github.com/users/ChristianMurphy/orgs","repos_url":"https://api.github.com/users/ChristianMurphy/repos","events_url":"https://api.github.com/users/ChristianMurphy/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianMurphy/received_events","type":"User","site_admin":false},"body":"> to modify this given the submited pull request\r\n\r\nWhen more changes are pushed to a git branch, those changes are automatically included in a pull request.","created_at":"2017-12-06T23:50:09Z","updated_at":"2017-12-06T23:50:09Z","html_url":"https://github.com/Jasig/uPortal/pull/1064#discussion_r155395868","pull_request_url":"https://api.github.com/repos/Jasig/uPortal/pulls/1064","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/comments/155395868"},"html":{"href":"https://github.com/Jasig/uPortal/pull/1064#discussion_r155395868"},"pull_request":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/1064"}},"in_reply_to_id":155367622},"pull_request":{"url":"https://api.github.com/repos/Jasig/uPortal/pulls/1064","id":156839591,"html_url":"https://github.com/Jasig/uPortal/pull/1064","diff_url":"https://github.com/Jasig/uPortal/pull/1064.diff","patch_url":"https://github.com/Jasig/uPortal/pull/1064.patch","issue_url":"https://api.github.com/repos/Jasig/uPortal/issues/1064","number":1064,"state":"closed","locked":false,"title":"Add Date A Portlet Rating Was Done","user":{"login":"phillips1021","id":1399399,"avatar_url":"https://avatars0.githubusercontent.com/u/1399399?v=4","gravatar_id":"","url":"https://api.github.com/users/phillips1021","html_url":"https://github.com/phillips1021","followers_url":"https://api.github.com/users/phillips1021/followers","following_url":"https://api.github.com/users/phillips1021/following{/other_user}","gists_url":"https://api.github.com/users/phillips1021/gists{/gist_id}","starred_url":"https://api.github.com/users/phillips1021/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillips1021/subscriptions","organizations_url":"https://api.github.com/users/phillips1021/orgs","repos_url":"https://api.github.com/users/phillips1021/repos","events_url":"https://api.github.com/users/phillips1021/events{/privacy}","received_events_url":"https://api.github.com/users/phillips1021/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for your pull request. Please review below requirements.\r\n\r\nBug fixes and new features should be reported on the issue tracker: https://issues.jasig.org/browse/UP/\r\n\r\nContributors guide: https://github.com/Jasig/uPortal/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n-   [ X] the [individual contributor license agreement][] is signed\r\n-   [ X] commit message follows [commit guidelines][]\r\n-   [ X] tests are included\r\n\r\n\r\n##### Description of change\r\n<!-- Provide a description of the change below this comment. -->\r\nAdd date a portlet rating was completed\r\n\r\n<!-- Reference Links -->\r\nhttps://issues.jasig.org/browse/UP-4621\r\n\r\n[individual contributor license agreement]: https://github.com/Jasig/uPortal/blob/master/CONTRIBUTING.md#individual-contributor-license-agreement\r\n[commit guidelines]: https://github.com/Jasig/uPortal/blob/master/CONTRIBUTING.md#commit\r\n[message properties]: https://github.com/Jasig/uPortal/tree/master/uportal-war/src/main/resources/properties/i18n\r\n[WCAG 2.0 AA]: https://www.w3.org/WAI/WCAG20/quickref/?levels=aaa&technologies=smil%2Cpdf%2Cflash%2Csl","created_at":"2017-12-06T21:06:51Z","updated_at":"2017-12-06T23:50:09Z","closed_at":"2017-12-06T23:14:55Z","merged_at":null,"merge_commit_sha":"500feff6d65f0b01f5107ae25a44e0814fe63b63","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Jasig/uPortal/pulls/1064/commits","review_comments_url":"https://api.github.com/repos/Jasig/uPortal/pulls/1064/comments","review_comment_url":"https://api.github.com/repos/Jasig/uPortal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jasig/uPortal/issues/1064/comments","statuses_url":"https://api.github.com/repos/Jasig/uPortal/statuses/9f91d4a9f52727bce14c21c0272efd2027232852","head":{"label":"phillips1021:master","ref":"master","sha":"9f91d4a9f52727bce14c21c0272efd2027232852","user":{"login":"phillips1021","id":1399399,"avatar_url":"https://avatars0.githubusercontent.com/u/1399399?v=4","gravatar_id":"","url":"https://api.github.com/users/phillips1021","html_url":"https://github.com/phillips1021","followers_url":"https://api.github.com/users/phillips1021/followers","following_url":"https://api.github.com/users/phillips1021/following{/other_user}","gists_url":"https://api.github.com/users/phillips1021/gists{/gist_id}","starred_url":"https://api.github.com/users/phillips1021/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillips1021/subscriptions","organizations_url":"https://api.github.com/users/phillips1021/orgs","repos_url":"https://api.github.com/users/phillips1021/repos","events_url":"https://api.github.com/users/phillips1021/events{/privacy}","received_events_url":"https://api.github.com/users/phillips1021/received_events","type":"User","site_admin":false},"repo":{"id":113330826,"name":"uPortal","full_name":"phillips1021/uPortal","owner":{"login":"phillips1021","id":1399399,"avatar_url":"https://avatars0.githubusercontent.com/u/1399399?v=4","gravatar_id":"","url":"https://api.github.com/users/phillips1021","html_url":"https://github.com/phillips1021","followers_url":"https://api.github.com/users/phillips1021/followers","following_url":"https://api.github.com/users/phillips1021/following{/other_user}","gists_url":"https://api.github.com/users/phillips1021/gists{/gist_id}","starred_url":"https://api.github.com/users/phillips1021/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillips1021/subscriptions","organizations_url":"https://api.github.com/users/phillips1021/orgs","repos_url":"https://api.github.com/users/phillips1021/repos","events_url":"https://api.github.com/users/phillips1021/events{/privacy}","received_events_url":"https://api.github.com/users/phillips1021/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phillips1021/uPortal","description":"Enterprise open source portal built by and for the higher education community.","fork":true,"url":"https://api.github.com/repos/phillips1021/uPortal","forks_url":"https://api.github.com/repos/phillips1021/uPortal/forks","keys_url":"https://api.github.com/repos/phillips1021/uPortal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phillips1021/uPortal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phillips1021/uPortal/teams","hooks_url":"https://api.github.com/repos/phillips1021/uPortal/hooks","issue_events_url":"https://api.github.com/repos/phillips1021/uPortal/issues/events{/number}","events_url":"https://api.github.com/repos/phillips1021/uPortal/events","assignees_url":"https://api.github.com/repos/phillips1021/uPortal/assignees{/user}","branches_url":"https://api.github.com/repos/phillips1021/uPortal/branches{/branch}","tags_url":"https://api.github.com/repos/phillips1021/uPortal/tags","blobs_url":"https://api.github.com/repos/phillips1021/uPortal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phillips1021/uPortal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phillips1021/uPortal/git/refs{/sha}","trees_url":"https://api.github.com/repos/phillips1021/uPortal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phillips1021/uPortal/statuses/{sha}","languages_url":"https://api.github.com/repos/phillips1021/uPortal/languages","stargazers_url":"https://api.github.com/repos/phillips1021/uPortal/stargazers","contributors_url":"https://api.github.com/repos/phillips1021/uPortal/contributors","subscribers_url":"https://api.github.com/repos/phillips1021/uPortal/subscribers","subscription_url":"https://api.github.com/repos/phillips1021/uPortal/subscription","commits_url":"https://api.github.com/repos/phillips1021/uPortal/commits{/sha}","git_commits_url":"https://api.github.com/repos/phillips1021/uPortal/git/commits{/sha}","comments_url":"https://api.github.com/repos/phillips1021/uPortal/comments{/number}","issue_comment_url":"https://api.github.com/repos/phillips1021/uPortal/issues/comments{/number}","contents_url":"https://api.github.com/repos/phillips1021/uPortal/contents/{+path}","compare_url":"https://api.github.com/repos/phillips1021/uPortal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phillips1021/uPortal/merges","archive_url":"https://api.github.com/repos/phillips1021/uPortal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phillips1021/uPortal/downloads","issues_url":"https://api.github.com/repos/phillips1021/uPortal/issues{/number}","pulls_url":"https://api.github.com/repos/phillips1021/uPortal/pulls{/number}","milestones_url":"https://api.github.com/repos/phillips1021/uPortal/milestones{/number}","notifications_url":"https://api.github.com/repos/phillips1021/uPortal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phillips1021/uPortal/labels{/name}","releases_url":"https://api.github.com/repos/phillips1021/uPortal/releases{/id}","deployments_url":"https://api.github.com/repos/phillips1021/uPortal/deployments","created_at":"2017-12-06T15:08:14Z","updated_at":"2017-12-06T15:08:24Z","pushed_at":"2017-12-06T23:45:48Z","git_url":"git://github.com/phillips1021/uPortal.git","ssh_url":"git@github.com:phillips1021/uPortal.git","clone_url":"https://github.com/phillips1021/uPortal.git","svn_url":"https://github.com/phillips1021/uPortal","homepage":"https://www.apereo.org/projects/uportal","size":163179,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Jasig:master","ref":"master","sha":"8935cec68cd18fb9654d00ff0b7ff2df0001d671","user":{"login":"Jasig","id":884285,"avatar_url":"https://avatars1.githubusercontent.com/u/884285?v=4","gravatar_id":"","url":"https://api.github.com/users/Jasig","html_url":"https://github.com/Jasig","followers_url":"https://api.github.com/users/Jasig/followers","following_url":"https://api.github.com/users/Jasig/following{/other_user}","gists_url":"https://api.github.com/users/Jasig/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasig/subscriptions","organizations_url":"https://api.github.com/users/Jasig/orgs","repos_url":"https://api.github.com/users/Jasig/repos","events_url":"https://api.github.com/users/Jasig/events{/privacy}","received_events_url":"https://api.github.com/users/Jasig/received_events","type":"Organization","site_admin":false},"repo":{"id":2614085,"name":"uPortal","full_name":"Jasig/uPortal","owner":{"login":"Jasig","id":884285,"avatar_url":"https://avatars1.githubusercontent.com/u/884285?v=4","gravatar_id":"","url":"https://api.github.com/users/Jasig","html_url":"https://github.com/Jasig","followers_url":"https://api.github.com/users/Jasig/followers","following_url":"https://api.github.com/users/Jasig/following{/other_user}","gists_url":"https://api.github.com/users/Jasig/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasig/subscriptions","organizations_url":"https://api.github.com/users/Jasig/orgs","repos_url":"https://api.github.com/users/Jasig/repos","events_url":"https://api.github.com/users/Jasig/events{/privacy}","received_events_url":"https://api.github.com/users/Jasig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jasig/uPortal","description":"Enterprise open source portal built by and for the higher education community.","fork":false,"url":"https://api.github.com/repos/Jasig/uPortal","forks_url":"https://api.github.com/repos/Jasig/uPortal/forks","keys_url":"https://api.github.com/repos/Jasig/uPortal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jasig/uPortal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jasig/uPortal/teams","hooks_url":"https://api.github.com/repos/Jasig/uPortal/hooks","issue_events_url":"https://api.github.com/repos/Jasig/uPortal/issues/events{/number}","events_url":"https://api.github.com/repos/Jasig/uPortal/events","assignees_url":"https://api.github.com/repos/Jasig/uPortal/assignees{/user}","branches_url":"https://api.github.com/repos/Jasig/uPortal/branches{/branch}","tags_url":"https://api.github.com/repos/Jasig/uPortal/tags","blobs_url":"https://api.github.com/repos/Jasig/uPortal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jasig/uPortal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jasig/uPortal/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jasig/uPortal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jasig/uPortal/statuses/{sha}","languages_url":"https://api.github.com/repos/Jasig/uPortal/languages","stargazers_url":"https://api.github.com/repos/Jasig/uPortal/stargazers","contributors_url":"https://api.github.com/repos/Jasig/uPortal/contributors","subscribers_url":"https://api.github.com/repos/Jasig/uPortal/subscribers","subscription_url":"https://api.github.com/repos/Jasig/uPortal/subscription","commits_url":"https://api.github.com/repos/Jasig/uPortal/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jasig/uPortal/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jasig/uPortal/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jasig/uPortal/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jasig/uPortal/contents/{+path}","compare_url":"https://api.github.com/repos/Jasig/uPortal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jasig/uPortal/merges","archive_url":"https://api.github.com/repos/Jasig/uPortal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jasig/uPortal/downloads","issues_url":"https://api.github.com/repos/Jasig/uPortal/issues{/number}","pulls_url":"https://api.github.com/repos/Jasig/uPortal/pulls{/number}","milestones_url":"https://api.github.com/repos/Jasig/uPortal/milestones{/number}","notifications_url":"https://api.github.com/repos/Jasig/uPortal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jasig/uPortal/labels{/name}","releases_url":"https://api.github.com/repos/Jasig/uPortal/releases{/id}","deployments_url":"https://api.github.com/repos/Jasig/uPortal/deployments","created_at":"2011-10-20T15:34:22Z","updated_at":"2017-12-05T17:15:33Z","pushed_at":"2017-12-06T23:48:19Z","git_url":"git://github.com/Jasig/uPortal.git","ssh_url":"git@github.com:Jasig/uPortal.git","clone_url":"https://github.com/Jasig/uPortal.git","svn_url":"https://github.com/Jasig/uPortal","homepage":"https://www.apereo.org/projects/uportal","size":165126,"stargazers_count":149,"watchers_count":149,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":218,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":218,"open_issues":3,"watchers":149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/1064"},"html":{"href":"https://github.com/Jasig/uPortal/pull/1064"},"issue":{"href":"https://api.github.com/repos/Jasig/uPortal/issues/1064"},"comments":{"href":"https://api.github.com/repos/Jasig/uPortal/issues/1064/comments"},"review_comments":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/1064/comments"},"review_comment":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/1064/commits"},"statuses":{"href":"https://api.github.com/repos/Jasig/uPortal/statuses/9f91d4a9f52727bce14c21c0272efd2027232852"}},"author_association":"NONE"}}
{"actor":{"display_login":"ChristianMurphy"}}