{"action":"created","comment":{"url":"https://api.github.com/repos/apereo/cas/pulls/comments/198352816","pull_request_review_id":132269320,"id":198352816,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODM1MjgxNg==","diff_hunk":"@@ -0,0 +1,62 @@\n+package org.apereo.cas.couchdb;\n+\n+import org.apereo.cas.authentication.OneTimeTokenAccount;\n+\n+import com.fasterxml.jackson.annotation.JsonCreator;\n+import com.fasterxml.jackson.annotation.JsonProperty;\n+import lombok.Getter;\n+import lombok.Setter;\n+\n+import java.time.ZonedDateTime;\n+import java.util.List;\n+\n+/**\n+ * This is {@link CouchDbOneTimeTokenAccount}.\n+ *\n+ * @author Timur Duehr\n+ * @since 5.3.0\n+ */\n+@Getter\n+@Setter\n+public class CouchDbOneTimeTokenAccount extends OneTimeTokenAccount {\n+\n+    private static final long serialVersionUID = -4286976777933886751L;\n+\n+    private String cid;\n+\n+    private String rev;\n+\n+    @JsonCreator\n+    public CouchDbOneTimeTokenAccount(@JsonProperty(\"_id\") final String cid, //NOPMD\n+                                      @JsonProperty(\"_rev\") final String rev,\n+                                      @JsonProperty(\"id\") final long id,","path":"support/cas-server-support-gauth-couchdb/src/main/java/org/apereo/cas/couchdb/CouchDbOneTimeTokenAccount.java","position":32,"original_position":32,"commit_id":"7d42cdbaa0219ce1351a4224a84b332f139bab27","original_commit_id":"7d42cdbaa0219ce1351a4224a84b332f139bab27","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","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://app.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused constructor parameters such as 'id'.](https://app.codacy.com/app/ApereoCAS/cas/pullRequest?prid=1757656)","created_at":"2018-06-27T02:49:36Z","updated_at":"2018-06-27T02:49:36Z","html_url":"https://github.com/apereo/cas/pull/3357#discussion_r198352816","pull_request_url":"https://api.github.com/repos/apereo/cas/pulls/3357","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/apereo/cas/pulls/comments/198352816"},"html":{"href":"https://github.com/apereo/cas/pull/3357#discussion_r198352816"},"pull_request":{"href":"https://api.github.com/repos/apereo/cas/pulls/3357"}}},"pull_request":{"url":"https://api.github.com/repos/apereo/cas/pulls/3357","id":193723132,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNzIzMTMy","html_url":"https://github.com/apereo/cas/pull/3357","diff_url":"https://github.com/apereo/cas/pull/3357.diff","patch_url":"https://github.com/apereo/cas/pull/3357.patch","issue_url":"https://api.github.com/repos/apereo/cas/issues/3357","number":3357,"state":"open","locked":false,"title":"[WIP] Couchdb support for everything","user":{"login":"tduehr","id":37545,"node_id":"MDQ6VXNlcjM3NTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/37545?v=4","gravatar_id":"","url":"https://api.github.com/users/tduehr","html_url":"https://github.com/tduehr","followers_url":"https://api.github.com/users/tduehr/followers","following_url":"https://api.github.com/users/tduehr/following{/other_user}","gists_url":"https://api.github.com/users/tduehr/gists{/gist_id}","starred_url":"https://api.github.com/users/tduehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tduehr/subscriptions","organizations_url":"https://api.github.com/users/tduehr/orgs","repos_url":"https://api.github.com/users/tduehr/repos","events_url":"https://api.github.com/users/tduehr/events{/privacy}","received_events_url":"https://api.github.com/users/tduehr/received_events","type":"User","site_admin":false},"body":"Add support for couchDb as a data backend for AUP, consent, gauth, etc..","created_at":"2018-06-08T21:05:28Z","updated_at":"2018-06-27T02:49:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b93fc64daefe81daa8cf28310c3f4e89ad45626","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":945468372,"node_id":"MDU6TGFiZWw5NDU0NjgzNzI=","url":"https://api.github.com/repos/apereo/cas/labels/CouchDb","name":"CouchDb","color":"1d76db","default":false},{"id":114069495,"node_id":"MDU6TGFiZWwxMTQwNjk0OTU=","url":"https://api.github.com/repos/apereo/cas/labels/New%20Feature","name":"New Feature","color":"42f4a1","default":false}],"milestone":{"url":"https://api.github.com/repos/apereo/cas/milestones/89","html_url":"https://github.com/apereo/cas/milestone/89","labels_url":"https://api.github.com/repos/apereo/cas/milestones/89/labels","id":3442970,"node_id":"MDk6TWlsZXN0b25lMzQ0Mjk3MA==","number":89,"title":"6.0.0-RC1","description":"CAS Major Release - Release Candidate","creator":{"login":"mmoayyed","id":1205228,"node_id":"MDQ6VXNlcjEyMDUyMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1205228?v=4","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":3,"closed_issues":0,"state":"open","created_at":"2018-06-21T19:27:48Z","updated_at":"2018-06-21T20:11:28Z","due_on":"2018-08-03T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/apereo/cas/pulls/3357/commits","review_comments_url":"https://api.github.com/repos/apereo/cas/pulls/3357/comments","review_comment_url":"https://api.github.com/repos/apereo/cas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apereo/cas/issues/3357/comments","statuses_url":"https://api.github.com/repos/apereo/cas/statuses/7d42cdbaa0219ce1351a4224a84b332f139bab27","head":{"label":"tduehr:couchdb","ref":"couchdb","sha":"7d42cdbaa0219ce1351a4224a84b332f139bab27","user":{"login":"tduehr","id":37545,"node_id":"MDQ6VXNlcjM3NTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/37545?v=4","gravatar_id":"","url":"https://api.github.com/users/tduehr","html_url":"https://github.com/tduehr","followers_url":"https://api.github.com/users/tduehr/followers","following_url":"https://api.github.com/users/tduehr/following{/other_user}","gists_url":"https://api.github.com/users/tduehr/gists{/gist_id}","starred_url":"https://api.github.com/users/tduehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tduehr/subscriptions","organizations_url":"https://api.github.com/users/tduehr/orgs","repos_url":"https://api.github.com/users/tduehr/repos","events_url":"https://api.github.com/users/tduehr/events{/privacy}","received_events_url":"https://api.github.com/users/tduehr/received_events","type":"User","site_admin":false},"repo":{"id":41937159,"node_id":"MDEwOlJlcG9zaXRvcnk0MTkzNzE1OQ==","name":"cas","full_name":"tduehr/cas","owner":{"login":"tduehr","id":37545,"node_id":"MDQ6VXNlcjM3NTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/37545?v=4","gravatar_id":"","url":"https://api.github.com/users/tduehr","html_url":"https://github.com/tduehr","followers_url":"https://api.github.com/users/tduehr/followers","following_url":"https://api.github.com/users/tduehr/following{/other_user}","gists_url":"https://api.github.com/users/tduehr/gists{/gist_id}","starred_url":"https://api.github.com/users/tduehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tduehr/subscriptions","organizations_url":"https://api.github.com/users/tduehr/orgs","repos_url":"https://api.github.com/users/tduehr/repos","events_url":"https://api.github.com/users/tduehr/events{/privacy}","received_events_url":"https://api.github.com/users/tduehr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tduehr/cas","description":"Apereo CAS - Single Sign On for the Web","fork":true,"url":"https://api.github.com/repos/tduehr/cas","forks_url":"https://api.github.com/repos/tduehr/cas/forks","keys_url":"https://api.github.com/repos/tduehr/cas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tduehr/cas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tduehr/cas/teams","hooks_url":"https://api.github.com/repos/tduehr/cas/hooks","issue_events_url":"https://api.github.com/repos/tduehr/cas/issues/events{/number}","events_url":"https://api.github.com/repos/tduehr/cas/events","assignees_url":"https://api.github.com/repos/tduehr/cas/assignees{/user}","branches_url":"https://api.github.com/repos/tduehr/cas/branches{/branch}","tags_url":"https://api.github.com/repos/tduehr/cas/tags","blobs_url":"https://api.github.com/repos/tduehr/cas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tduehr/cas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tduehr/cas/git/refs{/sha}","trees_url":"https://api.github.com/repos/tduehr/cas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tduehr/cas/statuses/{sha}","languages_url":"https://api.github.com/repos/tduehr/cas/languages","stargazers_url":"https://api.github.com/repos/tduehr/cas/stargazers","contributors_url":"https://api.github.com/repos/tduehr/cas/contributors","subscribers_url":"https://api.github.com/repos/tduehr/cas/subscribers","subscription_url":"https://api.github.com/repos/tduehr/cas/subscription","commits_url":"https://api.github.com/repos/tduehr/cas/commits{/sha}","git_commits_url":"https://api.github.com/repos/tduehr/cas/git/commits{/sha}","comments_url":"https://api.github.com/repos/tduehr/cas/comments{/number}","issue_comment_url":"https://api.github.com/repos/tduehr/cas/issues/comments{/number}","contents_url":"https://api.github.com/repos/tduehr/cas/contents/{+path}","compare_url":"https://api.github.com/repos/tduehr/cas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tduehr/cas/merges","archive_url":"https://api.github.com/repos/tduehr/cas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tduehr/cas/downloads","issues_url":"https://api.github.com/repos/tduehr/cas/issues{/number}","pulls_url":"https://api.github.com/repos/tduehr/cas/pulls{/number}","milestones_url":"https://api.github.com/repos/tduehr/cas/milestones{/number}","notifications_url":"https://api.github.com/repos/tduehr/cas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tduehr/cas/labels{/name}","releases_url":"https://api.github.com/repos/tduehr/cas/releases{/id}","deployments_url":"https://api.github.com/repos/tduehr/cas/deployments","created_at":"2015-09-04T20:49:34Z","updated_at":"2018-06-21T20:31:25Z","pushed_at":"2018-06-27T02:40:15Z","git_url":"git://github.com/tduehr/cas.git","ssh_url":"git@github.com:tduehr/cas.git","clone_url":"https://github.com/tduehr/cas.git","svn_url":"https://github.com/tduehr/cas","homepage":"http://apereo.github.io/cas/","size":593992,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apereo:master","ref":"master","sha":"d7c3313e066c960edb60d4836cb4e50e6a8d8fca","user":{"login":"apereo","id":4679233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NzkyMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/4679233?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyMzUyNzQ0","name":"cas","full_name":"apereo/cas","owner":{"login":"apereo","id":4679233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NzkyMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/4679233?v=4","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 earthlings and beyond.","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":"2018-06-27T01:37:02Z","pushed_at":"2018-06-27T02:40:19Z","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":1369086,"stargazers_count":4317,"watchers_count":4317,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2181,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2181,"open_issues":5,"watchers":4317,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apereo/cas/pulls/3357"},"html":{"href":"https://github.com/apereo/cas/pull/3357"},"issue":{"href":"https://api.github.com/repos/apereo/cas/issues/3357"},"comments":{"href":"https://api.github.com/repos/apereo/cas/issues/3357/comments"},"review_comments":{"href":"https://api.github.com/repos/apereo/cas/pulls/3357/comments"},"review_comment":{"href":"https://api.github.com/repos/apereo/cas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apereo/cas/pulls/3357/commits"},"statuses":{"href":"https://api.github.com/repos/apereo/cas/statuses/7d42cdbaa0219ce1351a4224a84b332f139bab27"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}