{"action":"created","comment":{"url":"https://api.github.com/repos/apereo/cas/pulls/comments/88808768","pull_request_review_id":9370624,"id":88808768,"diff_hunk":"@@ -0,0 +1,113 @@\n+package org.apereo.cas.dao;\n+\n+import org.apereo.cas.logout.LogoutManager;\n+import org.apereo.cas.ticket.Ticket;\n+import org.apereo.cas.ticket.registry.AbstractTicketRegistry;\n+import org.apereo.cas.ticket.registry.TicketRegistryCleaner;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.beans.factory.annotation.Qualifier;\n+import org.springframework.scheduling.annotation.Scheduled;\n+\n+import java.util.Collection;\n+\n+public class NoSqlTicketRegistry extends AbstractTicketRegistry implements TicketRegistryCleaner {\n+\n+    private static final Logger LOGGER = LoggerFactory.getLogger(NoSqlTicketRegistry.class);\n+    private static final String TICKET_GRANTING_TICKET_PREFIX = \"TGT\";","path":"support/cas-server-support-cassandra-ticket-registry/src/main/java/org/apereo/cas/dao/NoSqlTicketRegistry.java","position":18,"original_position":18,"commit_id":"f8e7bc5817206bb4543fc781a6c4aa6887fc433b","original_commit_id":"f8e7bc5817206bb4543fc781a6c4aa6887fc433b","user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"body":"Remove all prefixes. Use interfaces.","created_at":"2016-11-20T19:13:53Z","updated_at":"2016-11-20T19:16:31Z","html_url":"https://github.com/apereo/cas/pull/2111#discussion_r88808768","pull_request_url":"https://api.github.com/repos/apereo/cas/pulls/2111","_links":{"self":{"href":"https://api.github.com/repos/apereo/cas/pulls/comments/88808768"},"html":{"href":"https://github.com/apereo/cas/pull/2111#discussion_r88808768"},"pull_request":{"href":"https://api.github.com/repos/apereo/cas/pulls/2111"}}},"pull_request":{"url":"https://api.github.com/repos/apereo/cas/pulls/2111","id":92667918,"html_url":"https://github.com/apereo/cas/pull/2111","diff_url":"https://github.com/apereo/cas/pull/2111.diff","patch_url":"https://github.com/apereo/cas/pull/2111.patch","issue_url":"https://api.github.com/repos/apereo/cas/issues/2111","number":2111,"state":"open","locked":false,"title":"Cassandra ticket registry implementation","user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"body":"Closely related to #2055 ","created_at":"2016-11-07T21:29:10Z","updated_at":"2016-11-20T19:16:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fec6e0ae766c5591a583addec28618298a8ba666","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/apereo/cas/milestones/4","html_url":"https://github.com/apereo/cas/milestones/5.1.0.RC1","labels_url":"https://api.github.com/repos/apereo/cas/milestones/4/labels","id":721281,"number":4,"title":"5.1.0.RC1","description":"Feature release: Release Candidate (Beta)","creator":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":33,"state":"open","created_at":"2014-07-15T06:16:11Z","updated_at":"2016-11-20T14:38:55Z","due_on":"2016-12-22T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/apereo/cas/pulls/2111/commits","review_comments_url":"https://api.github.com/repos/apereo/cas/pulls/2111/comments","review_comment_url":"https://api.github.com/repos/apereo/cas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apereo/cas/issues/2111/comments","statuses_url":"https://api.github.com/repos/apereo/cas/statuses/f8e7bc5817206bb4543fc781a6c4aa6887fc433b","head":{"label":"William-Hill-Online:cassandra-ticket-registry","ref":"cassandra-ticket-registry","sha":"f8e7bc5817206bb4543fc781a6c4aa6887fc433b","user":{"login":"William-Hill-Online","id":16120005,"avatar_url":"https://avatars.githubusercontent.com/u/16120005?v=3","gravatar_id":"","url":"https://api.github.com/users/William-Hill-Online","html_url":"https://github.com/William-Hill-Online","followers_url":"https://api.github.com/users/William-Hill-Online/followers","following_url":"https://api.github.com/users/William-Hill-Online/following{/other_user}","gists_url":"https://api.github.com/users/William-Hill-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/William-Hill-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/William-Hill-Online/subscriptions","organizations_url":"https://api.github.com/users/William-Hill-Online/orgs","repos_url":"https://api.github.com/users/William-Hill-Online/repos","events_url":"https://api.github.com/users/William-Hill-Online/events{/privacy}","received_events_url":"https://api.github.com/users/William-Hill-Online/received_events","type":"Organization","site_admin":false},"repo":{"id":71229990,"name":"cas","full_name":"William-Hill-Online/cas","owner":{"login":"William-Hill-Online","id":16120005,"avatar_url":"https://avatars.githubusercontent.com/u/16120005?v=3","gravatar_id":"","url":"https://api.github.com/users/William-Hill-Online","html_url":"https://github.com/William-Hill-Online","followers_url":"https://api.github.com/users/William-Hill-Online/followers","following_url":"https://api.github.com/users/William-Hill-Online/following{/other_user}","gists_url":"https://api.github.com/users/William-Hill-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/William-Hill-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/William-Hill-Online/subscriptions","organizations_url":"https://api.github.com/users/William-Hill-Online/orgs","repos_url":"https://api.github.com/users/William-Hill-Online/repos","events_url":"https://api.github.com/users/William-Hill-Online/events{/privacy}","received_events_url":"https://api.github.com/users/William-Hill-Online/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/William-Hill-Online/cas","description":"Apereo CAS - Enterprise Single Sign On for all","fork":true,"url":"https://api.github.com/repos/William-Hill-Online/cas","forks_url":"https://api.github.com/repos/William-Hill-Online/cas/forks","keys_url":"https://api.github.com/repos/William-Hill-Online/cas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/William-Hill-Online/cas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/William-Hill-Online/cas/teams","hooks_url":"https://api.github.com/repos/William-Hill-Online/cas/hooks","issue_events_url":"https://api.github.com/repos/William-Hill-Online/cas/issues/events{/number}","events_url":"https://api.github.com/repos/William-Hill-Online/cas/events","assignees_url":"https://api.github.com/repos/William-Hill-Online/cas/assignees{/user}","branches_url":"https://api.github.com/repos/William-Hill-Online/cas/branches{/branch}","tags_url":"https://api.github.com/repos/William-Hill-Online/cas/tags","blobs_url":"https://api.github.com/repos/William-Hill-Online/cas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/William-Hill-Online/cas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/William-Hill-Online/cas/git/refs{/sha}","trees_url":"https://api.github.com/repos/William-Hill-Online/cas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/William-Hill-Online/cas/statuses/{sha}","languages_url":"https://api.github.com/repos/William-Hill-Online/cas/languages","stargazers_url":"https://api.github.com/repos/William-Hill-Online/cas/stargazers","contributors_url":"https://api.github.com/repos/William-Hill-Online/cas/contributors","subscribers_url":"https://api.github.com/repos/William-Hill-Online/cas/subscribers","subscription_url":"https://api.github.com/repos/William-Hill-Online/cas/subscription","commits_url":"https://api.github.com/repos/William-Hill-Online/cas/commits{/sha}","git_commits_url":"https://api.github.com/repos/William-Hill-Online/cas/git/commits{/sha}","comments_url":"https://api.github.com/repos/William-Hill-Online/cas/comments{/number}","issue_comment_url":"https://api.github.com/repos/William-Hill-Online/cas/issues/comments{/number}","contents_url":"https://api.github.com/repos/William-Hill-Online/cas/contents/{+path}","compare_url":"https://api.github.com/repos/William-Hill-Online/cas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/William-Hill-Online/cas/merges","archive_url":"https://api.github.com/repos/William-Hill-Online/cas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/William-Hill-Online/cas/downloads","issues_url":"https://api.github.com/repos/William-Hill-Online/cas/issues{/number}","pulls_url":"https://api.github.com/repos/William-Hill-Online/cas/pulls{/number}","milestones_url":"https://api.github.com/repos/William-Hill-Online/cas/milestones{/number}","notifications_url":"https://api.github.com/repos/William-Hill-Online/cas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/William-Hill-Online/cas/labels{/name}","releases_url":"https://api.github.com/repos/William-Hill-Online/cas/releases{/id}","deployments_url":"https://api.github.com/repos/William-Hill-Online/cas/deployments","created_at":"2016-10-18T09:10:14Z","updated_at":"2016-10-20T08:53:47Z","pushed_at":"2016-11-20T18:27:34Z","git_url":"git://github.com/William-Hill-Online/cas.git","ssh_url":"git@github.com:William-Hill-Online/cas.git","clone_url":"https://github.com/William-Hill-Online/cas.git","svn_url":"https://github.com/William-Hill-Online/cas","homepage":"https://apereo.github.io/cas/","size":1261276,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apereo:master","ref":"master","sha":"962af94abfb2e4ebbdc6ca8604785451fcb772dc","user":{"login":"apereo","id":4679233,"avatar_url":"https://avatars.githubusercontent.com/u/4679233?v=3","gravatar_id":"","url":"https://api.github.com/users/apereo","html_url":"https://github.com/apereo","followers_url":"https://api.github.com/users/apereo/followers","following_url":"https://api.github.com/users/apereo/following{/other_user}","gists_url":"https://api.github.com/users/apereo/gists{/gist_id}","starred_url":"https://api.github.com/users/apereo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apereo/subscriptions","organizations_url":"https://api.github.com/users/apereo/orgs","repos_url":"https://api.github.com/users/apereo/repos","events_url":"https://api.github.com/users/apereo/events{/privacy}","received_events_url":"https://api.github.com/users/apereo/received_events","type":"Organization","site_admin":false},"repo":{"id":2352744,"name":"cas","full_name":"apereo/cas","owner":{"login":"apereo","id":4679233,"avatar_url":"https://avatars.githubusercontent.com/u/4679233?v=3","gravatar_id":"","url":"https://api.github.com/users/apereo","html_url":"https://github.com/apereo","followers_url":"https://api.github.com/users/apereo/followers","following_url":"https://api.github.com/users/apereo/following{/other_user}","gists_url":"https://api.github.com/users/apereo/gists{/gist_id}","starred_url":"https://api.github.com/users/apereo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apereo/subscriptions","organizations_url":"https://api.github.com/users/apereo/orgs","repos_url":"https://api.github.com/users/apereo/repos","events_url":"https://api.github.com/users/apereo/events{/privacy}","received_events_url":"https://api.github.com/users/apereo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apereo/cas","description":"Apereo CAS - Enterprise Single Sign On for all","fork":false,"url":"https://api.github.com/repos/apereo/cas","forks_url":"https://api.github.com/repos/apereo/cas/forks","keys_url":"https://api.github.com/repos/apereo/cas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apereo/cas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apereo/cas/teams","hooks_url":"https://api.github.com/repos/apereo/cas/hooks","issue_events_url":"https://api.github.com/repos/apereo/cas/issues/events{/number}","events_url":"https://api.github.com/repos/apereo/cas/events","assignees_url":"https://api.github.com/repos/apereo/cas/assignees{/user}","branches_url":"https://api.github.com/repos/apereo/cas/branches{/branch}","tags_url":"https://api.github.com/repos/apereo/cas/tags","blobs_url":"https://api.github.com/repos/apereo/cas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apereo/cas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apereo/cas/git/refs{/sha}","trees_url":"https://api.github.com/repos/apereo/cas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apereo/cas/statuses/{sha}","languages_url":"https://api.github.com/repos/apereo/cas/languages","stargazers_url":"https://api.github.com/repos/apereo/cas/stargazers","contributors_url":"https://api.github.com/repos/apereo/cas/contributors","subscribers_url":"https://api.github.com/repos/apereo/cas/subscribers","subscription_url":"https://api.github.com/repos/apereo/cas/subscription","commits_url":"https://api.github.com/repos/apereo/cas/commits{/sha}","git_commits_url":"https://api.github.com/repos/apereo/cas/git/commits{/sha}","comments_url":"https://api.github.com/repos/apereo/cas/comments{/number}","issue_comment_url":"https://api.github.com/repos/apereo/cas/issues/comments{/number}","contents_url":"https://api.github.com/repos/apereo/cas/contents/{+path}","compare_url":"https://api.github.com/repos/apereo/cas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apereo/cas/merges","archive_url":"https://api.github.com/repos/apereo/cas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apereo/cas/downloads","issues_url":"https://api.github.com/repos/apereo/cas/issues{/number}","pulls_url":"https://api.github.com/repos/apereo/cas/pulls{/number}","milestones_url":"https://api.github.com/repos/apereo/cas/milestones{/number}","notifications_url":"https://api.github.com/repos/apereo/cas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apereo/cas/labels{/name}","releases_url":"https://api.github.com/repos/apereo/cas/releases{/id}","deployments_url":"https://api.github.com/repos/apereo/cas/deployments","created_at":"2011-09-09T01:36:42Z","updated_at":"2016-11-20T15:57:55Z","pushed_at":"2016-11-20T18:40:01Z","git_url":"git://github.com/apereo/cas.git","ssh_url":"git@github.com:apereo/cas.git","clone_url":"https://github.com/apereo/cas.git","svn_url":"https://github.com/apereo/cas","homepage":"https://apereo.github.io/cas/","size":1337997,"stargazers_count":1977,"watchers_count":1977,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1252,"mirror_url":null,"open_issues_count":39,"forks":1252,"open_issues":39,"watchers":1977,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apereo/cas/pulls/2111"},"html":{"href":"https://github.com/apereo/cas/pull/2111"},"issue":{"href":"https://api.github.com/repos/apereo/cas/issues/2111"},"comments":{"href":"https://api.github.com/repos/apereo/cas/issues/2111/comments"},"review_comments":{"href":"https://api.github.com/repos/apereo/cas/pulls/2111/comments"},"review_comment":{"href":"https://api.github.com/repos/apereo/cas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apereo/cas/pulls/2111/commits"},"statuses":{"href":"https://api.github.com/repos/apereo/cas/statuses/f8e7bc5817206bb4543fc781a6c4aa6887fc433b"}}}}
{"actor":{"display_login":"mmoayyed"}}