diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java
index c46d7dd4f2..bb88d9f6d7 100644
--- a/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java
+++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java
@@ -24,6 +24,7 @@
package org.kohsuke.github;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.kohsuke.github.internal.EnumUtils;
import java.io.IOException;
import java.net.URL;
@@ -43,16 +44,27 @@
public class GHPullRequestReviewComment extends GHObject implements Reactable {
GHPullRequest owner;
+ private Long pull_request_review_id = -1L;
private String body;
private GHUser user;
private String path;
private String html_url;
+ private String pull_request_url;
private int position = -1;
private int original_position = -1;
private long in_reply_to_id = -1L;
+ private Integer start_line = -1;
+ private Integer original_start_line = -1;
+ private String start_side;
+ private int line = -1;
+ private int original_line = -1;
+ private String side;
private String diff_hunk;
private String commit_id;
private String original_commit_id;
+ private String body_html;
+ private String body_text;
+ private GHPullRequestReviewCommentReactions reactions;
private GHCommentAuthorAssociation author_association;
/**
@@ -212,6 +224,115 @@ protected String getApiRoute(boolean includePullNumber) {
+ (includePullNumber ? "/" + owner.getNumber() : "") + "/comments/" + getId();
}
+ /**
+ * Gets The first line of the range for a multi-line comment.
+ *
+ * @return the start line
+ */
+ public int getStartLine() {
+ return start_line != null ? start_line : -1;
+ }
+
+ /**
+ * Gets The first line of the range for a multi-line comment.
+ *
+ * @return the original start line
+ */
+ public int getOriginalStartLine() {
+ return original_start_line != null ? original_start_line : -1;
+ }
+
+ /**
+ * Gets The side of the first line of the range for a multi-line comment.
+ *
+ * @return {@link Side} the side of the first line
+ */
+ public Side getStartSide() {
+ return Side.from(start_side);
+ }
+
+ /**
+ * Gets The line of the blob to which the comment applies. The last line of the range for a multi-line comment.
+ *
+ * @return the line to which the comment applies
+ */
+ public int getLine() {
+ return line;
+ }
+
+ /**
+ * Gets The line of the blob to which the comment applies. The last line of the range for a multi-line comment.
+ *
+ * @return the line to which the comment applies
+ */
+ public int getOriginalLine() {
+ return original_line;
+ }
+
+ /**
+ * Gets The side of the diff to which the comment applies. The side of the last line of the range for a multi-line
+ * comment
+ *
+ * @return {@link Side} the side if the diff to which the comment applies
+ */
+ public Side getSide() {
+ return Side.from(side);
+ }
+
+ /**
+ * Gets The ID of the pull request review to which the comment belongs.
+ *
+ * @return {@link Long} the ID of the pull request review
+ */
+ public Long getPullRequestReviewId() {
+ return pull_request_review_id != null ? pull_request_review_id : -1;
+ }
+
+ /**
+ * Gets URL for the pull request that the review comment belongs to.
+ *
+ * @return {@link URL} the URL of the pull request
+ */
+ public URL getPullRequestUrl() {
+ return GitHubClient.parseURL(pull_request_url);
+ }
+
+ /**
+ * Gets The body in html format.
+ *
+ * @return {@link String} the body in html format
+ */
+ public String getBodyHtml() {
+ return body_html;
+ }
+
+ /**
+ * Gets The body text.
+ *
+ * @return {@link String} the body text
+ */
+ public String getBodyText() {
+ return body_text;
+ }
+
+ /**
+ * Gets the Reaction Rollup
+ *
+ * @return {@link GHPullRequestReviewCommentReactions} the reaction rollup
+ */
+ public GHPullRequestReviewCommentReactions getReactions() {
+ return reactions;
+ }
+
+ public static enum Side {
+ RIGHT, LEFT, UNKNOWN;
+
+ public static Side from(String value) {
+ return EnumUtils.getEnumOrDefault(Side.class, value, Side.UNKNOWN);
+ }
+
+ }
+
/**
* Updates the comment.
*
diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewCommentReactions.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewCommentReactions.java
new file mode 100644
index 0000000000..bd90cec869
--- /dev/null
+++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewCommentReactions.java
@@ -0,0 +1,120 @@
+package org.kohsuke.github;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import java.net.URL;
+
+/**
+ * Reactions for a Pull Request Review comment.
+ *
+ * @author Vasilis Gakias
+ * @see API
+ * documentation in the response schema
+ * @see GHPullRequestReviewComment
+ */
+public class GHPullRequestReviewCommentReactions {
+
+ private String url;
+
+ private int total_count = -1;
+ @JsonProperty("+1")
+ private int plus_one = -1;
+ @JsonProperty("-1")
+ private int minus_one = -1;
+ private int laugh = -1;
+ private int confused = -1;
+ private int heart = -1;
+ private int hooray = -1;
+ private int eyes = -1;
+ private int rocket = -1;
+
+ /**
+ * Gets the URL of the comment's reactions
+ *
+ * @return the URL of the comment's reactions
+ */
+ public URL getUrl() {
+ return GitHubClient.parseURL(url);
+ }
+
+ /**
+ * Gets the total count of reactions
+ *
+ * @return the number of total reactions
+ */
+ public int getTotalCount() {
+ return total_count;
+ }
+
+ /**
+ * Gets the number of +1 reactions
+ *
+ * @return the number of +1 reactions
+ */
+ public int getPlusOne() {
+ return plus_one;
+ }
+
+ /**
+ * Gets the number of -1 reactions
+ *
+ * @return the number of -1 reactions
+ */
+ public int getMinusOne() {
+ return minus_one;
+ }
+
+ /**
+ * Gets the number of laugh reactions
+ *
+ * @return the number of laugh reactions
+ */
+ public int getLaugh() {
+ return laugh;
+ }
+
+ /**
+ * Gets the number of confused reactions
+ *
+ * @return the number of confused reactions
+ */
+ public int getConfused() {
+ return confused;
+ }
+
+ /**
+ * Gets the number of heart reactions
+ *
+ * @return the number of heart reactions
+ */
+ public int getHeart() {
+ return heart;
+ }
+
+ /**
+ * Gets the number of hooray reactions
+ *
+ * @return the number of hooray reactions
+ */
+ public int getHooray() {
+ return hooray;
+ }
+
+ /**
+ * Gets the number of eyes reactions
+ *
+ * @return the number of eyes reactions
+ */
+ public int getEyes() {
+ return eyes;
+ }
+
+ /**
+ * Gets the number of rocket reactions
+ *
+ * @return the number of rocket reactions
+ */
+ public int getRocket() {
+ return rocket;
+ }
+}
diff --git a/src/test/java/org/kohsuke/github/GHPullRequestTest.java b/src/test/java/org/kohsuke/github/GHPullRequestTest.java
index 4c6ae3d491..3295a5ade1 100644
--- a/src/test/java/org/kohsuke/github/GHPullRequestTest.java
+++ b/src/test/java/org/kohsuke/github/GHPullRequestTest.java
@@ -136,24 +136,59 @@ public void pullRequestReviewComments() throws Exception {
assertThat(comment.getOriginalCommitId(), equalTo("07374fe73aff1c2024a8d4114b32406c7a8e89b7"));
assertThat(comment.getAuthorAssociation(), equalTo(GHCommentAuthorAssociation.MEMBER));
assertThat(comment.getUser(), notNullValue());
+ assertThat(comment.getStartLine(), equalTo(-1));
+ assertThat(comment.getOriginalStartLine(), equalTo(-1));
+ assertThat(comment.getStartSide(), equalTo(GHPullRequestReviewComment.Side.UNKNOWN));
+ assertThat(comment.getLine(), equalTo(1));
+ assertThat(comment.getOriginalLine(), equalTo(1));
+ assertThat(comment.getSide(), equalTo(GHPullRequestReviewComment.Side.LEFT));
+ assertThat(comment.getPullRequestUrl(), notNullValue());
+ assertThat(comment.getPullRequestUrl().toString(), containsString("hub4j-test-org/github-api/pulls/"));
+ assertThat(comment.getBodyHtml(), nullValue());
+ assertThat(comment.getBodyText(), nullValue());
// Assert htmlUrl is not null
assertThat(comment.getHtmlUrl(), notNullValue());
assertThat(comment.getHtmlUrl().toString(),
containsString("hub4j-test-org/github-api/pull/" + p.getNumber()));
+ comment.createReaction(ReactionContent.EYES);
+ GHReaction toBeRemoved = comment.createReaction(ReactionContent.CONFUSED);
+ comment.createReaction(ReactionContent.ROCKET);
+ comment.createReaction(ReactionContent.HOORAY);
+ comment.createReaction(ReactionContent.HEART);
+ comment.createReaction(ReactionContent.MINUS_ONE);
+ comment.createReaction(ReactionContent.PLUS_ONE);
+ comment.createReaction(ReactionContent.LAUGH);
+ GHPullRequestReviewCommentReactions commentReactions = p.listReviewComments()
+ .toList()
+ .get(0)
+ .getReactions();
+ assertThat(commentReactions.getUrl().toString(), equalTo(comment.getUrl().toString().concat("/reactions")));
+ assertThat(commentReactions.getTotalCount(), equalTo(8));
+ assertThat(commentReactions.getPlusOne(), equalTo(1));
+ assertThat(commentReactions.getMinusOne(), equalTo(1));
+ assertThat(commentReactions.getLaugh(), equalTo(1));
+ assertThat(commentReactions.getHooray(), equalTo(1));
+ assertThat(commentReactions.getConfused(), equalTo(1));
+ assertThat(commentReactions.getHeart(), equalTo(1));
+ assertThat(commentReactions.getRocket(), equalTo(1));
+ assertThat(commentReactions.getEyes(), equalTo(1));
+
+ comment.deleteReaction(toBeRemoved);
+
List reactions = comment.listReactions().toList();
- assertThat(reactions, is(empty()));
+ assertThat(reactions.size(), equalTo(7));
GHReaction reaction = comment.createReaction(ReactionContent.CONFUSED);
assertThat(reaction.getContent(), equalTo(ReactionContent.CONFUSED));
reactions = comment.listReactions().toList();
- assertThat(reactions.size(), equalTo(1));
+ assertThat(reactions.size(), equalTo(8));
comment.deleteReaction(reaction);
reactions = comment.listReactions().toList();
- assertThat(reactions.size(), equalTo(0));
+ assertThat(reactions.size(), equalTo(7));
GHPullRequestReviewComment reply = comment.reply("This is a reply.");
assertThat(reply.getInReplyToId(), equalTo(comment.getId()));
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-2.json
similarity index 94%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-1.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-2.json
index 162ceb1c73..628aa16924 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-1.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-2.json
@@ -20,7 +20,7 @@
"is_verified": false,
"has_organization_projects": true,
"has_repository_projects": true,
- "public_repos": 49,
+ "public_repos": 50,
"public_gists": 0,
"followers": 0,
"following": 0,
@@ -28,10 +28,10 @@
"created_at": "2014-05-10T19:39:11Z",
"updated_at": "2020-06-04T05:56:10Z",
"type": "Organization",
- "total_private_repos": 3,
- "owned_private_repos": 3,
+ "total_private_repos": 4,
+ "owned_private_repos": 4,
"private_gists": 0,
- "disk_usage": 11979,
+ "disk_usage": 11980,
"collaborators": 0,
"billing_email": "kk@kohsuke.org",
"default_repository_permission": "none",
@@ -49,7 +49,7 @@
"name": "free",
"space": 976562499,
"private_repos": 10000,
- "filled_seats": 35,
+ "filled_seats": 38,
"seats": 3
}
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json
similarity index 95%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-2.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json
index 7451fc9078..984cd328d8 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-2.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json
@@ -65,16 +65,16 @@
"releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
"created_at": "2019-09-06T23:26:04Z",
- "updated_at": "2021-11-09T20:13:29Z",
- "pushed_at": "2022-03-04T11:02:08Z",
+ "updated_at": "2022-05-23T14:23:52Z",
+ "pushed_at": "2022-06-19T20:04:07Z",
"git_url": "git://github.com/hub4j-test-org/github-api.git",
"ssh_url": "git@github.com:hub4j-test-org/github-api.git",
"clone_url": "https://github.com/hub4j-test-org/github-api.git",
"svn_url": "https://github.com/hub4j-test-org/github-api",
"homepage": "http://github-api.kohsuke.org/",
"size": 19045,
- "stargazers_count": 0,
- "watchers_count": 0,
+ "stargazers_count": 1,
+ "watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
@@ -99,7 +99,7 @@
"visibility": "public",
"forks": 0,
"open_issues": 7,
- "watchers": 0,
+ "watchers": 1,
"default_branch": "main",
"permissions": {
"admin": true,
@@ -115,6 +115,7 @@
"allow_auto_merge": false,
"delete_branch_on_merge": false,
"allow_update_branch": false,
+ "use_squash_pr_title_as_default": false,
"organization": {
"login": "hub4j-test-org",
"id": 7544739,
@@ -202,27 +203,27 @@
"releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments",
"created_at": "2010-04-19T04:13:03Z",
- "updated_at": "2022-04-05T15:53:55Z",
- "pushed_at": "2022-04-09T10:25:56Z",
+ "updated_at": "2022-06-21T16:37:05Z",
+ "pushed_at": "2022-06-21T07:07:41Z",
"git_url": "git://github.com/hub4j/github-api.git",
"ssh_url": "git@github.com:hub4j/github-api.git",
"clone_url": "https://github.com/hub4j/github-api.git",
"svn_url": "https://github.com/hub4j/github-api",
"homepage": "https://github-api.kohsuke.org/",
- "size": 39875,
- "stargazers_count": 878,
- "watchers_count": 878,
+ "size": 40107,
+ "stargazers_count": 907,
+ "watchers_count": 907,
"language": "Java",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
- "forks_count": 601,
+ "forks_count": 618,
"mirror_url": null,
"archived": false,
"disabled": false,
- "open_issues_count": 100,
+ "open_issues_count": 107,
"license": {
"key": "mit",
"name": "MIT License",
@@ -242,9 +243,9 @@
"java-api"
],
"visibility": "public",
- "forks": 601,
- "open_issues": 100,
- "watchers": 878,
+ "forks": 618,
+ "open_issues": 107,
+ "watchers": 907,
"default_branch": "main"
},
"source": {
@@ -314,27 +315,27 @@
"releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments",
"created_at": "2010-04-19T04:13:03Z",
- "updated_at": "2022-04-05T15:53:55Z",
- "pushed_at": "2022-04-09T10:25:56Z",
+ "updated_at": "2022-06-21T16:37:05Z",
+ "pushed_at": "2022-06-21T07:07:41Z",
"git_url": "git://github.com/hub4j/github-api.git",
"ssh_url": "git@github.com:hub4j/github-api.git",
"clone_url": "https://github.com/hub4j/github-api.git",
"svn_url": "https://github.com/hub4j/github-api",
"homepage": "https://github-api.kohsuke.org/",
- "size": 39875,
- "stargazers_count": 878,
- "watchers_count": 878,
+ "size": 40107,
+ "stargazers_count": 907,
+ "watchers_count": 907,
"language": "Java",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
- "forks_count": 601,
+ "forks_count": 618,
"mirror_url": null,
"archived": false,
"disabled": false,
- "open_issues_count": 100,
+ "open_issues_count": 107,
"license": {
"key": "mit",
"name": "MIT License",
@@ -354,11 +355,11 @@
"java-api"
],
"visibility": "public",
- "forks": 601,
- "open_issues": 100,
- "watchers": 878,
+ "forks": 618,
+ "open_issues": 107,
+ "watchers": 907,
"default_branch": "main"
},
- "network_count": 601,
+ "network_count": 618,
"subscribers_count": 1
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json
similarity index 91%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-3.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json
index c718c1e64d..16dfde43be 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-3.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json
@@ -1,38 +1,38 @@
{
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "id": 904870051,
- "node_id": "PR_kwDODFTdCc417zij",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450",
- "diff_url": "https://github.com/hub4j-test-org/github-api/pull/450.diff",
- "patch_url": "https://github.com/hub4j-test-org/github-api/pull/450.patch",
- "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450",
- "number": 450,
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "id": 973840601,
+ "node_id": "PR_kwDODFTdCc46C6DZ",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456",
+ "diff_url": "https://github.com/hub4j-test-org/github-api/pull/456.diff",
+ "patch_url": "https://github.com/hub4j-test-org/github-api/pull/456.patch",
+ "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456",
+ "number": 456,
"state": "open",
"locked": false,
"title": "pullRequestReviewComments",
"user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
"gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
"type": "User",
"site_admin": false
},
"body": "## test",
- "created_at": "2022-04-09T12:15:11Z",
- "updated_at": "2022-04-09T12:15:11Z",
+ "created_at": "2022-06-21T17:18:17Z",
+ "updated_at": "2022-06-21T17:18:17Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": null,
@@ -43,10 +43,10 @@
"labels": [],
"milestone": null,
"draft": false,
- "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/commits",
- "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/commits",
+ "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/comments",
"review_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}",
- "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450/comments",
+ "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456/comments",
"statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7",
"head": {
"label": "hub4j-test-org:test/stable",
@@ -139,16 +139,16 @@
"releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
"created_at": "2019-09-06T23:26:04Z",
- "updated_at": "2021-11-09T20:13:29Z",
- "pushed_at": "2022-03-04T11:02:08Z",
+ "updated_at": "2022-05-23T14:23:52Z",
+ "pushed_at": "2022-06-19T20:04:07Z",
"git_url": "git://github.com/hub4j-test-org/github-api.git",
"ssh_url": "git@github.com:hub4j-test-org/github-api.git",
"clone_url": "https://github.com/hub4j-test-org/github-api.git",
"svn_url": "https://github.com/hub4j-test-org/github-api",
"homepage": "http://github-api.kohsuke.org/",
"size": 19045,
- "stargazers_count": 0,
- "watchers_count": 0,
+ "stargazers_count": 1,
+ "watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
@@ -173,7 +173,7 @@
"visibility": "public",
"forks": 0,
"open_issues": 8,
- "watchers": 0,
+ "watchers": 1,
"default_branch": "main"
}
},
@@ -268,16 +268,16 @@
"releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
"created_at": "2019-09-06T23:26:04Z",
- "updated_at": "2021-11-09T20:13:29Z",
- "pushed_at": "2022-03-04T11:02:08Z",
+ "updated_at": "2022-05-23T14:23:52Z",
+ "pushed_at": "2022-06-19T20:04:07Z",
"git_url": "git://github.com/hub4j-test-org/github-api.git",
"ssh_url": "git@github.com:hub4j-test-org/github-api.git",
"clone_url": "https://github.com/hub4j-test-org/github-api.git",
"svn_url": "https://github.com/hub4j-test-org/github-api",
"homepage": "http://github-api.kohsuke.org/",
"size": 19045,
- "stargazers_count": 0,
- "watchers_count": 0,
+ "stargazers_count": 1,
+ "watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
@@ -302,31 +302,31 @@
"visibility": "public",
"forks": 0,
"open_issues": 8,
- "watchers": 0,
+ "watchers": 1,
"default_branch": "main"
}
},
"_links": {
"self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
},
"html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450"
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456"
},
"issue": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456"
},
"comments": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450/comments"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456/comments"
},
"review_comments": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/comments"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}"
},
"commits": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/commits"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/commits"
},
"statuses": {
"href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7"
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-14.json
deleted file mode 100644
index 4cda5a84e8..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-14.json
+++ /dev/null
@@ -1,137 +0,0 @@
-[
- {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633",
- "pull_request_review_id": 937124048,
- "id": 846624633,
- "node_id": "PRRC_kwDODFTdCc4ydnd5",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Sample review comment",
- "created_at": "2022-04-09T12:15:13Z",
- "updated_at": "2022-04-09T12:15:13Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT"
- },
- {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637",
- "pull_request_review_id": 937124051,
- "id": 846624637,
- "node_id": "PRRC_kwDODFTdCc4ydnd9",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "This is a reply.",
- "created_at": "2022-04-09T12:15:15Z",
- "updated_at": "2022-04-09T12:15:15Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT",
- "in_reply_to_id": 846624633
- }
-]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-16.json
deleted file mode 100644
index 7bdf214904..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-16.json
+++ /dev/null
@@ -1,137 +0,0 @@
-[
- {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633",
- "pull_request_review_id": 937124048,
- "id": 846624633,
- "node_id": "PRRC_kwDODFTdCc4ydnd5",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Updated review comment",
- "created_at": "2022-04-09T12:15:13Z",
- "updated_at": "2022-04-09T12:15:16Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT"
- },
- {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637",
- "pull_request_review_id": 937124051,
- "id": 846624637,
- "node_id": "PRRC_kwDODFTdCc4ydnd9",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "This is a reply.",
- "created_at": "2022-04-09T12:15:15Z",
- "updated_at": "2022-04-09T12:15:15Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT",
- "in_reply_to_id": 846624633
- }
-]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-18.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-18.json
deleted file mode 100644
index 790346e225..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-18.json
+++ /dev/null
@@ -1,69 +0,0 @@
-[
- {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637",
- "pull_request_review_id": 937124051,
- "id": 846624637,
- "node_id": "PRRC_kwDODFTdCc4ydnd9",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "This is a reply.",
- "created_at": "2022-04-09T12:15:15Z",
- "updated_at": "2022-04-09T12:15:15Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT"
- }
-]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-5.json
deleted file mode 100644
index ceb0c285e0..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-5.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633",
- "pull_request_review_id": 937124048,
- "id": 846624633,
- "node_id": "PRRC_kwDODFTdCc4ydnd5",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Sample review comment",
- "created_at": "2022-04-09T12:15:13Z",
- "updated_at": "2022-04-09T12:15:13Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT"
-}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-6.json
deleted file mode 100644
index 1800a49e08..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments-6.json
+++ /dev/null
@@ -1,69 +0,0 @@
-[
- {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633",
- "pull_request_review_id": 937124048,
- "id": 846624633,
- "node_id": "PRRC_kwDODFTdCc4ydnd5",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Sample review comment",
- "created_at": "2022-04-09T12:15:13Z",
- "updated_at": "2022-04-09T12:15:13Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT"
- }
-]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies-13.json
deleted file mode 100644
index d3a084746f..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies-13.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637",
- "pull_request_review_id": 937124051,
- "id": 846624637,
- "node_id": "PRRC_kwDODFTdCc4ydnd9",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "This is a reply.",
- "created_at": "2022-04-09T12:15:15Z",
- "updated_at": "2022-04-09T12:15:15Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624637"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT",
- "in_reply_to_id": 846624633
-}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450-19.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456-30.json
similarity index 90%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450-19.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456-30.json
index 741972649d..2563ea499d 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_450-19.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456-30.json
@@ -1,41 +1,41 @@
{
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "id": 904870051,
- "node_id": "PR_kwDODFTdCc417zij",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450",
- "diff_url": "https://github.com/hub4j-test-org/github-api/pull/450.diff",
- "patch_url": "https://github.com/hub4j-test-org/github-api/pull/450.patch",
- "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450",
- "number": 450,
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "id": 973840601,
+ "node_id": "PR_kwDODFTdCc46C6DZ",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456",
+ "diff_url": "https://github.com/hub4j-test-org/github-api/pull/456.diff",
+ "patch_url": "https://github.com/hub4j-test-org/github-api/pull/456.patch",
+ "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456",
+ "number": 456,
"state": "closed",
"locked": false,
"title": "pullRequestReviewComments",
"user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
"gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
"type": "User",
"site_admin": false
},
"body": "## test",
- "created_at": "2022-04-09T12:15:11Z",
- "updated_at": "2022-04-09T12:15:18Z",
- "closed_at": "2022-04-09T12:15:18Z",
+ "created_at": "2022-06-21T17:18:17Z",
+ "updated_at": "2022-06-21T17:18:34Z",
+ "closed_at": "2022-06-21T17:18:34Z",
"merged_at": null,
- "merge_commit_sha": "1b4f92fc0c970eab91ebee6e8e63d51c657ecb83",
+ "merge_commit_sha": "f8afb2619503d0880cb3d4433fecf56066cdf2fa",
"assignee": null,
"assignees": [],
"requested_reviewers": [],
@@ -43,10 +43,10 @@
"labels": [],
"milestone": null,
"draft": false,
- "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/commits",
- "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/commits",
+ "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/comments",
"review_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}",
- "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450/comments",
+ "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456/comments",
"statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7",
"head": {
"label": "hub4j-test-org:test/stable",
@@ -139,16 +139,16 @@
"releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
"created_at": "2019-09-06T23:26:04Z",
- "updated_at": "2021-11-09T20:13:29Z",
- "pushed_at": "2022-04-09T12:15:12Z",
+ "updated_at": "2022-05-23T14:23:52Z",
+ "pushed_at": "2022-06-21T17:18:17Z",
"git_url": "git://github.com/hub4j-test-org/github-api.git",
"ssh_url": "git@github.com:hub4j-test-org/github-api.git",
"clone_url": "https://github.com/hub4j-test-org/github-api.git",
"svn_url": "https://github.com/hub4j-test-org/github-api",
"homepage": "http://github-api.kohsuke.org/",
"size": 19045,
- "stargazers_count": 0,
- "watchers_count": 0,
+ "stargazers_count": 1,
+ "watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
@@ -173,7 +173,7 @@
"visibility": "public",
"forks": 0,
"open_issues": 7,
- "watchers": 0,
+ "watchers": 1,
"default_branch": "main"
}
},
@@ -268,16 +268,16 @@
"releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
"created_at": "2019-09-06T23:26:04Z",
- "updated_at": "2021-11-09T20:13:29Z",
- "pushed_at": "2022-04-09T12:15:12Z",
+ "updated_at": "2022-05-23T14:23:52Z",
+ "pushed_at": "2022-06-21T17:18:17Z",
"git_url": "git://github.com/hub4j-test-org/github-api.git",
"ssh_url": "git@github.com:hub4j-test-org/github-api.git",
"clone_url": "https://github.com/hub4j-test-org/github-api.git",
"svn_url": "https://github.com/hub4j-test-org/github-api",
"homepage": "http://github-api.kohsuke.org/",
"size": 19045,
- "stargazers_count": 0,
- "watchers_count": 0,
+ "stargazers_count": 1,
+ "watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
@@ -302,31 +302,31 @@
"visibility": "public",
"forks": 0,
"open_issues": 7,
- "watchers": 0,
+ "watchers": 1,
"default_branch": "main"
}
},
"_links": {
"self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
},
"html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450"
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456"
},
"issue": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456"
},
"comments": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/450/comments"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456/comments"
},
"review_comments": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/comments"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}"
},
"commits": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450/commits"
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/commits"
},
"statuses": {
"href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7"
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-17.json
new file mode 100644
index 0000000000..16583d680f
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-17.json
@@ -0,0 +1,69 @@
+[
+ {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759",
+ "pull_request_review_id": 1013972442,
+ "id": 902875759,
+ "node_id": "PRRC_kwDODFTdCc410Mpv",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Sample review comment",
+ "created_at": "2022-06-21T17:18:19Z",
+ "updated_at": "2022-06-21T17:18:19Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "total_count": 8,
+ "+1": 1,
+ "-1": 1,
+ "laugh": 1,
+ "hooray": 1,
+ "confused": 1,
+ "heart": 1,
+ "rocket": 1,
+ "eyes": 1
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT"
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-25.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-25.json
new file mode 100644
index 0000000000..1e68cd8679
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-25.json
@@ -0,0 +1,137 @@
+[
+ {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759",
+ "pull_request_review_id": 1013972442,
+ "id": 902875759,
+ "node_id": "PRRC_kwDODFTdCc410Mpv",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Sample review comment",
+ "created_at": "2022-06-21T17:18:19Z",
+ "updated_at": "2022-06-21T17:18:19Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "total_count": 7,
+ "+1": 1,
+ "-1": 1,
+ "laugh": 1,
+ "hooray": 1,
+ "confused": 0,
+ "heart": 1,
+ "rocket": 1,
+ "eyes": 1
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT"
+ },
+ {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952",
+ "pull_request_review_id": 1013972708,
+ "id": 902875952,
+ "node_id": "PRRC_kwDODFTdCc410Msw",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is a reply.",
+ "created_at": "2022-06-21T17:18:30Z",
+ "updated_at": "2022-06-21T17:18:30Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions",
+ "total_count": 0,
+ "+1": 0,
+ "-1": 0,
+ "laugh": 0,
+ "hooray": 0,
+ "confused": 0,
+ "heart": 0,
+ "rocket": 0,
+ "eyes": 0
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT",
+ "in_reply_to_id": 902875759
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-27.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-27.json
new file mode 100644
index 0000000000..68abe05f1e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-27.json
@@ -0,0 +1,137 @@
+[
+ {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759",
+ "pull_request_review_id": 1013972442,
+ "id": 902875759,
+ "node_id": "PRRC_kwDODFTdCc410Mpv",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Updated review comment",
+ "created_at": "2022-06-21T17:18:19Z",
+ "updated_at": "2022-06-21T17:18:32Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "total_count": 7,
+ "+1": 1,
+ "-1": 1,
+ "laugh": 1,
+ "hooray": 1,
+ "confused": 0,
+ "heart": 1,
+ "rocket": 1,
+ "eyes": 1
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT"
+ },
+ {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952",
+ "pull_request_review_id": 1013972708,
+ "id": 902875952,
+ "node_id": "PRRC_kwDODFTdCc410Msw",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is a reply.",
+ "created_at": "2022-06-21T17:18:30Z",
+ "updated_at": "2022-06-21T17:18:30Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions",
+ "total_count": 0,
+ "+1": 0,
+ "-1": 0,
+ "laugh": 0,
+ "hooray": 0,
+ "confused": 0,
+ "heart": 0,
+ "rocket": 0,
+ "eyes": 0
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT",
+ "in_reply_to_id": 902875759
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-29.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-29.json
new file mode 100644
index 0000000000..27adb209e6
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-29.json
@@ -0,0 +1,69 @@
+[
+ {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952",
+ "pull_request_review_id": 1013972708,
+ "id": 902875952,
+ "node_id": "PRRC_kwDODFTdCc410Msw",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is a reply.",
+ "created_at": "2022-06-21T17:18:30Z",
+ "updated_at": "2022-06-21T17:18:30Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions",
+ "total_count": 0,
+ "+1": 0,
+ "-1": 0,
+ "laugh": 0,
+ "hooray": 0,
+ "confused": 0,
+ "heart": 0,
+ "rocket": 0,
+ "eyes": 0
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT"
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-6.json
new file mode 100644
index 0000000000..b5f9885508
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-6.json
@@ -0,0 +1,67 @@
+{
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759",
+ "pull_request_review_id": 1013972442,
+ "id": 902875759,
+ "node_id": "PRRC_kwDODFTdCc410Mpv",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Sample review comment",
+ "created_at": "2022-06-21T17:18:19Z",
+ "updated_at": "2022-06-21T17:18:19Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "total_count": 0,
+ "+1": 0,
+ "-1": 0,
+ "laugh": 0,
+ "hooray": 0,
+ "confused": 0,
+ "heart": 0,
+ "rocket": 0,
+ "eyes": 0
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-7.json
new file mode 100644
index 0000000000..4bc8a27daa
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-7.json
@@ -0,0 +1,69 @@
+[
+ {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759",
+ "pull_request_review_id": 1013972442,
+ "id": 902875759,
+ "node_id": "PRRC_kwDODFTdCc410Mpv",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Sample review comment",
+ "created_at": "2022-06-21T17:18:19Z",
+ "updated_at": "2022-06-21T17:18:19Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "total_count": 0,
+ "+1": 0,
+ "-1": 0,
+ "laugh": 0,
+ "hooray": 0,
+ "confused": 0,
+ "heart": 0,
+ "rocket": 0,
+ "eyes": 0
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT"
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json
new file mode 100644
index 0000000000..c5d258a5f3
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json
@@ -0,0 +1,68 @@
+{
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952",
+ "pull_request_review_id": 1013972708,
+ "id": 902875952,
+ "node_id": "PRRC_kwDODFTdCc410Msw",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is a reply.",
+ "created_at": "2022-06-21T17:18:30Z",
+ "updated_at": "2022-06-21T17:18:30Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions",
+ "total_count": 0,
+ "+1": 0,
+ "-1": 0,
+ "laugh": 0,
+ "hooray": 0,
+ "confused": 0,
+ "heart": 0,
+ "rocket": 0,
+ "eyes": 0
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT",
+ "in_reply_to_id": 902875759
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633-15.json
deleted file mode 100644
index 48ddd1bc34..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633-15.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633",
- "pull_request_review_id": 937124048,
- "id": 846624633,
- "node_id": "PRRC_kwDODFTdCc4ydnd5",
- "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
- "path": "README.md",
- "position": 1,
- "original_position": 1,
- "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Updated review comment",
- "created_at": "2022-04-09T12:15:13Z",
- "updated_at": "2022-04-09T12:15:16Z",
- "html_url": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633",
- "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450",
- "author_association": "MEMBER",
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633"
- },
- "html": {
- "href": "https://github.com/hub4j-test-org/github-api/pull/450#discussion_r846624633"
- },
- "pull_request": {
- "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
- }
- },
- "reactions": {
- "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
- "total_count": 0,
- "+1": 0,
- "-1": 0,
- "laugh": 0,
- "hooray": 0,
- "confused": 0,
- "heart": 0,
- "rocket": 0,
- "eyes": 0
- },
- "start_line": null,
- "original_start_line": null,
- "start_side": null,
- "line": 1,
- "original_line": 1,
- "side": "LEFT"
-}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-10.json
deleted file mode 100644
index 8f583f3b19..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-10.json
+++ /dev/null
@@ -1,28 +0,0 @@
-[
- {
- "id": 158534106,
- "node_id": "REA_lATODFTdCc4ydnd5zglzCdo",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "content": "confused",
- "created_at": "2022-04-09T12:15:14Z"
- }
-]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-9.json
deleted file mode 100644
index 3060dcda5e..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-9.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "id": 158534106,
- "node_id": "REA_lATODFTdCc4ydnd5zglzCdo",
- "user": {
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false
- },
- "content": "confused",
- "created_at": "2022-04-09T12:15:14Z"
-}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json
new file mode 100644
index 0000000000..46f3e9befa
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json
@@ -0,0 +1,67 @@
+{
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759",
+ "pull_request_review_id": 1013972442,
+ "id": 902875759,
+ "node_id": "PRRC_kwDODFTdCc410Mpv",
+ "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub",
+ "path": "README.md",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Updated review comment",
+ "created_at": "2022-06-21T17:18:19Z",
+ "updated_at": "2022-06-21T17:18:32Z",
+ "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759",
+ "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456",
+ "author_association": "MEMBER",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759"
+ },
+ "html": {
+ "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "total_count": 7,
+ "+1": 1,
+ "-1": 1,
+ "laugh": 1,
+ "hooray": 1,
+ "confused": 0,
+ "heart": 1,
+ "rocket": 1,
+ "eyes": 1
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "LEFT"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json
new file mode 100644
index 0000000000..5853c04f14
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855255,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1c",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "confused",
+ "created_at": "2022-06-21T17:18:21Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json
new file mode 100644
index 0000000000..fa020ac370
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855257,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1k",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "rocket",
+ "created_at": "2022-06-21T17:18:22Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json
new file mode 100644
index 0000000000..61daf80e73
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855259,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1s",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "hooray",
+ "created_at": "2022-06-21T17:18:23Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json
new file mode 100644
index 0000000000..88397d87e2
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855262,
+ "node_id": "REA_lATODFTdCc410MpvzgovC14",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "heart",
+ "created_at": "2022-06-21T17:18:23Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json
new file mode 100644
index 0000000000..9d4e4b26b0
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855266,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2I",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "-1",
+ "created_at": "2022-06-21T17:18:24Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json
new file mode 100644
index 0000000000..3112bbcd98
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855267,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "+1",
+ "created_at": "2022-06-21T17:18:25Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json
new file mode 100644
index 0000000000..40782b3614
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855270,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2Y",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "laugh",
+ "created_at": "2022-06-21T17:18:25Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json
new file mode 100644
index 0000000000..e17184fe3b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json
@@ -0,0 +1,184 @@
+[
+ {
+ "id": 170855251,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "eyes",
+ "created_at": "2022-06-21T17:18:21Z"
+ },
+ {
+ "id": 170855257,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1k",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "rocket",
+ "created_at": "2022-06-21T17:18:22Z"
+ },
+ {
+ "id": 170855259,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1s",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "hooray",
+ "created_at": "2022-06-21T17:18:23Z"
+ },
+ {
+ "id": 170855262,
+ "node_id": "REA_lATODFTdCc410MpvzgovC14",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "heart",
+ "created_at": "2022-06-21T17:18:23Z"
+ },
+ {
+ "id": 170855266,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2I",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "-1",
+ "created_at": "2022-06-21T17:18:24Z"
+ },
+ {
+ "id": 170855267,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "+1",
+ "created_at": "2022-06-21T17:18:25Z"
+ },
+ {
+ "id": 170855270,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2Y",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "laugh",
+ "created_at": "2022-06-21T17:18:25Z"
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json
new file mode 100644
index 0000000000..83cab071ee
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855273,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2k",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "confused",
+ "created_at": "2022-06-21T17:18:28Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json
new file mode 100644
index 0000000000..a34d79313a
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json
@@ -0,0 +1,210 @@
+[
+ {
+ "id": 170855251,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "eyes",
+ "created_at": "2022-06-21T17:18:21Z"
+ },
+ {
+ "id": 170855257,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1k",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "rocket",
+ "created_at": "2022-06-21T17:18:22Z"
+ },
+ {
+ "id": 170855259,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1s",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "hooray",
+ "created_at": "2022-06-21T17:18:23Z"
+ },
+ {
+ "id": 170855262,
+ "node_id": "REA_lATODFTdCc410MpvzgovC14",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "heart",
+ "created_at": "2022-06-21T17:18:23Z"
+ },
+ {
+ "id": 170855266,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2I",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "-1",
+ "created_at": "2022-06-21T17:18:24Z"
+ },
+ {
+ "id": 170855267,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "+1",
+ "created_at": "2022-06-21T17:18:25Z"
+ },
+ {
+ "id": 170855270,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2Y",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "laugh",
+ "created_at": "2022-06-21T17:18:25Z"
+ },
+ {
+ "id": 170855273,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2k",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "confused",
+ "created_at": "2022-06-21T17:18:28Z"
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json
new file mode 100644
index 0000000000..e17184fe3b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json
@@ -0,0 +1,184 @@
+[
+ {
+ "id": 170855251,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "eyes",
+ "created_at": "2022-06-21T17:18:21Z"
+ },
+ {
+ "id": 170855257,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1k",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "rocket",
+ "created_at": "2022-06-21T17:18:22Z"
+ },
+ {
+ "id": 170855259,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1s",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "hooray",
+ "created_at": "2022-06-21T17:18:23Z"
+ },
+ {
+ "id": 170855262,
+ "node_id": "REA_lATODFTdCc410MpvzgovC14",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "heart",
+ "created_at": "2022-06-21T17:18:23Z"
+ },
+ {
+ "id": 170855266,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2I",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "-1",
+ "created_at": "2022-06-21T17:18:24Z"
+ },
+ {
+ "id": 170855267,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "+1",
+ "created_at": "2022-06-21T17:18:25Z"
+ },
+ {
+ "id": 170855270,
+ "node_id": "REA_lATODFTdCc410MpvzgovC2Y",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "laugh",
+ "created_at": "2022-06-21T17:18:25Z"
+ }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json
new file mode 100644
index 0000000000..b9772e2d0f
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json
@@ -0,0 +1,26 @@
+{
+ "id": 170855251,
+ "node_id": "REA_lATODFTdCc410MpvzgovC1M",
+ "user": {
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content": "eyes",
+ "created_at": "2022-06-21T17:18:21Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/user-1.json
new file mode 100644
index 0000000000..4994365297
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/user-1.json
@@ -0,0 +1,46 @@
+{
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false,
+ "name": "Vasilis Gakias",
+ "company": null,
+ "blog": "",
+ "location": "greece",
+ "email": "vasileios.gakias@gmail.com",
+ "hireable": null,
+ "bio": null,
+ "twitter_username": null,
+ "public_repos": 14,
+ "public_gists": 0,
+ "followers": 2,
+ "following": 2,
+ "created_at": "2016-11-10T23:20:00Z",
+ "updated_at": "2022-06-19T00:21:42Z",
+ "private_gists": 0,
+ "total_private_repos": 0,
+ "owned_private_repos": 0,
+ "disk_usage": 12317,
+ "collaborators": 0,
+ "two_factor_authentication": false,
+ "plan": {
+ "name": "free",
+ "space": 976562499,
+ "collaborators": 0,
+ "private_repos": 10000
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_gsmet-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_gsmet-7.json
deleted file mode 100644
index 6fa76a1f24..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_gsmet-7.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "login": "gsmet",
- "id": 1279749,
- "node_id": "MDQ6VXNlcjEyNzk3NDk=",
- "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/gsmet",
- "html_url": "https://github.com/gsmet",
- "followers_url": "https://api.github.com/users/gsmet/followers",
- "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
- "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
- "organizations_url": "https://api.github.com/users/gsmet/orgs",
- "repos_url": "https://api.github.com/users/gsmet/repos",
- "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
- "received_events_url": "https://api.github.com/users/gsmet/received_events",
- "type": "User",
- "site_admin": false,
- "name": "Guillaume Smet",
- "company": "Red Hat",
- "blog": "https://lesincroyableslivres.fr/",
- "location": "Lyon, France",
- "email": "guillaume.smet@gmail.com",
- "hireable": null,
- "bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.",
- "twitter_username": "gsmet_",
- "public_repos": 147,
- "public_gists": 15,
- "followers": 172,
- "following": 3,
- "created_at": "2011-12-22T11:03:22Z",
- "updated_at": "2022-04-06T15:07:12Z",
- "private_gists": 14,
- "total_private_repos": 4,
- "owned_private_repos": 1,
- "disk_usage": 70882,
- "collaborators": 1,
- "two_factor_authentication": true,
- "plan": {
- "name": "free",
- "space": 976562499,
- "collaborators": 0,
- "private_repos": 10000
- }
-}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_kisaga-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_kisaga-8.json
new file mode 100644
index 0000000000..4994365297
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_kisaga-8.json
@@ -0,0 +1,46 @@
+{
+ "login": "kisaga",
+ "id": 23390439,
+ "node_id": "MDQ6VXNlcjIzMzkwNDM5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kisaga",
+ "html_url": "https://github.com/kisaga",
+ "followers_url": "https://api.github.com/users/kisaga/followers",
+ "following_url": "https://api.github.com/users/kisaga/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions",
+ "organizations_url": "https://api.github.com/users/kisaga/orgs",
+ "repos_url": "https://api.github.com/users/kisaga/repos",
+ "events_url": "https://api.github.com/users/kisaga/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kisaga/received_events",
+ "type": "User",
+ "site_admin": false,
+ "name": "Vasilis Gakias",
+ "company": null,
+ "blog": "",
+ "location": "greece",
+ "email": "vasileios.gakias@gmail.com",
+ "hireable": null,
+ "bio": null,
+ "twitter_username": null,
+ "public_repos": 14,
+ "public_gists": 0,
+ "followers": 2,
+ "following": 2,
+ "created_at": "2016-11-10T23:20:00Z",
+ "updated_at": "2022-06-19T00:21:42Z",
+ "private_gists": 0,
+ "total_private_repos": 0,
+ "owned_private_repos": 0,
+ "disk_usage": 12317,
+ "collaborators": 0,
+ "two_factor_authentication": false,
+ "plan": {
+ "name": "free",
+ "space": 976562499,
+ "collaborators": 0,
+ "private_repos": 10000
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-2.json
similarity index 64%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-1.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-2.json
index 0036251e18..657da03498 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-1.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-2.json
@@ -1,5 +1,5 @@
{
- "id": "4b84c118-4a9c-45ee-8cbe-52b6a3763adf",
+ "id": "c0c08e2f-2181-4906-b788-ecc6d3f7a1ae",
"name": "orgs_hub4j-test-org",
"request": {
"url": "/orgs/hub4j-test-org",
@@ -12,25 +12,26 @@
},
"response": {
"status": 200,
- "bodyFileName": "orgs_hub4j-test-org-1.json",
+ "bodyFileName": "orgs_hub4j-test-org-2.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:11 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:16 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"",
+ "ETag": "W/\"5494d1fbf995fc6e1df1d8f680702d945f50908b62ab4b4760b0b38bd1505057\"",
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4982",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "18",
+ "X-RateLimit-Remaining": "4994",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "6",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -38,10 +39,10 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF26:E0D5:8A28DE:8F7145:625178CE"
+ "X-GitHub-Request-Id": "AF60:6281:4D717E:4F2335:62B1FD57"
}
},
- "uuid": "4b84c118-4a9c-45ee-8cbe-52b6a3763adf",
+ "uuid": "c0c08e2f-2181-4906-b788-ecc6d3f7a1ae",
"persistent": true,
- "insertionIndex": 1
+ "insertionIndex": 2
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-3.json
similarity index 60%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-2.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-3.json
index 5f2c551e0f..5677ea1ca8 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-2.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-3.json
@@ -1,5 +1,5 @@
{
- "id": "af7bd5d9-e014-496e-973f-f44f48f8d639",
+ "id": "1893f17b-1315-4dc4-8fe2-96bd3e747e84",
"name": "repos_hub4j-test-org_github-api",
"request": {
"url": "/repos/hub4j-test-org/github-api",
@@ -12,25 +12,26 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api-2.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api-3.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:11 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:16 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"1c2c68b5cb572680f51498796d0b11bee390107942cb9d9c88b25679760a86c7\"",
- "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"cb99d6332ac5c8b2c09a1b93d8c078ce24f73cb0b79858a1516f6f939aae0a72\"",
+ "Last-Modified": "Mon, 23 May 2022 14:23:52 GMT",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "repo",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4981",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "19",
+ "X-RateLimit-Remaining": "4993",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "7",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -38,10 +39,10 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF28:5187:88B618:8DFE6A:625178CF"
+ "X-GitHub-Request-Id": "AF62:DDCC:3B63EA:3CF72D:62B1FD58"
}
},
- "uuid": "af7bd5d9-e014-496e-973f-f44f48f8d639",
+ "uuid": "1893f17b-1315-4dc4-8fe2-96bd3e747e84",
"persistent": true,
- "insertionIndex": 2
+ "insertionIndex": 3
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json
similarity index 68%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-3.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json
index a8695af2b2..d4f20afd9a 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-3.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json
@@ -1,5 +1,5 @@
{
- "id": "89d3f876-6802-4140-b2d9-cad6e5a66930",
+ "id": "b24c0aff-401f-4e35-add3-2d27e799860c",
"name": "repos_hub4j-test-org_github-api_pulls",
"request": {
"url": "/repos/hub4j-test-org/github-api/pulls",
@@ -19,24 +19,25 @@
},
"response": {
"status": 201,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls-3.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:12 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:17 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "\"68840492424616213106fcff4e8b52e7e574d2b1799abeb22e1ee3cc4f65e5b0\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "\"801196cbb450ae48f1d688f815e6830d4e6a687017f5373765f170cd3af6b501\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4980",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "20",
+ "X-RateLimit-Remaining": "4992",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "8",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -44,11 +45,11 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF2A:5C30:19CC336:1A3AF94:625178CF",
- "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/450"
+ "X-GitHub-Request-Id": "AF64:9DB3:1B392:2BAFF:62B1FD58",
+ "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456"
}
},
- "uuid": "89d3f876-6802-4140-b2d9-cad6e5a66930",
+ "uuid": "b24c0aff-401f-4e35-add3-2d27e799860c",
"persistent": true,
- "insertionIndex": 3
+ "insertionIndex": 4
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450-19.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456-30.json
similarity index 59%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450-19.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456-30.json
index 7af46ed577..3be792462b 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450-19.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456-30.json
@@ -1,8 +1,8 @@
{
- "id": "e76e5f8a-7440-4747-9db3-8cc42782620e",
- "name": "repos_hub4j-test-org_github-api_pulls_450",
+ "id": "2ef0656b-ee95-4cb0-9b2b-30a96164114b",
+ "name": "repos_hub4j-test-org_github-api_pulls_456",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456",
"method": "PATCH",
"headers": {
"Accept": {
@@ -19,24 +19,25 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_450-19.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456-30.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:19 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:36 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"399c2e3c022b7bf249d0200e9176625d86810ac54e14542e88945ad9df7b0e84\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"14e4628277ee83d18534ba6608492413533702d07c90b617ad7a2c72e1fa8722\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4964",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "36",
+ "X-RateLimit-Remaining": "4966",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "34",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -44,10 +45,10 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF4E:39AA:E9643A:EF75F6:625178D6"
+ "X-GitHub-Request-Id": "AF98:BA0B:4D3E8B:4EEBAE:62B1FD6A"
}
},
- "uuid": "e76e5f8a-7440-4747-9db3-8cc42782620e",
+ "uuid": "2ef0656b-ee95-4cb0-9b2b-30a96164114b",
"persistent": true,
- "insertionIndex": 19
+ "insertionIndex": 30
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-17.json
similarity index 57%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-6.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-17.json
index 76e67d8969..a35e9865ac 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-6.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-17.json
@@ -1,8 +1,8 @@
{
- "id": "9b869e00-5373-4fb4-99cc-78a9a4d07476",
- "name": "repos_hub4j-test-org_github-api_pulls_450_comments",
+ "id": "85861b33-c13c-446b-88e7-95d2de3b0c47",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments",
"method": "GET",
"headers": {
"Accept": {
@@ -12,24 +12,25 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_450_comments-6.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-17.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:13 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:26 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"a5079bbf1657991249b9611ffb3cda3ae41e08b4b8bc0f4c4703fba99fbb0dec\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"b17862e11b769cb4aeb5be57ec9428150b5b22a089fc9445cb3f60913d89a83e\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4977",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "23",
+ "X-RateLimit-Remaining": "4979",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "21",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -37,13 +38,13 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF30:ECE0:7B8551:80CDD1:625178D1"
+ "X-GitHub-Request-Id": "AF7E:307B:1DDEEF:1F24B5:62B1FD62"
}
},
- "uuid": "9b869e00-5373-4fb4-99cc-78a9a4d07476",
+ "uuid": "85861b33-c13c-446b-88e7-95d2de3b0c47",
"persistent": true,
- "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments",
- "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-2",
- "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-3",
- "insertionIndex": 6
+ "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments",
+ "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-3",
+ "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-4",
+ "insertionIndex": 17
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-25.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-25.json
new file mode 100644
index 0000000000..f046039c1c
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-25.json
@@ -0,0 +1,50 @@
+{
+ "id": "d5f1a1b2-c1cc-4ed1-aaee-5008cebe3559",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments",
+ "method": "GET",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.v3+json"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-25.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:31 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "W/\"51c5cdd4e6dceaf9812dba5221f851b5ea8de5b79a0cc551f6ba3fff235e3c5b\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4971",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "29",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF8E:BA0A:31BD35:332F9A:62B1FD67"
+ }
+ },
+ "uuid": "d5f1a1b2-c1cc-4ed1-aaee-5008cebe3559",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments",
+ "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-4",
+ "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-5",
+ "insertionIndex": 25
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-27.json
similarity index 61%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-14.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-27.json
index 7c967dd7ae..ef556a2946 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-14.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-27.json
@@ -1,8 +1,8 @@
{
- "id": "688a8bee-65e8-4230-9e8b-9a7b4edf8f5a",
- "name": "repos_hub4j-test-org_github-api_pulls_450_comments",
+ "id": "c16019df-b04e-44ee-8e05-6aec9d395fd7",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments",
"method": "GET",
"headers": {
"Accept": {
@@ -12,23 +12,24 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_450_comments-14.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-27.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:16 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:32 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"8710e53c6a4f5e8cb30cd02074a24ed05e154c81a9105e6c7fe8bdea7d708947\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"29ae28d5d668de75ea1082c3a8d7461eacd827103677598b4320a9a92ec6e08d\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4969",
- "X-RateLimit-Reset": "1649510049",
+ "X-RateLimit-Reset": "1655835493",
"X-RateLimit-Used": "31",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
@@ -37,13 +38,13 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF42:11728:24F9D:6D1C2:625178D4"
+ "X-GitHub-Request-Id": "AF92:9DB8:51D25C:537C96:62B1FD68"
}
},
- "uuid": "688a8bee-65e8-4230-9e8b-9a7b4edf8f5a",
+ "uuid": "c16019df-b04e-44ee-8e05-6aec9d395fd7",
"persistent": true,
- "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments",
- "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-3",
- "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-4",
- "insertionIndex": 14
+ "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments",
+ "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-5",
+ "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-6",
+ "insertionIndex": 27
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-29.json
similarity index 57%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-16.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-29.json
index 14ece4fa0f..80e93e6315 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-16.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-29.json
@@ -1,8 +1,8 @@
{
- "id": "6e4fb0b4-c771-4728-bd07-79e2afed9108",
- "name": "repos_hub4j-test-org_github-api_pulls_450_comments",
+ "id": "f692d85c-3ad3-4217-a83b-0ee54f002468",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments",
"method": "GET",
"headers": {
"Accept": {
@@ -12,23 +12,24 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_450_comments-16.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-29.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:17 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:34 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"6f4ddc206cbb07f1bb428abed4f999d54e4173bef1e79779f01b146e301cab19\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"795f2a7f1d3bac3b49904945b4c6865e1b3a4098b74587a4d78c73a2b0ed4a80\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4967",
- "X-RateLimit-Reset": "1649510049",
+ "X-RateLimit-Reset": "1655835493",
"X-RateLimit-Used": "33",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
@@ -37,13 +38,12 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF46:020E:1B9F471:1C125DB:625178D5"
+ "X-GitHub-Request-Id": "AF96:FA74:1C6330:1DA6C6:62B1FD6A"
}
},
- "uuid": "6e4fb0b4-c771-4728-bd07-79e2afed9108",
+ "uuid": "f692d85c-3ad3-4217-a83b-0ee54f002468",
"persistent": true,
- "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments",
- "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-4",
- "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-5",
- "insertionIndex": 16
+ "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments",
+ "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-6",
+ "insertionIndex": 29
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-5.json
similarity index 60%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-4.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-5.json
index 66d15a4a6d..8d5037aedc 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-4.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-5.json
@@ -1,8 +1,8 @@
{
- "id": "bf14e708-e9c6-44f5-97e7-ec6c46ba4976",
- "name": "repos_hub4j-test-org_github-api_pulls_450_comments",
+ "id": "e563f1db-bc81-41c8-a710-187ae27783c4",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments",
"method": "GET",
"headers": {
"Accept": {
@@ -15,21 +15,22 @@
"body": "[]",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:12 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:18 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "\"e33d671b99cfd3b69cbea6599065ce3f5431730434d2452958e0865316fdb5be\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "\"20fc4441d036edca28dbcc065f9e32b03003e2a9085ffd64254446cf3cf0604f\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4979",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "21",
+ "X-RateLimit-Remaining": "4991",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "9",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -37,13 +38,13 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF2C:5C30:19CC4C4:1A3B129:625178D0"
+ "X-GitHub-Request-Id": "AF66:10EF1:52F61F:54B37F:62B1FD5A"
}
},
- "uuid": "bf14e708-e9c6-44f5-97e7-ec6c46ba4976",
+ "uuid": "e563f1db-bc81-41c8-a710-187ae27783c4",
"persistent": true,
- "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments",
+ "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments",
"requiredScenarioState": "Started",
- "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-2",
- "insertionIndex": 4
+ "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-2",
+ "insertionIndex": 5
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-6.json
similarity index 61%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-5.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-6.json
index 43705a131b..cd7263905c 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-5.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-6.json
@@ -1,8 +1,8 @@
{
- "id": "9fd65261-6489-4fab-bc3d-c475bd9d0d65",
- "name": "repos_hub4j-test-org_github-api_pulls_450_comments",
+ "id": "006f3169-0085-45a1-b7ba-8a246c639b03",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments",
"method": "POST",
"headers": {
"Accept": {
@@ -19,24 +19,25 @@
},
"response": {
"status": 201,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_450_comments-5.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-6.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:13 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:19 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "\"43b4e6146c9e9e1755b9a4de3f42b00f2c8235931a60c1b30154ec06e6a9290d\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "\"36a5ee598a508736adcb8410419b27920cc05df644e0a393a293378ac9d5479f\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4978",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "22",
+ "X-RateLimit-Remaining": "4990",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "10",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -44,11 +45,11 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF2E:C0CA:18919B4:19034D3:625178D0",
- "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624633"
+ "X-GitHub-Request-Id": "AF68:4006:15415:25A5D:62B1FD5A",
+ "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759"
}
},
- "uuid": "9fd65261-6489-4fab-bc3d-c475bd9d0d65",
+ "uuid": "006f3169-0085-45a1-b7ba-8a246c639b03",
"persistent": true,
- "insertionIndex": 5
+ "insertionIndex": 6
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-18.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-7.json
similarity index 54%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-18.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-7.json
index 938dd53399..1c1a2520a2 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments-18.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-7.json
@@ -1,8 +1,8 @@
{
- "id": "ec9a9df9-8cbf-4211-b061-d3452cfd1454",
- "name": "repos_hub4j-test-org_github-api_pulls_450_comments",
+ "id": "567785f1-9e06-4054-86c9-4a10605ec52a",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450/comments",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments",
"method": "GET",
"headers": {
"Accept": {
@@ -12,24 +12,25 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_450_comments-18.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-7.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:18 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:20 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"edab203c9bce79c86872fcace8d269e5060b9c125aadfccefbe871e663b7c1c2\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"53d5962598630d2c8c75bc71115eb7887c93b96424168d2183c1e9b2beedff65\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4965",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "35",
+ "X-RateLimit-Remaining": "4989",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "11",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -37,12 +38,13 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF4C:5188:EA0328:F0143F:625178D6"
+ "X-GitHub-Request-Id": "AF6A:BA0B:4D2C30:4ED8D6:62B1FD5B"
}
},
- "uuid": "ec9a9df9-8cbf-4211-b061-d3452cfd1454",
+ "uuid": "567785f1-9e06-4054-86c9-4a10605ec52a",
"persistent": true,
- "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments",
- "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-450-comments-5",
- "insertionIndex": 18
+ "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments",
+ "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-2",
+ "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-3",
+ "insertionIndex": 7
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json
similarity index 58%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies-13.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json
index bb2baa99bc..d67e084fb0 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies-13.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json
@@ -1,8 +1,8 @@
{
- "id": "5838af27-7458-4d23-8891-b604cdbfc226",
- "name": "repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies",
+ "id": "37ca8b73-12d2-49a3-8313-f0d431df04cb",
+ "name": "repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/450/comments/846624633/replies",
+ "url": "/repos/hub4j-test-org/github-api/pulls/456/comments/902875759/replies",
"method": "POST",
"headers": {
"Accept": {
@@ -19,24 +19,25 @@
},
"response": {
"status": 201,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_450_comments_846624633_replies-13.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:16 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:31 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "\"b084031e7bce31f52fa9ac44e1c459d48890405b660e08b7112aa27b9df8edbe\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "\"50c45442ba1c3250fe571c1279aa8974e99f137be5f8c4b25bc2bff97a31e30d\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4970",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "30",
+ "X-RateLimit-Remaining": "4972",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "28",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -44,11 +45,11 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF40:ECF2:FE7DEA:10484D5:625178D3",
- "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/846624637"
+ "X-GitHub-Request-Id": "AF8C:5CC2:53C762:557D24:62B1FD66",
+ "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952"
}
},
- "uuid": "5838af27-7458-4d23-8891-b604cdbfc226",
+ "uuid": "37ca8b73-12d2-49a3-8313-f0d431df04cb",
"persistent": true,
- "insertionIndex": 13
+ "insertionIndex": 24
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-12.json
deleted file mode 100644
index 5a52023df5..0000000000
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-12.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "id": "299750d0-5f58-4107-ac52-5abd07ec5399",
- "name": "repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions",
- "request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
- "method": "GET",
- "headers": {
- "Accept": {
- "equalTo": "application/vnd.github.squirrel-girl-preview+json"
- }
- }
- },
- "response": {
- "status": 200,
- "body": "[]",
- "headers": {
- "Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:15 GMT",
- "Content-Type": "application/json; charset=utf-8",
- "Cache-Control": "private, max-age=60, s-maxage=60",
- "Vary": [
- "Accept, Authorization, Cookie, X-GitHub-OTP",
- "Accept-Encoding, Accept, X-Requested-With"
- ],
- "ETag": "\"1edf80ecd98d11d98113d5aa3cef7021f4a60d76d4a01328e8d3552451f43ce4\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
- "X-Accepted-OAuth-Scopes": "",
- "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
- "X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4971",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "29",
- "X-RateLimit-Resource": "core",
- "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
- "X-Frame-Options": "deny",
- "X-Content-Type-Options": "nosniff",
- "X-XSS-Protection": "0",
- "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
- "Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF3E:6F18:1774C1B:17E58B5:625178D3"
- }
- },
- "uuid": "299750d0-5f58-4107-ac52-5abd07ec5399",
- "persistent": true,
- "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-846624633-reactions",
- "requiredScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-846624633-reactions-3",
- "insertionIndex": 12
-}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json
similarity index 62%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633-15.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json
index 3ec700f20c..fbcd0c2d63 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633-15.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json
@@ -1,8 +1,8 @@
{
- "id": "7d4604de-66f8-4b0f-8ed6-68ad50f6198b",
- "name": "repos_hub4j-test-org_github-api_pulls_comments_846624633",
+ "id": "51880262-5604-45fb-b2df-e451862c07bc",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/comments/846624633",
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759",
"method": "PATCH",
"headers": {
"Accept": {
@@ -19,24 +19,25 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_846624633-15.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:17 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:32 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"cfe05223b8754f8565f9561ec6cceb396bab4d9a715901639759d100e9245f7b\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"3d5bb596716385bf97ed2a4ab88e3787b046ad094a2b4d1f2adad85ea09c2687\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4968",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "32",
+ "X-RateLimit-Remaining": "4970",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "30",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -44,10 +45,10 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF44:93CC:3347E4:381853:625178D4"
+ "X-GitHub-Request-Id": "AF90:13949:5107E6:52BF05:62B1FD67"
}
},
- "uuid": "7d4604de-66f8-4b0f-8ed6-68ad50f6198b",
+ "uuid": "51880262-5604-45fb-b2df-e451862c07bc",
"persistent": true,
- "insertionIndex": 15
+ "insertionIndex": 26
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-28.json
similarity index 55%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633-17.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-28.json
index 35f340e4db..3a2f4e4b44 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633-17.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-28.json
@@ -1,8 +1,8 @@
{
- "id": "415948c0-a8be-4ea1-8941-320544683414",
- "name": "repos_hub4j-test-org_github-api_pulls_comments_846624633",
+ "id": "3b867da2-e92f-4798-9f98-b92a428630d3",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/comments/846624633",
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759",
"method": "DELETE",
"headers": {
"Accept": {
@@ -14,14 +14,15 @@
"status": 204,
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:18 GMT",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "Date": "Tue, 21 Jun 2022 17:18:33 GMT",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4966",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "34",
+ "X-RateLimit-Remaining": "4968",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "32",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -30,10 +31,10 @@
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
"Vary": "Accept-Encoding, Accept, X-Requested-With",
- "X-GitHub-Request-Id": "BF4A:E0D5:8A2CAF:8F753C:625178D5"
+ "X-GitHub-Request-Id": "AF94:10EF1:530A33:54C7FD:62B1FD69"
}
},
- "uuid": "415948c0-a8be-4ea1-8941-320544683414",
+ "uuid": "3b867da2-e92f-4798-9f98-b92a428630d3",
"persistent": true,
- "insertionIndex": 17
+ "insertionIndex": 28
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json
new file mode 100644
index 0000000000..7e25a02a0a
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json
@@ -0,0 +1,57 @@
+{
+ "id": "a98d69d3-69d9-401b-8382-8700dd69658e",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"confused\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:21 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"4bb664a12ecdec449205f732e493e0b967130eca58f62d0f40959218ffcaa574\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4986",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "14",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF70:FA76:4F82B6:512B8F:62B1FD5D"
+ }
+ },
+ "uuid": "a98d69d3-69d9-401b-8382-8700dd69658e",
+ "persistent": true,
+ "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions",
+ "requiredScenarioState": "Started",
+ "newScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2",
+ "insertionIndex": 10
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json
new file mode 100644
index 0000000000..985a5399ff
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json
@@ -0,0 +1,54 @@
+{
+ "id": "eeab61fe-6ac9-4c95-9fc7-e8cd6e373fcc",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"rocket\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:22 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"4b2d342135a3ae806e9a1b2eac1a06b18d23a89d674dc9d5f22dfbe2f33658f0\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4985",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "15",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF72:DDCC:3B69BE:3CFD28:62B1FD5E"
+ }
+ },
+ "uuid": "eeab61fe-6ac9-4c95-9fc7-e8cd6e373fcc",
+ "persistent": true,
+ "insertionIndex": 11
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json
new file mode 100644
index 0000000000..c9175090d8
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json
@@ -0,0 +1,54 @@
+{
+ "id": "91798d64-09f0-49ef-90fe-03523248212e",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"hooray\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:23 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"ee486cbb5507982be6d2d430523d5bae7d0ff184a9110640a038ff3d8865672a\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4984",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "16",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF74:400C:4C95D5:4E45FB:62B1FD5E"
+ }
+ },
+ "uuid": "91798d64-09f0-49ef-90fe-03523248212e",
+ "persistent": true,
+ "insertionIndex": 12
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json
new file mode 100644
index 0000000000..0c334177ce
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json
@@ -0,0 +1,54 @@
+{
+ "id": "cad3de94-5c27-4974-9024-060c947d756b",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"heart\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:23 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"f8fdfebcabd4003a9c02baedc54795453a0d475aa555047801ba623afdfd7b23\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4983",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "17",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF76:0C3F:563EB5:57FD54:62B1FD5F"
+ }
+ },
+ "uuid": "cad3de94-5c27-4974-9024-060c947d756b",
+ "persistent": true,
+ "insertionIndex": 13
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json
new file mode 100644
index 0000000000..f2fe9fe9aa
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json
@@ -0,0 +1,54 @@
+{
+ "id": "704056db-53ab-4856-9372-f42303344d33",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"-1\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:24 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"7128974b9114934f390f2431433340b61f858c1ca1ff779f4d66ce641aa9a0e1\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4982",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "18",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF78:C342:1D2B84:1E6EF4:62B1FD60"
+ }
+ },
+ "uuid": "704056db-53ab-4856-9372-f42303344d33",
+ "persistent": true,
+ "insertionIndex": 14
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json
new file mode 100644
index 0000000000..3e33d14c8a
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json
@@ -0,0 +1,54 @@
+{
+ "id": "7b1f91b5-e3af-4ba6-a167-e072c50f034d",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"+1\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:25 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"7c65a98fc7dca7d089d476aacf4207ed48db491f943b13f1731a3e1a79068ae0\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4981",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "19",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF7A:FA73:C4E88:D6D68:62B1FD60"
+ }
+ },
+ "uuid": "7b1f91b5-e3af-4ba6-a167-e072c50f034d",
+ "persistent": true,
+ "insertionIndex": 15
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json
new file mode 100644
index 0000000000..dbceef14af
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json
@@ -0,0 +1,54 @@
+{
+ "id": "ae34b71c-9d98-4774-9de0-e9e2138fa9f8",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"laugh\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:25 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"e8940d2d1f195c8045e783b98ab7c0455de09965355337fc83bcc10da0681316\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4980",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "20",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF7C:307C:3A3C6F:3BB292:62B1FD61"
+ }
+ },
+ "uuid": "ae34b71c-9d98-4774-9de0-e9e2138fa9f8",
+ "persistent": true,
+ "insertionIndex": 16
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json
similarity index 50%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-8.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json
index 5c8dca174f..b89d32c06b 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-8.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json
@@ -1,8 +1,8 @@
{
- "id": "eb2f1f85-6af8-4dd3-88cd-f082810aeff3",
- "name": "repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions",
+ "id": "746ab178-541e-4dca-9183-b10598bf3ccf",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
"method": "GET",
"headers": {
"Accept": {
@@ -12,24 +12,25 @@
},
"response": {
"status": 200,
- "body": "[]",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:14 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:27 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "\"1edf80ecd98d11d98113d5aa3cef7021f4a60d76d4a01328e8d3552451f43ce4\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"b6ff492e1af9b061cffc7f5c9a251fbd428c9ebb996765012582d54b8799977a\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4975",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "25",
+ "X-RateLimit-Remaining": "4977",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "23",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -37,13 +38,13 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF34:5C2F:F456DF:FA731C:625178D2"
+ "X-GitHub-Request-Id": "AF82:13949:5101BF:52B8BD:62B1FD63"
}
},
- "uuid": "eb2f1f85-6af8-4dd3-88cd-f082810aeff3",
+ "uuid": "746ab178-541e-4dca-9183-b10598bf3ccf",
"persistent": true,
- "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-846624633-reactions",
+ "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions",
"requiredScenarioState": "Started",
- "newScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-846624633-reactions-2",
- "insertionIndex": 8
+ "newScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2",
+ "insertionIndex": 19
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json
new file mode 100644
index 0000000000..d1997b75ab
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json
@@ -0,0 +1,56 @@
+{
+ "id": "41f4ffbd-3ac6-46dc-937a-3280e61e02de",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "POST",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ },
+ "bodyPatterns": [
+ {
+ "equalToJson": "{\"content\":\"confused\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": false
+ }
+ ]
+ },
+ "response": {
+ "status": 201,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:28 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "\"cf22b35bf81a14d22b24cc6defe32310647a67e41979d0619d2a945c8660b795\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4976",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "24",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF84:400C:4C9C17:4E4C69:62B1FD63"
+ }
+ },
+ "uuid": "41f4ffbd-3ac6-46dc-937a-3280e61e02de",
+ "persistent": true,
+ "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions",
+ "requiredScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2",
+ "insertionIndex": 20
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json
new file mode 100644
index 0000000000..bd4c1f2063
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json
@@ -0,0 +1,50 @@
+{
+ "id": "d0d80ef0-4ed2-426c-a569-45a7a871301d",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
+ "method": "GET",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.squirrel-girl-preview+json"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:28 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "W/\"d4a6e926798ba7f082f8499aefcd20a98e61eee4fbf391067627b75e9b2e7d58\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4975",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "25",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF86:0C3F:564540:580411:62B1FD64"
+ }
+ },
+ "uuid": "d0d80ef0-4ed2-426c-a569-45a7a871301d",
+ "persistent": true,
+ "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions",
+ "requiredScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2",
+ "newScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-3",
+ "insertionIndex": 21
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json
similarity index 53%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-10.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json
index dab44cdc59..d1c9a8bc1c 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-10.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json
@@ -1,8 +1,8 @@
{
- "id": "70939cf8-8f75-4e59-9256-8ee42f189524",
- "name": "repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions",
+ "id": "be8ab32b-e885-4806-b87f-3db5973ef7e4",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
"method": "GET",
"headers": {
"Accept": {
@@ -12,23 +12,24 @@
},
"response": {
"status": 200,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-10.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:14 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:29 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"22723d49ff74aa1c54569ef296aeda406c960c316d11cf7ba181866b642546f4\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"b6ff492e1af9b061cffc7f5c9a251fbd428c9ebb996765012582d54b8799977a\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4973",
- "X-RateLimit-Reset": "1649510049",
+ "X-RateLimit-Reset": "1655835493",
"X-RateLimit-Used": "27",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
@@ -37,13 +38,12 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF3A:020B:2F04DA:33D3B6:625178D2"
+ "X-GitHub-Request-Id": "AF8A:6280:3800FF:398241:62B1FD65"
}
},
- "uuid": "70939cf8-8f75-4e59-9256-8ee42f189524",
+ "uuid": "be8ab32b-e885-4806-b87f-3db5973ef7e4",
"persistent": true,
- "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-846624633-reactions",
- "requiredScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-846624633-reactions-2",
- "newScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-846624633-reactions-3",
- "insertionIndex": 10
+ "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions",
+ "requiredScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-3",
+ "insertionIndex": 23
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json
similarity index 60%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-9.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json
index f571e74a36..738a0056d2 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-9.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json
@@ -1,8 +1,8 @@
{
- "id": "0e508b89-abf3-440e-b24e-26f7b2d76c84",
- "name": "repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions",
+ "id": "6148fd96-101d-45af-984a-53407454b15c",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions",
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions",
"method": "POST",
"headers": {
"Accept": {
@@ -11,7 +11,7 @@
},
"bodyPatterns": [
{
- "equalToJson": "{\"content\":\"confused\"}",
+ "equalToJson": "{\"content\":\"eyes\"}",
"ignoreArrayOrder": true,
"ignoreExtraElements": false
}
@@ -19,24 +19,25 @@
},
"response": {
"status": 201,
- "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions-9.json",
+ "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:14 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:21 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "\"ae9288e2df123795faa1b32ddb5e80ae7493cc7e64a6508a9edc21242a352f70\"",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "\"e21c10f436977c155cb2612b9a13066a568a4c8b1e82c1ca3b0218bd50064771\"",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4974",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "26",
+ "X-RateLimit-Remaining": "4987",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "13",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -44,10 +45,10 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF36:1172D:10107B5:10737FF:625178D2"
+ "X-GitHub-Request-Id": "AF6E:0C3E:33A10C:351889:62B1FD5D"
}
},
- "uuid": "0e508b89-abf3-440e-b24e-26f7b2d76c84",
+ "uuid": "6148fd96-101d-45af-984a-53407454b15c",
"persistent": true,
"insertionIndex": 9
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions_158534106-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255-18.json
similarity index 54%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions_158534106-11.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255-18.json
index 88deaf8afb..5ca5dfc6b5 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions_158534106-11.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255-18.json
@@ -1,8 +1,8 @@
{
- "id": "b155959e-9d88-4005-8b62-0b5bed5f472b",
- "name": "repos_hub4j-test-org_github-api_pulls_comments_846624633_reactions_158534106",
+ "id": "9bd41cb3-3253-4048-b7a2-1af59a2e7f3e",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255",
"request": {
- "url": "/repos/hub4j-test-org/github-api/pulls/comments/846624633/reactions/158534106",
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions/170855255",
"method": "DELETE",
"headers": {
"Accept": {
@@ -14,14 +14,15 @@
"status": 204,
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:15 GMT",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "Date": "Tue, 21 Jun 2022 17:18:27 GMT",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4972",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "28",
+ "X-RateLimit-Remaining": "4978",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "22",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -30,10 +31,10 @@
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
"Vary": "Accept-Encoding, Accept, X-Requested-With",
- "X-GitHub-Request-Id": "BF3C:AE8F:16D6665:1744FC2:625178D2"
+ "X-GitHub-Request-Id": "AF80:F6CA:5C7943:5E384F:62B1FD62"
}
},
- "uuid": "b155959e-9d88-4005-8b62-0b5bed5f472b",
+ "uuid": "9bd41cb3-3253-4048-b7a2-1af59a2e7f3e",
"persistent": true,
- "insertionIndex": 11
+ "insertionIndex": 18
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273-22.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273-22.json
new file mode 100644
index 0000000000..d2e0832189
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273-22.json
@@ -0,0 +1,40 @@
+{
+ "id": "8283bae4-a7cb-47db-825f-32c28f9e3405",
+ "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273",
+ "request": {
+ "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions/170855273",
+ "method": "DELETE",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.v3+json"
+ }
+ }
+ },
+ "response": {
+ "status": 204,
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:29 GMT",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4974",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "26",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "Vary": "Accept-Encoding, Accept, X-Requested-With",
+ "X-GitHub-Request-Id": "AF88:13948:352972:369BE1:62B1FD65"
+ }
+ },
+ "uuid": "8283bae4-a7cb-47db-825f-32c28f9e3405",
+ "persistent": true,
+ "insertionIndex": 22
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_gsmet-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/user-1.json
similarity index 57%
rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_gsmet-7.json
rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/user-1.json
index 1ee128743a..ab85673cfe 100644
--- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_gsmet-7.json
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/user-1.json
@@ -1,8 +1,8 @@
{
- "id": "fbbefaa4-e379-4bf4-8e00-98075d7733a5",
- "name": "users_gsmet",
+ "id": "3609dba6-8516-4729-b4f3-09a0d352e3aa",
+ "name": "user",
"request": {
- "url": "/users/gsmet",
+ "url": "/user",
"method": "GET",
"headers": {
"Accept": {
@@ -12,25 +12,26 @@
},
"response": {
"status": 200,
- "bodyFileName": "users_gsmet-7.json",
+ "bodyFileName": "user-1.json",
"headers": {
"Server": "GitHub.com",
- "Date": "Sat, 09 Apr 2022 12:15:14 GMT",
+ "Date": "Tue, 21 Jun 2022 17:18:13 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With"
],
- "ETag": "W/\"605a6e2d9d7f031745f48efc2d00aca72a7f359a6b0da5b1722467b9cf322aa9\"",
- "Last-Modified": "Wed, 06 Apr 2022 15:07:12 GMT",
- "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion",
+ "ETag": "W/\"c08249a37ca4953ffb58ac5b74889c6ce74c4d10ed91dd199fa45e1b93196eef\"",
+ "Last-Modified": "Sun, 19 Jun 2022 00:21:42 GMT",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
"X-GitHub-Media-Type": "github.v3; format=json",
"X-RateLimit-Limit": "5000",
- "X-RateLimit-Remaining": "4976",
- "X-RateLimit-Reset": "1649510049",
- "X-RateLimit-Used": "24",
+ "X-RateLimit-Remaining": "4999",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "1",
"X-RateLimit-Resource": "core",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
@@ -38,10 +39,10 @@
"X-XSS-Protection": "0",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
- "X-GitHub-Request-Id": "BF32:6F18:1774A3E:17E56CF:625178D2"
+ "X-GitHub-Request-Id": "AF5C:10EEE:C39D6:D5504:62B1FD55"
}
},
- "uuid": "fbbefaa4-e379-4bf4-8e00-98075d7733a5",
+ "uuid": "3609dba6-8516-4729-b4f3-09a0d352e3aa",
"persistent": true,
- "insertionIndex": 7
+ "insertionIndex": 1
}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_kisaga-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_kisaga-8.json
new file mode 100644
index 0000000000..14aba63e3d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_kisaga-8.json
@@ -0,0 +1,48 @@
+{
+ "id": "0892a1ba-a9f8-44fe-a199-1c8d3274548f",
+ "name": "users_kisaga",
+ "request": {
+ "url": "/users/kisaga",
+ "method": "GET",
+ "headers": {
+ "Accept": {
+ "equalTo": "application/vnd.github.v3+json"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "users_kisaga-8.json",
+ "headers": {
+ "Server": "GitHub.com",
+ "Date": "Tue, 21 Jun 2022 17:18:20 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding, Accept, X-Requested-With"
+ ],
+ "ETag": "W/\"c08249a37ca4953ffb58ac5b74889c6ce74c4d10ed91dd199fa45e1b93196eef\"",
+ "Last-Modified": "Sun, 19 Jun 2022 00:21:42 GMT",
+ "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow",
+ "X-Accepted-OAuth-Scopes": "",
+ "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC",
+ "X-GitHub-Media-Type": "github.v3; format=json",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4988",
+ "X-RateLimit-Reset": "1655835493",
+ "X-RateLimit-Used": "12",
+ "X-RateLimit-Resource": "core",
+ "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+ "X-Frame-Options": "deny",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "0",
+ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+ "Content-Security-Policy": "default-src 'none'",
+ "X-GitHub-Request-Id": "AF6C:21C5:567FD6:58294B:62B1FD5C"
+ }
+ },
+ "uuid": "0892a1ba-a9f8-44fe-a199-1c8d3274548f",
+ "persistent": true,
+ "insertionIndex": 8
+}
\ No newline at end of file