{"action":"created","comment":{"url":"https://api.github.com/repos/apereo/cas/pulls/comments/76077086","id":76077086,"diff_hunk":"@@ -0,0 +1,149 @@\n+package org.apereo.cas.configuration.model.support.redis;\n+\n+/**\n+ * Configuration properties for Redis.\n+ *\n+ * @author serv\n+ */\n+public class RedisTicketRegistryProperties {\n+\n+    /**\n+     * Database index used by the connection factory.\n+     */\n+    private int database = 0;\n+\n+    /**\n+     * Redis server host.\n+     */\n+    private String host = \"localhost\";\n+\n+    /**\n+     * Login password of the redis server.\n+     */\n+    private String password;\n+\n+    /**\n+     * Redis server port.\n+     */\n+    private int port = 6379;\n+\n+    /**\n+     * Connection timeout in milliseconds.\n+     */\n+    private int timeout;\n+\n+    private Pool pool;\n+\n+    public int getDatabase() {\n+        return this.database;\n+    }\n+\n+    public void setDatabase(int database) {\n+        this.database = database;\n+    }\n+\n+    public String getHost() {\n+        return this.host;\n+    }\n+\n+    public void setHost(String host) {","path":"cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/support/redis/RedisTicketRegistryProperties.java","position":49,"original_position":49,"commit_id":"fe0a6109080fac47a5855defb5e05c91a00a760f","original_commit_id":"fe0a6109080fac47a5855defb5e05c91a00a760f","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Parameter host should be final.](https://www.codacy.com/app/mmoayyed/cas/file/3540817258/issues/source?bid=3256115&fileBranchId=3625628#l49)","created_at":"2016-08-24T15:17:27Z","updated_at":"2016-08-24T15:17:27Z","html_url":"https://github.com/apereo/cas/pull/1968#discussion_r76077086","pull_request_url":"https://api.github.com/repos/apereo/cas/pulls/1968","_links":{"self":{"href":"https://api.github.com/repos/apereo/cas/pulls/comments/76077086"},"html":{"href":"https://github.com/apereo/cas/pull/1968#discussion_r76077086"},"pull_request":{"href":"https://api.github.com/repos/apereo/cas/pulls/1968"}}},"pull_request":{"url":"https://api.github.com/repos/apereo/cas/pulls/1968","id":82501715,"html_url":"https://github.com/apereo/cas/pull/1968","diff_url":"https://github.com/apereo/cas/pull/1968.diff","patch_url":"https://github.com/apereo/cas/pull/1968.patch","issue_url":"https://api.github.com/repos/apereo/cas/issues/1968","number":1968,"state":"open","locked":false,"title":"add redis ticket registry","user":{"login":"izerui","id":1773233,"avatar_url":"https://avatars.githubusercontent.com/u/1773233?v=3","gravatar_id":"","url":"https://api.github.com/users/izerui","html_url":"https://github.com/izerui","followers_url":"https://api.github.com/users/izerui/followers","following_url":"https://api.github.com/users/izerui/following{/other_user}","gists_url":"https://api.github.com/users/izerui/gists{/gist_id}","starred_url":"https://api.github.com/users/izerui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izerui/subscriptions","organizations_url":"https://api.github.com/users/izerui/orgs","repos_url":"https://api.github.com/users/izerui/repos","events_url":"https://api.github.com/users/izerui/events{/privacy}","received_events_url":"https://api.github.com/users/izerui/received_events","type":"User","site_admin":false},"body":"module:\r\n\r\n cas-server-support-redis-ticket-registry\r\n\r\n\r\nPlease check, thank you!!!","created_at":"2016-08-24T08:33:18Z","updated_at":"2016-08-24T15:17:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e64349ef6a6774b1fe77427c02c6c3f0e6c86a8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apereo/cas/pulls/1968/commits","review_comments_url":"https://api.github.com/repos/apereo/cas/pulls/1968/comments","review_comment_url":"https://api.github.com/repos/apereo/cas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apereo/cas/issues/1968/comments","statuses_url":"https://api.github.com/repos/apereo/cas/statuses/fe0a6109080fac47a5855defb5e05c91a00a760f","head":{"label":"izerui:master","ref":"master","sha":"fe0a6109080fac47a5855defb5e05c91a00a760f","user":{"login":"izerui","id":1773233,"avatar_url":"https://avatars.githubusercontent.com/u/1773233?v=3","gravatar_id":"","url":"https://api.github.com/users/izerui","html_url":"https://github.com/izerui","followers_url":"https://api.github.com/users/izerui/followers","following_url":"https://api.github.com/users/izerui/following{/other_user}","gists_url":"https://api.github.com/users/izerui/gists{/gist_id}","starred_url":"https://api.github.com/users/izerui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izerui/subscriptions","organizations_url":"https://api.github.com/users/izerui/orgs","repos_url":"https://api.github.com/users/izerui/repos","events_url":"https://api.github.com/users/izerui/events{/privacy}","received_events_url":"https://api.github.com/users/izerui/received_events","type":"User","site_admin":false},"repo":{"id":65594643,"name":"cas","full_name":"izerui/cas","owner":{"login":"izerui","id":1773233,"avatar_url":"https://avatars.githubusercontent.com/u/1773233?v=3","gravatar_id":"","url":"https://api.github.com/users/izerui","html_url":"https://github.com/izerui","followers_url":"https://api.github.com/users/izerui/followers","following_url":"https://api.github.com/users/izerui/following{/other_user}","gists_url":"https://api.github.com/users/izerui/gists{/gist_id}","starred_url":"https://api.github.com/users/izerui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izerui/subscriptions","organizations_url":"https://api.github.com/users/izerui/orgs","repos_url":"https://api.github.com/users/izerui/repos","events_url":"https://api.github.com/users/izerui/events{/privacy}","received_events_url":"https://api.github.com/users/izerui/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/izerui/cas","description":"Apereo CAS - Enterprise Single Sign On for all","fork":true,"url":"https://api.github.com/repos/izerui/cas","forks_url":"https://api.github.com/repos/izerui/cas/forks","keys_url":"https://api.github.com/repos/izerui/cas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/izerui/cas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/izerui/cas/teams","hooks_url":"https://api.github.com/repos/izerui/cas/hooks","issue_events_url":"https://api.github.com/repos/izerui/cas/issues/events{/number}","events_url":"https://api.github.com/repos/izerui/cas/events","assignees_url":"https://api.github.com/repos/izerui/cas/assignees{/user}","branches_url":"https://api.github.com/repos/izerui/cas/branches{/branch}","tags_url":"https://api.github.com/repos/izerui/cas/tags","blobs_url":"https://api.github.com/repos/izerui/cas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/izerui/cas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/izerui/cas/git/refs{/sha}","trees_url":"https://api.github.com/repos/izerui/cas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/izerui/cas/statuses/{sha}","languages_url":"https://api.github.com/repos/izerui/cas/languages","stargazers_url":"https://api.github.com/repos/izerui/cas/stargazers","contributors_url":"https://api.github.com/repos/izerui/cas/contributors","subscribers_url":"https://api.github.com/repos/izerui/cas/subscribers","subscription_url":"https://api.github.com/repos/izerui/cas/subscription","commits_url":"https://api.github.com/repos/izerui/cas/commits{/sha}","git_commits_url":"https://api.github.com/repos/izerui/cas/git/commits{/sha}","comments_url":"https://api.github.com/repos/izerui/cas/comments{/number}","issue_comment_url":"https://api.github.com/repos/izerui/cas/issues/comments{/number}","contents_url":"https://api.github.com/repos/izerui/cas/contents/{+path}","compare_url":"https://api.github.com/repos/izerui/cas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/izerui/cas/merges","archive_url":"https://api.github.com/repos/izerui/cas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/izerui/cas/downloads","issues_url":"https://api.github.com/repos/izerui/cas/issues{/number}","pulls_url":"https://api.github.com/repos/izerui/cas/pulls{/number}","milestones_url":"https://api.github.com/repos/izerui/cas/milestones{/number}","notifications_url":"https://api.github.com/repos/izerui/cas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/izerui/cas/labels{/name}","releases_url":"https://api.github.com/repos/izerui/cas/releases{/id}","deployments_url":"https://api.github.com/repos/izerui/cas/deployments","created_at":"2016-08-13T02:17:01Z","updated_at":"2016-08-13T02:17:18Z","pushed_at":"2016-08-24T15:10:26Z","git_url":"git://github.com/izerui/cas.git","ssh_url":"git@github.com:izerui/cas.git","clone_url":"https://github.com/izerui/cas.git","svn_url":"https://github.com/izerui/cas","homepage":"https://apereo.github.io/cas/","size":1241045,"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":"dac6686962406e3ea7d2a0638ffe0435edd91d9b","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-08-24T09:44:02Z","pushed_at":"2016-08-24T15:10:27Z","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":1274465,"stargazers_count":1686,"watchers_count":1686,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1142,"mirror_url":null,"open_issues_count":21,"forks":1142,"open_issues":21,"watchers":1686,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apereo/cas/pulls/1968"},"html":{"href":"https://github.com/apereo/cas/pull/1968"},"issue":{"href":"https://api.github.com/repos/apereo/cas/issues/1968"},"comments":{"href":"https://api.github.com/repos/apereo/cas/issues/1968/comments"},"review_comments":{"href":"https://api.github.com/repos/apereo/cas/pulls/1968/comments"},"review_comment":{"href":"https://api.github.com/repos/apereo/cas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apereo/cas/pulls/1968/commits"},"statuses":{"href":"https://api.github.com/repos/apereo/cas/statuses/fe0a6109080fac47a5855defb5e05c91a00a760f"}}}}
{"actor":{"display_login":"codacy-bot"}}