{"action":"created","comment":{"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/53868510","id":53868510,"diff_hunk":"@@ -0,0 +1,46 @@\n+module Notifications\n+  class SisExpiryProcessor\n+    include ClassLogger\n+\n+    def process(event, timestamp)\n+      return false unless accept? event\n+      logger.debug \"Processing event: #{event}; timestamp = #{timestamp}\"\n+      if (expiry_module = get_expiry event) && (uid = get_uid event)","path":"app/models/notifications/sis_expiry_processor.rb","position":8,"original_position":8,"commit_id":"96de6c697c1803a973e24b02a534039c8bc4b336","original_commit_id":"96de6c697c1803a973e24b02a534039c8bc4b336","user":{"login":"paulkerschen","id":2413467,"avatar_url":"https://avatars.githubusercontent.com/u/2413467?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkerschen","html_url":"https://github.com/paulkerschen","followers_url":"https://api.github.com/users/paulkerschen/followers","following_url":"https://api.github.com/users/paulkerschen/following{/other_user}","gists_url":"https://api.github.com/users/paulkerschen/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkerschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkerschen/subscriptions","organizations_url":"https://api.github.com/users/paulkerschen/orgs","repos_url":"https://api.github.com/users/paulkerschen/repos","events_url":"https://api.github.com/users/paulkerschen/events{/privacy}","received_events_url":"https://api.github.com/users/paulkerschen/received_events","type":"User","site_admin":false},"body":"Makes sense, @johncrossman: this class started out inheriting from AbstractEventProcessor and then didn't. Amendment coming.","created_at":"2016-02-23T23:22:34Z","updated_at":"2016-02-23T23:22:34Z","html_url":"https://github.com/ets-berkeley-edu/calcentral/pull/4940#discussion_r53868510","pull_request_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940","_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/53868510"},"html":{"href":"https://github.com/ets-berkeley-edu/calcentral/pull/4940#discussion_r53868510"},"pull_request":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940"}}},"pull_request":{"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940","id":60423862,"html_url":"https://github.com/ets-berkeley-edu/calcentral/pull/4940","diff_url":"https://github.com/ets-berkeley-edu/calcentral/pull/4940.diff","patch_url":"https://github.com/ets-berkeley-edu/calcentral/pull/4940.patch","issue_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/4940","number":4940,"state":"open","locked":false,"title":"SISRP-13250 Expire user data by functional area based on JMS event topic","user":{"login":"paulkerschen","id":2413467,"avatar_url":"https://avatars.githubusercontent.com/u/2413467?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkerschen","html_url":"https://github.com/paulkerschen","followers_url":"https://api.github.com/users/paulkerschen/followers","following_url":"https://api.github.com/users/paulkerschen/following{/other_user}","gists_url":"https://api.github.com/users/paulkerschen/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkerschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkerschen/subscriptions","organizations_url":"https://api.github.com/users/paulkerschen/orgs","repos_url":"https://api.github.com/users/paulkerschen/repos","events_url":"https://api.github.com/users/paulkerschen/events{/privacy}","received_events_url":"https://api.github.com/users/paulkerschen/received_events","type":"User","site_admin":false},"body":"https://jira.berkeley.edu/browse/SISRP-13250\r\n\r\nThe wiring of event topics to expiry modules is incomplete and will require functional validation. However, it should be easy from here to wire up the right behavior once we're certain what that behavior is.","created_at":"2016-02-23T22:45:26Z","updated_at":"2016-02-23T23:22:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"197f79761a488b2514e842e881e3453d5e1d8415","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940/commits","review_comments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940/comments","review_comment_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/4940/comments","statuses_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/96de6c697c1803a973e24b02a534039c8bc4b336","head":{"label":"paulkerschen:sisrp-13250","ref":"sisrp-13250","sha":"96de6c697c1803a973e24b02a534039c8bc4b336","user":{"login":"paulkerschen","id":2413467,"avatar_url":"https://avatars.githubusercontent.com/u/2413467?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkerschen","html_url":"https://github.com/paulkerschen","followers_url":"https://api.github.com/users/paulkerschen/followers","following_url":"https://api.github.com/users/paulkerschen/following{/other_user}","gists_url":"https://api.github.com/users/paulkerschen/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkerschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkerschen/subscriptions","organizations_url":"https://api.github.com/users/paulkerschen/orgs","repos_url":"https://api.github.com/users/paulkerschen/repos","events_url":"https://api.github.com/users/paulkerschen/events{/privacy}","received_events_url":"https://api.github.com/users/paulkerschen/received_events","type":"User","site_admin":false},"repo":{"id":26028641,"name":"calcentral","full_name":"paulkerschen/calcentral","owner":{"login":"paulkerschen","id":2413467,"avatar_url":"https://avatars.githubusercontent.com/u/2413467?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkerschen","html_url":"https://github.com/paulkerschen","followers_url":"https://api.github.com/users/paulkerschen/followers","following_url":"https://api.github.com/users/paulkerschen/following{/other_user}","gists_url":"https://api.github.com/users/paulkerschen/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkerschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkerschen/subscriptions","organizations_url":"https://api.github.com/users/paulkerschen/orgs","repos_url":"https://api.github.com/users/paulkerschen/repos","events_url":"https://api.github.com/users/paulkerschen/events{/privacy}","received_events_url":"https://api.github.com/users/paulkerschen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulkerschen/calcentral","description":"","fork":true,"url":"https://api.github.com/repos/paulkerschen/calcentral","forks_url":"https://api.github.com/repos/paulkerschen/calcentral/forks","keys_url":"https://api.github.com/repos/paulkerschen/calcentral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulkerschen/calcentral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulkerschen/calcentral/teams","hooks_url":"https://api.github.com/repos/paulkerschen/calcentral/hooks","issue_events_url":"https://api.github.com/repos/paulkerschen/calcentral/issues/events{/number}","events_url":"https://api.github.com/repos/paulkerschen/calcentral/events","assignees_url":"https://api.github.com/repos/paulkerschen/calcentral/assignees{/user}","branches_url":"https://api.github.com/repos/paulkerschen/calcentral/branches{/branch}","tags_url":"https://api.github.com/repos/paulkerschen/calcentral/tags","blobs_url":"https://api.github.com/repos/paulkerschen/calcentral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulkerschen/calcentral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulkerschen/calcentral/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulkerschen/calcentral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulkerschen/calcentral/statuses/{sha}","languages_url":"https://api.github.com/repos/paulkerschen/calcentral/languages","stargazers_url":"https://api.github.com/repos/paulkerschen/calcentral/stargazers","contributors_url":"https://api.github.com/repos/paulkerschen/calcentral/contributors","subscribers_url":"https://api.github.com/repos/paulkerschen/calcentral/subscribers","subscription_url":"https://api.github.com/repos/paulkerschen/calcentral/subscription","commits_url":"https://api.github.com/repos/paulkerschen/calcentral/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulkerschen/calcentral/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulkerschen/calcentral/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulkerschen/calcentral/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulkerschen/calcentral/contents/{+path}","compare_url":"https://api.github.com/repos/paulkerschen/calcentral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulkerschen/calcentral/merges","archive_url":"https://api.github.com/repos/paulkerschen/calcentral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulkerschen/calcentral/downloads","issues_url":"https://api.github.com/repos/paulkerschen/calcentral/issues{/number}","pulls_url":"https://api.github.com/repos/paulkerschen/calcentral/pulls{/number}","milestones_url":"https://api.github.com/repos/paulkerschen/calcentral/milestones{/number}","notifications_url":"https://api.github.com/repos/paulkerschen/calcentral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulkerschen/calcentral/labels{/name}","releases_url":"https://api.github.com/repos/paulkerschen/calcentral/releases{/id}","deployments_url":"https://api.github.com/repos/paulkerschen/calcentral/deployments","created_at":"2014-10-31T18:41:02Z","updated_at":"2016-01-14T04:21:14Z","pushed_at":"2016-02-23T22:44:24Z","git_url":"git://github.com/paulkerschen/calcentral.git","ssh_url":"git@github.com:paulkerschen/calcentral.git","clone_url":"https://github.com/paulkerschen/calcentral.git","svn_url":"https://github.com/paulkerschen/calcentral","homepage":"https://calcentral.berkeley.edu","size":20272,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"mirror"}},"base":{"label":"ets-berkeley-edu:master","ref":"master","sha":"188cb0a5788a66516bddf49a9b1a45b0ac5b6abf","user":{"login":"ets-berkeley-edu","id":283538,"avatar_url":"https://avatars.githubusercontent.com/u/283538?v=3","gravatar_id":"","url":"https://api.github.com/users/ets-berkeley-edu","html_url":"https://github.com/ets-berkeley-edu","followers_url":"https://api.github.com/users/ets-berkeley-edu/followers","following_url":"https://api.github.com/users/ets-berkeley-edu/following{/other_user}","gists_url":"https://api.github.com/users/ets-berkeley-edu/gists{/gist_id}","starred_url":"https://api.github.com/users/ets-berkeley-edu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ets-berkeley-edu/subscriptions","organizations_url":"https://api.github.com/users/ets-berkeley-edu/orgs","repos_url":"https://api.github.com/users/ets-berkeley-edu/repos","events_url":"https://api.github.com/users/ets-berkeley-edu/events{/privacy}","received_events_url":"https://api.github.com/users/ets-berkeley-edu/received_events","type":"Organization","site_admin":false},"repo":{"id":5483921,"name":"calcentral","full_name":"ets-berkeley-edu/calcentral","owner":{"login":"ets-berkeley-edu","id":283538,"avatar_url":"https://avatars.githubusercontent.com/u/283538?v=3","gravatar_id":"","url":"https://api.github.com/users/ets-berkeley-edu","html_url":"https://github.com/ets-berkeley-edu","followers_url":"https://api.github.com/users/ets-berkeley-edu/followers","following_url":"https://api.github.com/users/ets-berkeley-edu/following{/other_user}","gists_url":"https://api.github.com/users/ets-berkeley-edu/gists{/gist_id}","starred_url":"https://api.github.com/users/ets-berkeley-edu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ets-berkeley-edu/subscriptions","organizations_url":"https://api.github.com/users/ets-berkeley-edu/orgs","repos_url":"https://api.github.com/users/ets-berkeley-edu/repos","events_url":"https://api.github.com/users/ets-berkeley-edu/events{/privacy}","received_events_url":"https://api.github.com/users/ets-berkeley-edu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ets-berkeley-edu/calcentral","description":"","fork":false,"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral","forks_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/forks","keys_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/teams","hooks_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/hooks","issue_events_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/events{/number}","events_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/events","assignees_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/assignees{/user}","branches_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/branches{/branch}","tags_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/tags","blobs_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/refs{/sha}","trees_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/{sha}","languages_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/languages","stargazers_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/stargazers","contributors_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/contributors","subscribers_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/subscribers","subscription_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/subscription","commits_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/commits{/sha}","git_commits_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/commits{/sha}","comments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/comments{/number}","issue_comment_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/comments{/number}","contents_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/contents/{+path}","compare_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/merges","archive_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/downloads","issues_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues{/number}","pulls_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls{/number}","milestones_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/milestones{/number}","notifications_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/labels{/name}","releases_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/releases{/id}","deployments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/deployments","created_at":"2012-08-20T16:45:39Z","updated_at":"2016-01-20T21:04:36Z","pushed_at":"2016-02-23T23:15:13Z","git_url":"git://github.com/ets-berkeley-edu/calcentral.git","ssh_url":"git@github.com:ets-berkeley-edu/calcentral.git","clone_url":"https://github.com/ets-berkeley-edu/calcentral.git","svn_url":"https://github.com/ets-berkeley-edu/calcentral","homepage":"https://calcentral.berkeley.edu","size":26640,"stargazers_count":55,"watchers_count":55,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":5,"forks":60,"open_issues":5,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940"},"html":{"href":"https://github.com/ets-berkeley-edu/calcentral/pull/4940"},"issue":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/4940"},"comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/4940/comments"},"review_comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940/comments"},"review_comment":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/4940/commits"},"statuses":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/96de6c697c1803a973e24b02a534039c8bc4b336"}}}}