diff --git a/src/main/java/org/kohsuke/github/GitHubBuilder.java b/src/main/java/org/kohsuke/github/GitHubBuilder.java index 169f87b31..d7b6e639e 100644 --- a/src/main/java/org/kohsuke/github/GitHubBuilder.java +++ b/src/main/java/org/kohsuke/github/GitHubBuilder.java @@ -36,10 +36,11 @@ public class GitHubBuilder implements Cloneable { } /** - * First check if the credentials are configured using the ~/.github properties file. - * - * If no user is specified it means there is no configuration present so check the environment instead. + * First check if the credentials are configured in the environment. + * We use environment first because users are not likely to give required (full) permissions to their default key. * + * If no user is specified it means there is no configuration present, so try using the ~/.github properties file. + ** * If there is still no user it means there are no credentials defined and throw an IOException. * * @return the configured Builder from credentials defined on the system or in the environment. Otherwise returns null. @@ -50,6 +51,11 @@ public class GitHubBuilder implements Cloneable { Exception cause = null; GitHubBuilder builder = null; + builder = fromEnvironment(); + + if (builder.oauthToken != null || builder.user != null) + return builder; + try { builder = fromPropertyFile(); @@ -59,13 +65,7 @@ public class GitHubBuilder implements Cloneable { // fall through cause = e; } - - builder = fromEnvironment(); - - if (builder.oauthToken != null || builder.user != null) - return builder; - else - throw (IOException)new IOException("Failed to resolve credentials from ~/.github or the environment.").initCause(cause); + throw (IOException)new IOException("Failed to resolve credentials from ~/.github or the environment.").initCause(cause); } /** diff --git a/src/test/java/org/kohsuke/HookApp.java b/src/test/java/org/kohsuke/HookApp.java index aac24ddf8..66f6fb7f6 100644 --- a/src/test/java/org/kohsuke/HookApp.java +++ b/src/test/java/org/kohsuke/HookApp.java @@ -26,7 +26,7 @@ public class HookApp { public void doIndex(StaplerRequest req) throws IOException { String str = req.getParameter("payload"); System.out.println(str); - GHEventPayload.PullRequest o = GitHub.connect().parseEventPayload(new StringReader(str),GHEventPayload.PullRequest.class); + GHEventPayload.PullRequest o = GitHub.connect().parseEventPayload(new StringReader(str), GHEventPayload.PullRequest.class); System.out.println(o); } } diff --git a/src/test/java/org/kohsuke/github/AbstractGitHubApiTestBase.java b/src/test/java/org/kohsuke/github/AbstractGitHubApiTestBase.java index c0cd49e31..38ec48d28 100644 --- a/src/test/java/org/kohsuke/github/AbstractGitHubApiTestBase.java +++ b/src/test/java/org/kohsuke/github/AbstractGitHubApiTestBase.java @@ -2,6 +2,7 @@ package org.kohsuke.github; import java.io.FileInputStream; import java.util.Properties; + import org.apache.commons.io.IOUtils; import org.junit.Assert; import org.junit.Assume; @@ -20,7 +21,7 @@ public abstract class AbstractGitHubApiTestBase extends AbstractGitHubApiWireMoc @Before public void setUp() throws Exception { - assumeTrue( "All tests inheriting from this class are not guaranteed to work without proxy", githubApi.isUseProxy()); + assumeTrue("All tests inheriting from this class are not guaranteed to work without proxy", githubApi.isUseProxy()); } protected GHUser getUser() { diff --git a/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java b/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java index 3fa60b2e5..72431ab20 100644 --- a/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java +++ b/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java @@ -23,6 +23,7 @@ import java.util.Properties; import static com.github.tomakehurst.wiremock.client.WireMock.*; import static org.junit.Assume.assumeFalse; +import static org.junit.Assume.assumeTrue; /** * @author Liam Newman @@ -67,7 +68,9 @@ public abstract class AbstractGitHubApiWireMockTest extends Assert { return WireMockConfiguration.options() .dynamicPort() .usingFilesUnderDirectory(baseRecordPath); - }; + } + + ; private static GitHubBuilder createGitHubBuilder() { @@ -89,6 +92,9 @@ public abstract class AbstractGitHubApiWireMockTest extends Assert { // to clutter their event stream. builder = GitHubBuilder.fromProperties(props); } else { + + builder = GitHubBuilder.fromEnvironment(); + builder = GitHubBuilder.fromCredentials(); } } catch (IOException e) { @@ -133,4 +139,25 @@ public abstract class AbstractGitHubApiWireMockTest extends Assert { assumeFalse("Test contains hand written mappings. Only valid when not taking a snapshot.", githubApi.isTakeSnapshot()); } + protected GHUser getUser() { + return getUser(gitHub); + } + + protected static GHUser getUser(GitHub gitHub) { + try { + return gitHub.getMyself(); + } catch (IOException e) { + throw new RuntimeException(e.getMessage(), e); + } + } + + protected void kohsuke() { + // No-op for now + // Generally this means the test is doing something that requires additional access rights + // Not always clear which ones. + // TODO: Add helpers that assert the expected rights using gitHubBeforeAfter and only when proxy is enabled +// String login = getUserTest().getLogin(); +// assumeTrue(login.equals("kohsuke") || login.equals("kohsuke2")); + } + } diff --git a/src/test/java/org/kohsuke/github/AppTest.java b/src/test/java/org/kohsuke/github/AppTest.java index 01ee64f14..e500112fc 100755 --- a/src/test/java/org/kohsuke/github/AppTest.java +++ b/src/test/java/org/kohsuke/github/AppTest.java @@ -5,6 +5,7 @@ import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import org.apache.commons.io.IOUtils; +import org.junit.Ignore; import org.junit.Test; import org.kohsuke.github.GHCommit.File; import org.kohsuke.github.GHOrganization.Permission; @@ -17,22 +18,29 @@ import java.util.Map.Entry; import java.util.regex.Pattern; import static org.hamcrest.CoreMatchers.*; +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.hasProperty; /** * Unit test for simple App. */ -public class AppTest extends AbstractGitHubApiTestBase { +public class AppTest extends AbstractGitHubApiWireMockTest { + static final String GITHUB_API_TEST_REPO = "github-api-test"; + private String getTestRepositoryName() throws IOException { - return getUser().getLogin() + "/github-api-test"; + return GITHUB_API_TEST_ORG + "/" + GITHUB_API_TEST_REPO; } @Test public void testRepoCRUD() throws Exception { String targetName = "github-api-test-rename2"; - deleteRepository("github-api-test-rename"); - deleteRepository(targetName); + cleanupRepository("github-api-test-rename"); + cleanupRepository(targetName); + GHRepository r = gitHub.createRepository("github-api-test-rename", "a test repository", "http://github-api.kohsuke.org/", true); + assertThat(r.hasIssues(), is(true)); + r.enableIssueTracker(false); r.enableDownloads(false); r.enableWiki(false); @@ -43,23 +51,27 @@ public class AppTest extends AbstractGitHubApiTestBase { @Test public void testRepositoryWithAutoInitializationCRUD() throws Exception { String name = "github-api-test-autoinit"; - deleteRepository(name); + cleanupRepository(name); GHRepository r = gitHub.createRepository(name) - .description("a test repository for auto init") - .homepage("http://github-api.kohsuke.org/") - .autoInit(true).create(); + .description("a test repository for auto init") + .homepage("http://github-api.kohsuke.org/") + .autoInit(true).create(); r.enableIssueTracker(false); r.enableDownloads(false); r.enableWiki(false); - Thread.sleep(3000); + if (githubApi.isUseProxy()) { + Thread.sleep(3000); + } assertNotNull(r.getReadme()); getUser().getRepository(name).delete(); } - private void deleteRepository(final String name) throws IOException { - GHRepository repository = getUser().getRepository(name); - if(repository != null) { - repository.delete(); + private void cleanupRepository(final String name) throws IOException { + if (githubApi.isUseProxy()) { + GHRepository repository = getUser(gitHubBeforeAfter).getRepository(name); + if (repository != null) { + repository.delete(); + } } } @@ -74,11 +86,11 @@ public class AppTest extends AbstractGitHubApiTestBase { public void testIssueWithNoComment() throws IOException { GHRepository repository = gitHub.getRepository("kohsuke/test"); List v = repository.getIssue(4).getComments(); - System.out.println(v); + //System.out.println(v); assertTrue(v.isEmpty()); v = repository.getIssue(3).getComments(); - System.out.println(v); + //System.out.println(v); assertTrue(v.size() == 3); } @@ -86,90 +98,105 @@ public class AppTest extends AbstractGitHubApiTestBase { public void testCreateIssue() throws IOException { GHUser u = getUser(); GHRepository repository = getTestRepository(); - GHMilestone milestone = repository.createMilestone(System.currentTimeMillis() + "", "Test Milestone"); + GHMilestone milestone = repository.createMilestone("Test Milestone Title3", "Test Milestone"); GHIssue o = repository.createIssue("testing") - .body("this is body") - .assignee(u) - .label("bug") - .label("question") - .milestone(milestone) - .create(); + .body("this is body") + .assignee(u) + .label("bug") + .label("question") + .milestone(milestone) + .create(); assertNotNull(o); o.close(); } + @Ignore("Needs mocking check") @Test public void testCreateDeployment() throws IOException { GHRepository repository = getTestRepository(); GHDeployment deployment = repository.createDeployment("master") - .payload("{\"user\":\"atmos\",\"room_id\":123456}") - .description("question") - .create(); + .payload("{\"user\":\"atmos\",\"room_id\":123456}") + .description("question") + .create(); assertNotNull(deployment.getCreator()); assertNotNull(deployment.getId()); } + @Ignore("Needs mocking check") @Test public void testListDeployments() throws IOException { GHRepository repository = getTestRepository(); GHDeployment deployment = repository.createDeployment("master") - .payload("{\"user\":\"atmos\",\"room_id\":123456}") - .description("question") - .environment("unittest") - .create(); + .payload("{\"user\":\"atmos\",\"room_id\":123456}") + .description("question") + .environment("unittest") + .create(); assertNotNull(deployment.getCreator()); assertNotNull(deployment.getId()); ArrayList deployments = Lists.newArrayList(repository.listDeployments(null, "master", null, "unittest")); assertNotNull(deployments); assertFalse(Iterables.isEmpty(deployments)); GHDeployment unitTestDeployment = deployments.get(0); - assertEquals("unittest",unitTestDeployment.getEnvironment()); + assertEquals("unittest", unitTestDeployment.getEnvironment()); assertEquals("master", unitTestDeployment.getRef()); } + @Ignore("Needs mocking check") @Test public void testGetDeploymentStatuses() throws IOException { GHRepository repository = getTestRepository(); GHDeployment deployment = repository.createDeployment("master") - .description("question") - .payload("{\"user\":\"atmos\",\"room_id\":123456}") - .create(); + .description("question") + .payload("{\"user\":\"atmos\",\"room_id\":123456}") + .create(); GHDeploymentStatus ghDeploymentStatus = deployment.createStatus(GHDeploymentState.SUCCESS) - .description("success") - .targetUrl("http://www.github.com").create(); + .description("success") + .targetUrl("http://www.github.com").create(); Iterable deploymentStatuses = deployment.listStatuses(); assertNotNull(deploymentStatuses); - assertEquals(1,Iterables.size(deploymentStatuses)); + assertEquals(1, Iterables.size(deploymentStatuses)); assertEquals(ghDeploymentStatus.getId(), Iterables.get(deploymentStatuses, 0).getId()); } + @Ignore("Needs mocking check") @Test public void testGetIssues() throws Exception { - List closedIssues = gitHub.getUser("kohsuke").getRepository("github-api").getIssues(GHIssueState.CLOSED); + List closedIssues = gitHub.getOrganization("github-api").getRepository("github-api").getIssues(GHIssueState.CLOSED); // prior to using PagedIterable GHRepository.getIssues(GHIssueState) would only retrieve 30 issues assertTrue(closedIssues.size() > 30); } private GHRepository getTestRepository() throws IOException { - GHRepository repository; - try { - repository = gitHub.getRepository(getTestRepositoryName()); - } catch (IOException e) { - repository = gitHub.createRepository("github-api-test", "A test repository for testing" + - "the github-api project", "http://github-api.kohsuke.org/", true); + if (githubApi.isUseProxy()) { + GHRepository repository = gitHubBeforeAfter + .getOrganization(GITHUB_API_TEST_ORG) + .getRepository(GITHUB_API_TEST_REPO); + if (repository != null) { + repository.delete(); + } + + repository = gitHubBeforeAfter.getOrganization(GITHUB_API_TEST_ORG) + .createRepository(GITHUB_API_TEST_REPO) + .description("A test repository for testing the github-api project") + .homepage("http://github-api.kohsuke.org/") + .autoInit(true) + .create(); try { Thread.sleep(2000); - } catch (InterruptedException e1) { + } catch (InterruptedException e) { throw new RuntimeException(e.getMessage(), e); } repository.enableIssueTracker(true); repository.enableDownloads(true); repository.enableWiki(true); } - return repository; + + return gitHub.getRepository(getTestRepositoryName()); + } + @Ignore("Needs mocking check") @Test public void testListIssues() throws IOException { GHUser u = getUser(); @@ -181,17 +208,17 @@ public class AppTest extends AbstractGitHubApiTestBase { GHIssue homed = null; try { unhomed = repository.createIssue("testing").body("this is body") - .assignee(u) - .label("bug") - .label("question") - .create(); + .assignee(u) + .label("bug") + .label("question") + .create(); assertEquals(unhomed.getNumber(), repository.getIssues(GHIssueState.OPEN, null).get(0).getNumber()); homed = repository.createIssue("testing").body("this is body") - .assignee(u) - .label("bug") - .label("question") - .milestone(milestone) - .create(); + .assignee(u) + .label("bug") + .label("question") + .milestone(milestone) + .create(); assertEquals(homed.getNumber(), repository.getIssues(GHIssueState.OPEN, milestone).get(0).getNumber()); } finally { if (unhomed != null) { @@ -215,6 +242,7 @@ public class AppTest extends AbstractGitHubApiTestBase { System.out.println(org); } + @Ignore("Needs mocking check") @Test public void testMyOrganizationsContainMyTeams() throws IOException { Map> teams = gitHub.getMyTeams(); @@ -223,7 +251,8 @@ public class AppTest extends AbstractGitHubApiTestBase { //https://help.github.com/articles/about-improved-organization-permissions/ assertTrue(myOrganizations.keySet().containsAll(teams.keySet())); } - + + @Ignore("Needs mocking check") @Test public void testMyTeamsShouldIncludeMyself() throws IOException { Map> teams = gitHub.getMyTeams(); @@ -232,8 +261,8 @@ public class AppTest extends AbstractGitHubApiTestBase { for (GHTeam team : teamsPerOrg.getValue()) { String teamName = team.getName(); assertTrue("Team " + teamName + " in organization " + organizationName - + " does not contain myself", - shouldBelongToTeam(organizationName, teamName)); + + " does not contain myself", + shouldBelongToTeam(organizationName, teamName)); } } } @@ -245,29 +274,32 @@ public class AppTest extends AbstractGitHubApiTestBase { assertNotNull(team); return team.hasMember(gitHub.getMyself()); } - + + @Ignore("Needs mocking check") @Test public void testShouldFetchTeam() throws Exception { - GHOrganization j = gitHub.getOrganization("github-api-test-org"); + GHOrganization j = gitHub.getOrganization(GITHUB_API_TEST_ORG); GHTeam teamByName = j.getTeams().get("Core Developers"); GHTeam teamById = gitHub.getTeam(teamByName.getId()); assertNotNull(teamById); - + assertEquals(teamByName, teamById); } + @Ignore("Needs mocking check") @Test public void testFetchPullRequest() throws Exception { GHRepository r = gitHub.getOrganization("jenkinsci").getRepository("jenkins"); - assertEquals("master",r.getMasterBranch()); + assertEquals("master", r.getMasterBranch()); r.getPullRequest(1); r.getPullRequests(GHIssueState.OPEN); } + @Ignore("Needs mocking check") @Test public void testFetchPullRequestAsList() throws Exception { - GHRepository r = gitHub.getRepository("kohsuke/github-api"); + GHRepository r = gitHub.getRepository("github-api/github-api"); assertEquals("master", r.getMasterBranch()); PagedIterable i = r.listPullRequests(GHIssueState.CLOSED); List prs = i.asList(); @@ -275,16 +307,19 @@ public class AppTest extends AbstractGitHubApiTestBase { assertTrue(prs.size() > 0); } + @Ignore("Needs mocking check") @Test public void testRepoPermissions() throws Exception { kohsuke(); - GHRepository r = gitHub.getOrganization("jenkinsci").getRepository("jenkins"); + + GHRepository r = gitHub.getOrganization(GITHUB_API_TEST_ORG).getRepository("github-api"); assertTrue(r.hasPullAccess()); r = gitHub.getOrganization("github").getRepository("hub"); assertFalse(r.hasAdminAccess()); } - + + @Ignore("Needs mocking check") @Test public void testGetMyself() throws Exception { GHMyself me = gitHub.getMyself(); @@ -294,74 +329,83 @@ public class AppTest extends AbstractGitHubApiTestBase { assertTrue(ghRepositories.iterator().hasNext()); } + @Ignore("Needs mocking check") @Test public void testPublicKeys() throws Exception { List keys = gitHub.getMyself().getPublicKeys(); assertFalse(keys.isEmpty()); } + @Ignore("Needs mocking check") @Test public void testOrgFork() throws Exception { kohsuke(); - gitHub.getRepository("kohsuke/rubywm").forkTo(gitHub.getOrganization("github-api-test-org")); + + gitHub.getRepository("kohsuke/rubywm").forkTo(gitHub.getOrganization(GITHUB_API_TEST_ORG)); } + @Ignore("Needs mocking check") @Test public void testGetTeamsForRepo() throws Exception { kohsuke(); // 'Core Developers' and 'Owners' - assertEquals(2, gitHub.getOrganization("github-api-test-org").getRepository("testGetTeamsForRepo").getTeams().size()); + assertEquals(2, gitHub.getOrganization(GITHUB_API_TEST_ORG).getRepository("testGetTeamsForRepo").getTeams().size()); } + @Ignore("Needs mocking check") @Test public void testMembership() throws Exception { - Set members = gitHub.getOrganization("github-api-test-org").getRepository("jenkins").getCollaboratorNames(); + Set members = gitHub.getOrganization(GITHUB_API_TEST_ORG).getRepository("jenkins").getCollaboratorNames(); System.out.println(members.contains("kohsuke")); } + @Ignore("Needs mocking check") @Test public void testMemberOrgs() throws Exception { - Set o = gitHub.getUser("kohsuke").getOrganizations(); - System.out.println(o); + HashSet o = gitHub.getUser("kohsuke").getOrganizations(); + assertThat(o, hasItem(hasProperty("name", equalTo("CloudBees")))); } + @Ignore("Needs mocking check") @Test public void testOrgTeams() throws Exception { kohsuke(); - int sz=0; - for (GHTeam t : gitHub.getOrganization("github-api-test-org").listTeams()) { + int sz = 0; + for (GHTeam t : gitHub.getOrganization(GITHUB_API_TEST_ORG).listTeams()) { assertNotNull(t.getName()); sz++; } assertTrue(sz < 100); } + @Ignore("Needs mocking check") @Test public void testOrgTeamByName() throws Exception { kohsuke(); - GHTeam e = gitHub.getOrganization("github-api-test-org").getTeamByName("Core Developers"); + GHTeam e = gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamByName("Core Developers"); assertNotNull(e); } + @Ignore("Needs mocking check") @Test public void testOrgTeamBySlug() throws Exception { kohsuke(); - GHTeam e = gitHub.getOrganization("github-api-test-org").getTeamBySlug("core-developers"); + GHTeam e = gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamBySlug("core-developers"); assertNotNull(e); } + @Ignore("Needs mocking check") @Test public void testCommit() throws Exception { GHCommit commit = gitHub.getUser("jenkinsci").getRepository("jenkins").getCommit("08c1c9970af4d609ae754fbe803e06186e3206f7"); - System.out.println(commit); assertEquals(1, commit.getParents().size()); - assertEquals(1,commit.getFiles().size()); + assertEquals(1, commit.getFiles().size()); assertEquals("https://github.com/jenkinsci/jenkins/commit/08c1c9970af4d609ae754fbe803e06186e3206f7", - commit.getHtmlUrl().toString()); + commit.getHtmlUrl().toString()); File f = commit.getFiles().get(0); - assertEquals(48,f.getLinesChanged()); - assertEquals("modified",f.getStatus()); + assertEquals(48, f.getLinesChanged()); + assertEquals("modified", f.getStatus()); assertEquals("changelog.html", f.getFileName()); // walk the tree @@ -370,6 +414,7 @@ public class AppTest extends AbstractGitHubApiTestBase { assertNotNull(t.getEntry("war").asTree()); } + @Ignore("Needs mocking check") @Test public void testListCommits() throws Exception { List sha1 = new ArrayList(); @@ -384,21 +429,23 @@ public class AppTest extends AbstractGitHubApiTestBase { public void testQueryCommits() throws Exception { List sha1 = new ArrayList(); for (GHCommit c : gitHub.getUser("jenkinsci").getRepository("jenkins").queryCommits() - .since(new Date(1199174400000L)).until(1201852800000L).path("pom.xml").list()) { + .since(new Date(1199174400000L)).until(1201852800000L).path("pom.xml").list()) { System.out.println(c.getSHA1()); sha1.add(c.getSHA1()); } - assertEquals("1cccddb22e305397151b2b7b87b4b47d74ca337b",sha1.get(0)); + assertEquals("1cccddb22e305397151b2b7b87b4b47d74ca337b", sha1.get(0)); assertEquals(29, sha1.size()); } + @Ignore("Needs mocking check") @Test public void testBranches() throws Exception { - Map b = - gitHub.getUser("jenkinsci").getRepository("jenkins").getBranches(); + Map b = + gitHub.getUser("jenkinsci").getRepository("jenkins").getBranches(); System.out.println(b); } + @Ignore("Needs mocking check") @Test public void testCommitComment() throws Exception { GHRepository r = gitHub.getUser("jenkinsci").getRepository("jenkins"); @@ -410,6 +457,7 @@ public class AppTest extends AbstractGitHubApiTestBase { } } + @Ignore("Needs mocking check") @Test public void testCreateCommitComment() throws Exception { GHCommit commit = gitHub.getUser("kohsuke").getRepository("sandbox-ant").getCommit("8ae38db0ea5837313ab5f39d43a6f73de3bd9000"); @@ -420,22 +468,28 @@ public class AppTest extends AbstractGitHubApiTestBase { c.delete(); } + @Ignore("Needs mocking check") @Test public void tryHook() throws Exception { kohsuke(); - GHRepository r = gitHub.getMyself().getRepository("test2"); + GHRepository r = gitHub.getOrganization(GITHUB_API_TEST_ORG).getRepository("github-api"); GHHook hook = r.createWebHook(new URL("http://www.google.com/")); System.out.println(hook); - for (GHHook h : r.getHooks()) - h.delete(); + if (githubApi.isUseProxy()) { + r = gitHubBeforeAfter.getOrganization(GITHUB_API_TEST_ORG).getRepository("github-api"); + for (GHHook h : r.getHooks()) { + h.delete(); + } + } } - + + @Ignore("Needs mocking check") @Test public void testEventApi() throws Exception { for (GHEventInfo ev : gitHub.getEvents()) { System.out.println(ev); - if (ev.getType()==GHEvent.PULL_REQUEST) { + if (ev.getType() == GHEvent.PULL_REQUEST) { GHEventPayload.PullRequest pr = ev.getPayload(GHEventPayload.PullRequest.class); System.out.println(pr.getNumber()); System.out.println(pr.getPullRequest()); @@ -443,6 +497,7 @@ public class AppTest extends AbstractGitHubApiTestBase { } } + @Ignore("Needs mocking check") @Test public void testApp() throws IOException { System.out.println(gitHub.getMyself().getEmails()); @@ -479,19 +534,19 @@ public class AppTest extends AbstractGitHubApiTestBase { // r. // GitHub hub = GitHub.connectAnonymously(); //// hub.createRepository("test","test repository",null,true); -//// hub.getUser("kohsuke").getRepository("test").delete(); +//// hub.getUserTest("kohsuke").getRepository("test").delete(); // -// System.out.println(hub.getUser("kohsuke").getRepository("hudson").getCollaborators()); +// System.out.println(hub.getUserTest("kohsuke").getRepository("hudson").getCollaborators()); } private void tryDisablingIssueTrackers(GitHub gitHub) throws IOException { for (GHRepository r : gitHub.getOrganization("jenkinsci").getRepositories().values()) { if (r.hasIssues()) { - if (r.getOpenIssueCount()==0) { - System.out.println("DISABLED "+r.getName()); + if (r.getOpenIssueCount() == 0) { + System.out.println("DISABLED " + r.getName()); r.enableIssueTracker(false); } else { - System.out.println("UNTOUCHED "+r.getName()); + System.out.println("UNTOUCHED " + r.getName()); } } } @@ -500,7 +555,7 @@ public class AppTest extends AbstractGitHubApiTestBase { private void tryDisablingWiki(GitHub gitHub) throws IOException { for (GHRepository r : gitHub.getOrganization("jenkinsci").getRepositories().values()) { if (r.hasWiki()) { - System.out.println("DISABLED "+r.getName()); + System.out.println("DISABLED " + r.getName()); r.enableWiki(false); } } @@ -532,6 +587,7 @@ public class AppTest extends AbstractGitHubApiTestBase { System.out.println(hooks); } + @Ignore("Needs mocking check") @Test public void testOrgRepositories() throws IOException { kohsuke(); @@ -541,11 +597,12 @@ public class AppTest extends AbstractGitHubApiTestBase { long end = System.currentTimeMillis(); System.out.printf("%d repositories in %dms\n", repos.size(), end - start); } - + + @Ignore("Needs mocking check") @Test public void testOrganization() throws IOException { kohsuke(); - GHOrganization j = gitHub.getOrganization("github-api-test-org"); + GHOrganization j = gitHub.getOrganization(GITHUB_API_TEST_ORG); GHTeam t = j.getTeams().get("Core Developers"); assertNotNull(j.getRepository("jenkins")); @@ -553,9 +610,10 @@ public class AppTest extends AbstractGitHubApiTestBase { // t.add(labs.getRepository("xyz")); } + @Ignore("Needs mocking check") @Test public void testCommitStatus() throws Exception { - GHRepository r = gitHub.getRepository("kohsuke/github-api"); + GHRepository r = gitHub.getRepository("github-api/github-api"); GHCommitStatus state; @@ -564,18 +622,20 @@ public class AppTest extends AbstractGitHubApiTestBase { List lst = r.listCommitStatuses("ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396").asList(); state = lst.get(0); System.out.println(state); - assertEquals("testing!",state.getDescription()); + assertEquals("testing!", state.getDescription()); assertEquals("http://kohsuke.org/", state.getTargetUrl()); } - + + @Ignore("Needs mocking check") @Test public void testCommitShortInfo() throws Exception { - GHRepository r = gitHub.getRepository("kohsuke/github-api"); + GHRepository r = gitHub.getRepository("github-api/github-api"); GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f23"); assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Kohsuke Kawaguchi"); assertEquals(commit.getCommitShortInfo().getMessage(), "doc"); } + @Ignore("Needs mocking check") @Test public void testPullRequestPopulate() throws Exception { GHRepository r = gitHub.getUser("kohsuke").getRepository("github-api"); @@ -584,6 +644,7 @@ public class AppTest extends AbstractGitHubApiTestBase { assertNotNull(u.getName()); } + @Ignore("Needs mocking check") @Test public void testCheckMembership() throws Exception { kohsuke(); @@ -598,6 +659,7 @@ public class AppTest extends AbstractGitHubApiTestBase { assertFalse(j.hasPublicMember(b)); } + @Ignore("Needs mocking check") @Test public void testCreateRelease() throws Exception { kohsuke(); @@ -608,9 +670,9 @@ public class AppTest extends AbstractGitHubApiTestBase { String releaseName = "release-" + tagName; GHRelease rel = r.createRelease(tagName) - .name(releaseName) - .prerelease(false) - .create(); + .name(releaseName) + .prerelease(false) + .create(); Thread.sleep(3000); @@ -619,8 +681,8 @@ public class AppTest extends AbstractGitHubApiTestBase { for (GHTag tag : r.listTags()) { if (tagName.equals(tag.getName())) { String ash = tag.getCommit().getSHA1(); - GHRef ref = r.createRef("refs/heads/"+releaseName, ash); - assertEquals(ref.getRef(),"refs/heads/"+releaseName); + GHRef ref = r.createRef("refs/heads/" + releaseName, ash); + assertEquals(ref.getRef(), "refs/heads/" + releaseName); for (Map.Entry entry : r.getBranches().entrySet()) { System.out.println(entry.getKey() + "/" + entry.getValue()); @@ -637,12 +699,14 @@ public class AppTest extends AbstractGitHubApiTestBase { } } + @Ignore("Needs mocking check") @Test public void testRef() throws IOException { GHRef masterRef = gitHub.getRepository("jenkinsci/jenkins").getRef("heads/master"); assertEquals("https://api.github.com/repos/jenkinsci/jenkins/git/refs/heads/master", masterRef.getUrl().toString()); } + @Ignore("Needs mocking check") @Test public void directoryListing() throws IOException { List children = gitHub.getRepository("jenkinsci/jenkins").getDirectoryContent("core"); @@ -650,12 +714,13 @@ public class AppTest extends AbstractGitHubApiTestBase { System.out.println(c.getName()); if (c.isDirectory()) { for (GHContent d : c.listDirectoryContent()) { - System.out.println(" "+d.getName()); + System.out.println(" " + d.getName()); } } } } - + + @Ignore("Needs mocking check") @Test public void testAddDeployKey() throws IOException { GHRepository myRepository = getTestRepository(); @@ -673,35 +738,39 @@ public class AppTest extends AbstractGitHubApiTestBase { newDeployKey.delete(); } } - + + @Ignore("Needs mocking check") @Test public void testCommitStatusContext() throws IOException { GHRepository myRepository = getTestRepository(); GHRef masterRef = myRepository.getRef("heads/master"); GHCommitStatus commitStatus = myRepository.createCommitStatus(masterRef.getObject().getSha(), GHCommitState.SUCCESS, "http://www.example.com", "test", "test/context"); assertEquals("test/context", commitStatus.getContext()); - + } + @Ignore("Needs mocking check") @Test public void testMemberPagenation() throws IOException { Set all = new HashSet(); - for (GHUser u : gitHub.getOrganization("github-api-test-org").getTeamByName("Core Developers").listMembers()) { + for (GHUser u : gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamByName("Core Developers").listMembers()) { System.out.println(u.getLogin()); all.add(u); } assertFalse(all.isEmpty()); } + @Ignore("Needs mocking check") @Test public void testCommitSearch() throws IOException { PagedSearchIterable r = gitHub.searchCommits().author("kohsuke").list(); assertTrue(r.getTotalCount() > 0); - + GHCommit firstCommit = r.iterator().next(); assertTrue(firstCommit.getFiles().size() > 0); } + @Ignore("Needs mocking check") @Test public void testIssueSearch() throws IOException { PagedSearchIterable r = gitHub.searchIssues().mentions("kohsuke").isOpen().list(); @@ -710,33 +779,36 @@ public class AppTest extends AbstractGitHubApiTestBase { } } + @Ignore("Needs mocking check") @Test // issue #99 public void testReadme() throws IOException { GHContent readme = gitHub.getRepository("github-api-test-org/test-readme").getReadme(); - assertEquals(readme.getName(),"README.md"); - assertEquals(readme.getContent(),"This is a markdown readme.\n"); + assertEquals(readme.getName(), "README.md"); + assertEquals(readme.getContent(), "This is a markdown readme.\n"); } - - + + + @Ignore("Needs mocking check") @Test public void testTrees() throws IOException { - GHTree masterTree = gitHub.getRepository("kohsuke/github-api").getTree("master"); + GHTree masterTree = gitHub.getRepository("github-api/github-api").getTree("master"); boolean foundReadme = false; - for(GHTreeEntry e : masterTree.getTree()){ - if("readme".equalsIgnoreCase(e.getPath().replaceAll("\\.md", ""))){ + for (GHTreeEntry e : masterTree.getTree()) { + if ("readme".equalsIgnoreCase(e.getPath().replaceAll("\\.md", ""))) { foundReadme = true; break; } } assertTrue(foundReadme); } - + + @Ignore("Needs mocking check") @Test public void testTreesRecursive() throws IOException { - GHTree masterTree = gitHub.getRepository("kohsuke/github-api").getTreeRecursive("master", 1); + GHTree masterTree = gitHub.getRepository("github-api/github-api").getTreeRecursive("master", 1); boolean foundThisFile = false; - for(GHTreeEntry e : masterTree.getTree()){ - if(e.getPath().endsWith(AppTest.class.getSimpleName() + ".java")){ + for (GHTreeEntry e : masterTree.getTree()) { + if (e.getPath().endsWith(AppTest.class.getSimpleName() + ".java")) { foundThisFile = true; break; } @@ -744,6 +816,7 @@ public class AppTest extends AbstractGitHubApiTestBase { assertTrue(foundThisFile); } + @Ignore("Needs mocking check") @Test public void testRepoLabel() throws IOException { GHRepository r = gitHub.getRepository("github-api-test-org/test-labels"); @@ -753,9 +826,9 @@ public class AppTest extends AbstractGitHubApiTestBase { } assertTrue(lst.size() > 5); GHLabel e = r.getLabel("enhancement"); - assertEquals("enhancement",e.getName()); + assertEquals("enhancement", e.getName()); assertNotNull(e.getUrl()); - assertTrue(Pattern.matches("[0-9a-fA-F]{6}",e.getColor())); + assertTrue(Pattern.matches("[0-9a-fA-F]{6}", e.getColor())); {// CRUD GHLabel t = r.createLabel("test", "123456"); @@ -772,10 +845,11 @@ public class AppTest extends AbstractGitHubApiTestBase { } } + @Ignore("Needs mocking check") @Test public void testSubscribers() throws IOException { boolean kohsuke = false; - GHRepository mr = gitHub.getRepository("kohsuke/github-api"); + GHRepository mr = gitHub.getRepository("github-api/github-api"); for (GHUser u : mr.listSubscribers()) { System.out.println(u.getLogin()); kohsuke |= u.getLogin().equals("kohsuke"); @@ -791,21 +865,23 @@ public class AppTest extends AbstractGitHubApiTestBase { assertTrue(githubApi); } + @Ignore("Needs mocking check") @Test public void testListAllRepositories() throws Exception { Iterator itr = gitHub.listAllPublicRepositories().iterator(); - for (int i=0; i<30; i++) { + for (int i = 0; i < 30; i++) { assertTrue(itr.hasNext()); GHRepository r = itr.next(); System.out.println(r.getFullName()); assertNotNull(r.getUrl()); - assertNotEquals(0L,r.getId()); + assertNotEquals(0L, r.getId()); } } + @Ignore("Needs mocking check") @Test // issue #162 public void testIssue162() throws Exception { - GHRepository r = gitHub.getRepository("kohsuke/github-api"); + GHRepository r = gitHub.getRepository("github-api/github-api"); List contents = r.getDirectoryContent("", "gh-pages"); for (GHContent content : contents) { if (content.isFile()) { @@ -817,11 +893,12 @@ public class AppTest extends AbstractGitHubApiTestBase { } } + @Ignore("Needs mocking check") @Test public void markDown() throws Exception { assertEquals("

Test日本語

", IOUtils.toString(gitHub.renderMarkdown("**Test日本語**")).trim()); - String actual = IOUtils.toString(gitHub.getRepository("kohsuke/github-api").renderMarkdown("@kohsuke to fix issue #1", MarkdownMode.GFM)); + String actual = IOUtils.toString(gitHub.getRepository("github-api/github-api").renderMarkdown("@kohsuke to fix issue #1", MarkdownMode.GFM)); System.out.println(actual); assertTrue(actual.contains("href=\"https://github.com/kohsuke\"")); assertTrue(actual.contains("href=\"https://github.com/kohsuke/github-api/pull/1\"")); @@ -830,6 +907,7 @@ public class AppTest extends AbstractGitHubApiTestBase { assertTrue(actual.contains("to fix issue")); } + @Ignore("Needs mocking check") @Test public void searchUsers() throws Exception { PagedSearchIterable r = gitHub.searchUsers().q("tom").repos(">42").followers(">1000").list(); @@ -839,6 +917,7 @@ public class AppTest extends AbstractGitHubApiTestBase { assertTrue(r.getTotalCount() > 0); } + @Ignore("Needs mocking check") @Test public void searchRepositories() throws Exception { PagedSearchIterable r = gitHub.searchRepositories().q("tetris").language("assembly").sort(GHRepositorySearchBuilder.Sort.STARS).list(); @@ -849,6 +928,7 @@ public class AppTest extends AbstractGitHubApiTestBase { assertTrue(r.getTotalCount() > 0); } + @Ignore("Needs mocking check") @Test public void searchContent() throws Exception { PagedSearchIterable r = gitHub.searchContent().q("addClass").in("file").language("js").repo("jquery/jquery").list(); @@ -856,13 +936,14 @@ public class AppTest extends AbstractGitHubApiTestBase { System.out.println(c.getName()); assertNotNull(c.getDownloadUrl()); assertNotNull(c.getOwner()); - assertEquals("jquery/jquery",c.getOwner().getFullName()); + assertEquals("jquery/jquery", c.getOwner().getFullName()); assertTrue(r.getTotalCount() > 0); } + @Ignore("Needs mocking check") @Test public void notifications() throws Exception { - boolean found=false; + boolean found = false; for (GHThread t : gitHub.listNotifications().nonBlocking(true).read(true)) { if (!found) { found = true; @@ -883,6 +964,7 @@ public class AppTest extends AbstractGitHubApiTestBase { /** * Just basic code coverage to make sure toString() doesn't blow up */ + @Ignore("Needs mocking check") @Test public void checkToString() throws Exception { GHUser u = gitHub.getUser("rails"); @@ -892,53 +974,56 @@ public class AppTest extends AbstractGitHubApiTestBase { System.out.println(r.getIssue(1)); } + @Ignore("Needs mocking check") @Test public void reactions() throws Exception { - GHIssue i = gitHub.getRepository("kohsuke/github-api").getIssue(311); + GHIssue i = gitHub.getRepository("github-api/github-api").getIssue(311); // retrieval GHReaction r = i.listReactions().iterator().next(); assertThat(r.getUser().getLogin(), is("kohsuke")); - assertThat(r.getContent(),is(ReactionContent.HEART)); + assertThat(r.getContent(), is(ReactionContent.HEART)); // CRUD GHReaction a = i.createReaction(ReactionContent.HOORAY); - assertThat(a.getUser().getLogin(),is(gitHub.getMyself().getLogin())); + assertThat(a.getUser().getLogin(), is(gitHub.getMyself().getLogin())); a.delete(); } + @Ignore("Needs mocking check") @Test public void listOrgMemberships() throws Exception { GHMyself me = gitHub.getMyself(); for (GHMembership m : me.listOrgMemberships()) { - assertThat(m.getUser(), is((GHUser)me)); + assertThat(m.getUser(), is((GHUser) me)); assertNotNull(m.getState()); assertNotNull(m.getRole()); System.out.printf("%s %s %s\n", - m.getOrganization().getLogin(), - m.getState(), - m.getRole()); + m.getOrganization().getLogin(), + m.getState(), + m.getRole()); } } + @Ignore("Needs mocking check") @Test public void blob() throws Exception { - GHRepository r = gitHub.getRepository("kohsuke/github-api"); + GHRepository r = gitHub.getRepository("github-api/github-api"); String sha1 = "a12243f2fc5b8c2ba47dd677d0b0c7583539584d"; assertBlobContent(r.readBlob(sha1)); GHBlob blob = r.getBlob(sha1); assertBlobContent(blob.read()); - assertThat(blob.getSha(),is("a12243f2fc5b8c2ba47dd677d0b0c7583539584d")); - assertThat(blob.getSize(),is(1104L)); + assertThat(blob.getSha(), is("a12243f2fc5b8c2ba47dd677d0b0c7583539584d")); + assertThat(blob.getSize(), is(1104L)); } private void assertBlobContent(InputStream is) throws Exception { - String content = new String(IOUtils.toByteArray(is),"UTF-8"); - assertThat(content,containsString("Copyright (c) 2011- Kohsuke Kawaguchi and other contributors")); - assertThat(content,containsString("FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR")); - assertThat(content.length(),is(1104)); + String content = new String(IOUtils.toByteArray(is), "UTF-8"); + assertThat(content, containsString("Copyright (c) 2011- Kohsuke Kawaguchi and other contributors")); + assertThat(content, containsString("FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR")); + assertThat(content.length(), is(1104)); } } diff --git a/src/test/java/org/kohsuke/github/CommitTest.java b/src/test/java/org/kohsuke/github/CommitTest.java index 4c28bd83f..9a199700a 100644 --- a/src/test/java/org/kohsuke/github/CommitTest.java +++ b/src/test/java/org/kohsuke/github/CommitTest.java @@ -20,7 +20,7 @@ public class CommitTest extends AbstractGitHubApiWireMockTest { GHRepository repo = gitHub.getRepository("stapler/stapler"); PagedIterable commits = repo.queryCommits().path("pom.xml").list(); for (GHCommit commit : Iterables.limit(commits, 10)) { - GHCommit expected = repo.getCommit( commit.getSHA1() ); + GHCommit expected = repo.getCommit(commit.getSHA1()); assertEquals(expected.getFiles().size(), commit.getFiles().size()); } } diff --git a/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java b/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java index 19e42c51b..63f142a3f 100644 --- a/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java +++ b/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java @@ -49,25 +49,25 @@ public class GHBranchProtectionTest extends AbstractGitHubApiTestBase { public void testEnableBranchProtections() throws Exception { // team/user restrictions require an organization repo to test against GHBranchProtection protection = branch.enableProtection() - .addRequiredChecks("test-status-check") - .requireBranchIsUpToDate() - .requireCodeOwnReviews() - .dismissStaleReviews() - .requiredReviewers(2) - .includeAdmins() - .enable(); + .addRequiredChecks("test-status-check") + .requireBranchIsUpToDate() + .requireCodeOwnReviews() + .dismissStaleReviews() + .requiredReviewers(2) + .includeAdmins() + .enable(); RequiredStatusChecks statusChecks = protection.getRequiredStatusChecks(); assertNotNull(statusChecks); assertTrue(statusChecks.isRequiresBranchUpToDate()); assertTrue(statusChecks.getContexts().contains("test-status-check")); - + RequiredReviews requiredReviews = protection.getRequiredReviews(); assertNotNull(requiredReviews); assertTrue(requiredReviews.isDismissStaleReviews()); assertTrue(requiredReviews.isRequireCodeOwnerReviews()); assertEquals(2, requiredReviews.getRequiredReviewers()); - + EnforceAdmins enforceAdmins = protection.getEnforceAdmins(); assertNotNull(enforceAdmins); assertTrue(enforceAdmins.isEnabled()); @@ -82,10 +82,10 @@ public class GHBranchProtectionTest extends AbstractGitHubApiTestBase { @Test public void testEnableRequireReviewsOnly() throws Exception { GHBranchProtection protection = branch.enableProtection() - .requireReviews() - .enable(); - - assertNotNull(protection.getRequiredReviews()); + .requireReviews() + .enable(); + + assertNotNull(protection.getRequiredReviews()); } @Test diff --git a/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java b/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java index 4b8bf72d6..93491fd62 100644 --- a/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java +++ b/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java @@ -54,7 +54,7 @@ public class GHContentIntegrationTest extends AbstractGitHubApiTestBase { @Test public void testCRUDContent() throws Exception { GHContentUpdateResponse created = - repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename); + repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename); GHContent createdContent = created.getContent(); assertNotNull(created.getCommit()); diff --git a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java index b0c2a0540..5287f4dab 100644 --- a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java +++ b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java @@ -15,7 +15,7 @@ public class GHEventPayloadTest { @Test public void commit_comment() throws Exception { GHEventPayload.CommitComment event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.CommitComment.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.CommitComment.class); assertThat(event.getAction(), is("created")); assertThat(event.getComment().getSHA1(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); assertThat(event.getComment().getUser().getLogin(), is("baxterthehacker")); @@ -27,7 +27,7 @@ public class GHEventPayloadTest { @Test public void create() throws Exception { GHEventPayload.Create event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Create.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Create.class); assertThat(event.getRef(), is("0.0.1")); assertThat(event.getRefType(), is("tag")); assertThat(event.getMasterBranch(), is("master")); @@ -40,7 +40,7 @@ public class GHEventPayloadTest { @Test public void delete() throws Exception { GHEventPayload.Delete event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Delete.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Delete.class); assertThat(event.getRef(), is("simple-tag")); assertThat(event.getRefType(), is("tag")); assertThat(event.getRepository().getName(), is("public-repo")); @@ -51,7 +51,7 @@ public class GHEventPayloadTest { @Test public void deployment() throws Exception { GHEventPayload.Deployment event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Deployment.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Deployment.class); assertThat(event.getDeployment().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); assertThat(event.getDeployment().getEnvironment(), is("production")); assertThat(event.getDeployment().getCreator().getLogin(), is("baxterthehacker")); @@ -63,7 +63,7 @@ public class GHEventPayloadTest { @Test public void deployment_status() throws Exception { GHEventPayload.DeploymentStatus event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.DeploymentStatus.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.DeploymentStatus.class); assertThat(event.getDeploymentStatus().getState(), is(GHDeploymentState.SUCCESS)); assertThat(event.getDeploymentStatus().getTargetUrl(), nullValue()); assertThat(event.getDeployment().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); @@ -77,7 +77,7 @@ public class GHEventPayloadTest { @Test public void fork() throws Exception { GHEventPayload.Fork event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Fork.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Fork.class); assertThat(event.getForkee().getName(), is("public-repo")); assertThat(event.getForkee().getOwner().getLogin(), is("baxterandthehackers")); assertThat(event.getRepository().getName(), is("public-repo")); @@ -106,7 +106,7 @@ public class GHEventPayloadTest { @Test public void issue_comment() throws Exception { GHEventPayload.IssueComment event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.IssueComment.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.IssueComment.class); assertThat(event.getAction(), is("created")); assertThat(event.getIssue().getNumber(), is(2)); assertThat(event.getIssue().getTitle(), is("Spelling error in the README file")); @@ -122,8 +122,8 @@ public class GHEventPayloadTest { @Test public void issues() throws Exception { - GHEventPayload.Issue event = GitHub.offline().parseEventPayload(payload.asReader(),GHEventPayload.Issue.class); - assertThat(event.getAction(),is("opened")); + GHEventPayload.Issue event = GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Issue.class); + assertThat(event.getAction(), is("opened")); assertThat(event.getIssue().getNumber(), is(2)); assertThat(event.getIssue().getTitle(), is("Spelling error in the README file")); assertThat(event.getIssue().getState(), is(GHIssueState.OPEN)); @@ -158,7 +158,7 @@ public class GHEventPayloadTest { @Payload("public") public void public_() throws Exception { GHEventPayload.Public event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Public.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Public.class); assertThat(event.getRepository().getName(), is("public-repo")); assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker")); assertThat(event.getSender().getLogin(), is("baxterthehacker")); @@ -167,13 +167,13 @@ public class GHEventPayloadTest { @Test public void pull_request() throws Exception { GHEventPayload.PullRequest event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.PullRequest.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.PullRequest.class); assertThat(event.getAction(), is("opened")); assertThat(event.getNumber(), is(1)); assertThat(event.getPullRequest().getNumber(), is(1)); assertThat(event.getPullRequest().getTitle(), is("Update the README with new information")); assertThat(event.getPullRequest().getBody(), is("This is a pretty simple change that we need to pull into " - + "master.")); + + "master.")); assertThat(event.getPullRequest().getUser().getLogin(), is("baxterthehacker")); assertThat(event.getPullRequest().getHead().getUser().getLogin(), is("baxterthehacker")); assertThat(event.getPullRequest().getHead().getRef(), is("changes")); @@ -200,13 +200,13 @@ public class GHEventPayloadTest { @Test public void pull_request_review() throws Exception { GHEventPayload.PullRequestReview event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.PullRequestReview.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.PullRequestReview.class); assertThat(event.getAction(), is("submitted")); - + assertThat(event.getReview().getId(), is(2626884L)); assertThat(event.getReview().getBody(), is("Looks great!\n")); assertThat(event.getReview().getState(), is(GHPullRequestReviewState.APPROVED)); - + assertThat(event.getPullRequest().getNumber(), is(8)); assertThat(event.getPullRequest().getTitle(), is("Add a README description")); assertThat(event.getPullRequest().getBody(), is("Just a few more details")); @@ -219,21 +219,21 @@ public class GHEventPayloadTest { assertThat(event.getPullRequest().getBase().getRef(), is("master")); assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:master")); assertThat(event.getPullRequest().getBase().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); - + assertThat(event.getRepository().getName(), is("public-repo")); assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker")); - + assertThat(event.getSender().getLogin(), is("baxterthehacker")); } @Test public void pull_request_review_comment() throws Exception { GHEventPayload.PullRequestReviewComment event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.PullRequestReviewComment.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.PullRequestReviewComment.class); assertThat(event.getAction(), is("created")); - + assertThat(event.getComment().getBody(), is("Maybe you should use more emojji on this line.")); - + assertThat(event.getPullRequest().getNumber(), is(1)); assertThat(event.getPullRequest().getTitle(), is("Update the README with new information")); assertThat(event.getPullRequest().getBody(), is("This is a pretty simple change that we need to pull into master.")); @@ -246,17 +246,17 @@ public class GHEventPayloadTest { assertThat(event.getPullRequest().getBase().getRef(), is("master")); assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:master")); assertThat(event.getPullRequest().getBase().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); - + assertThat(event.getRepository().getName(), is("public-repo")); assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker")); - + assertThat(event.getSender().getLogin(), is("baxterthehacker")); } @Test public void push() throws Exception { GHEventPayload.Push event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Push.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Push.class); assertThat(event.getRef(), is("refs/heads/changes")); assertThat(event.getBefore(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); assertThat(event.getHead(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c")); @@ -286,7 +286,7 @@ public class GHEventPayloadTest { @Test public void repository() throws Exception { GHEventPayload.Repository event = - GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Repository.class); + GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Repository.class); assertThat(event.getAction(), is("created")); assertThat(event.getRepository().getName(), is("new-repository")); assertThat(event.getRepository().getOwner().getLogin(), is("baxterandthehackers")); diff --git a/src/test/java/org/kohsuke/github/GHOrganizationTest.java b/src/test/java/org/kohsuke/github/GHOrganizationTest.java index ca32bf72c..2d535d22e 100644 --- a/src/test/java/org/kohsuke/github/GHOrganizationTest.java +++ b/src/test/java/org/kohsuke/github/GHOrganizationTest.java @@ -29,10 +29,10 @@ public class GHOrganizationTest extends AbstractGitHubApiTestBase { @Test public void testCreateRepositoryWithAutoInitialization() throws IOException { GHRepository repository = org.createRepository(GITHUB_API_TEST) - .description("a test repository used to test kohsuke's github-api") - .homepage("http://github-api.kohsuke.org/") - .team(org.getTeamByName("Core Developers")) - .autoInit(true).create(); + .description("a test repository used to test kohsuke's github-api") + .homepage("http://github-api.kohsuke.org/") + .team(org.getTeamByName("Core Developers")) + .autoInit(true).create(); Assert.assertNotNull(repository); Assert.assertNotNull(repository.getReadme()); } @@ -40,8 +40,8 @@ public class GHOrganizationTest extends AbstractGitHubApiTestBase { @After public void cleanUp() throws Exception { if (githubApi.isUseProxy()) { - GHRepository repository = org.getRepository(GITHUB_API_TEST); - repository.delete(); + GHRepository repository = org.getRepository(GITHUB_API_TEST); + repository.delete(); + } } } -} diff --git a/src/test/java/org/kohsuke/github/GHPullRequestTest.java b/src/test/java/org/kohsuke/github/GHPullRequestTest.java index f1b66c802..a628b1b26 100644 --- a/src/test/java/org/kohsuke/github/GHPullRequestTest.java +++ b/src/test/java/org/kohsuke/github/GHPullRequestTest.java @@ -19,7 +19,9 @@ public class GHPullRequestTest extends AbstractGitHubApiWireMockTest { @After public void cleanUp() throws Exception { // Cleanup is only needed when proxying - if (!githubApi.isUseProxy()) return; + if (!githubApi.isUseProxy()) { + return; + } for (GHPullRequest pr : getRepository(this.gitHubBeforeAfter).getPullRequests(GHIssueState.OPEN)) { pr.close(); @@ -53,7 +55,7 @@ public class GHPullRequestTest extends AbstractGitHubApiWireMockTest { } - @Test + @Test public void pullRequestReviews() throws Exception { String name = "testPullRequestReviews"; GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "master", "## test"); @@ -112,9 +114,9 @@ public class GHPullRequestTest extends AbstractGitHubApiWireMockTest { p.getMergeable(); // mergeability computation takes time. give it more chance Thread.sleep(1000); - for (int i=0; i<10; i++) { + for (int i = 0; i < 10; i++) { GHPullRequest updated = getRepository().getPullRequest(p.getNumber()); - if (updated.getMergeable() && updated.getMergeCommitSha()!=null) { + if (updated.getMergeable() && updated.getMergeCommitSha() != null) { // make sure commit exists GHCommit commit = getRepository().getCommit(updated.getMergeCommitSha()); assertNotNull(commit); @@ -164,28 +166,28 @@ public class GHPullRequestTest extends AbstractGitHubApiWireMockTest { Thread.sleep(1000); p.merge("squash merge", null, GHPullRequest.MergeMethod.SQUASH); } - + @Test public void queryPullRequestsQualifiedHead() throws Exception { GHRepository repo = getRepository(); // Create PRs from two different branches to master repo.createPullRequest("queryPullRequestsQualifiedHead_stable", "test/stable", "master", null); repo.createPullRequest("queryPullRequestsQualifiedHead_rc", "test/rc", "master", null); - + // Query by one of the heads and make sure we only get that branch's PR back. List prs = repo.queryPullRequests().state(GHIssueState.OPEN).head("github-api-test-org:test/stable").base("master").list().asList(); assertNotNull(prs); assertEquals(1, prs.size()); assertEquals("test/stable", prs.get(0).getHead().getRef()); } - + @Test public void queryPullRequestsUnqualifiedHead() throws Exception { GHRepository repo = getRepository(); // Create PRs from two different branches to master repo.createPullRequest("queryPullRequestsUnqualifiedHead_stable", "test/stable", "master", null); repo.createPullRequest("queryPullRequestsUnqualifiedHead_rc", "test/rc", "master", null); - + // Query by one of the heads and make sure we only get that branch's PR back. List prs = repo.queryPullRequests().state(GHIssueState.OPEN).head("test/stable").base("master").list().asList(); assertNotNull(prs); @@ -216,8 +218,8 @@ public class GHPullRequestTest extends AbstractGitHubApiWireMockTest { } @Test - public void getUser() throws IOException { - GHPullRequest p = getRepository().createPullRequest("getUser", "test/stable", "master", "## test"); + public void getUserTest() throws IOException { + GHPullRequest p = getRepository().createPullRequest("getUserTest", "test/stable", "master", "## test"); GHPullRequest prSingle = getRepository().getPullRequest(p.getNumber()); assertNotNull(prSingle.getUser().root); prSingle.getMergeable(); diff --git a/src/test/java/org/kohsuke/github/GHRepositoryTest.java b/src/test/java/org/kohsuke/github/GHRepositoryTest.java index c184502cc..d153031b0 100644 --- a/src/test/java/org/kohsuke/github/GHRepositoryTest.java +++ b/src/test/java/org/kohsuke/github/GHRepositoryTest.java @@ -13,36 +13,35 @@ import static org.junit.Assume.assumeFalse; */ public class GHRepositoryTest extends AbstractGitHubApiWireMockTest { - @Test - public void archive() throws Exception { - snapshotNotAllowed(); + @Test + public void archive() throws Exception { + snapshotNotAllowed(); - // Archive is a one-way action in the API. - // We do thi this one - GHRepository repo = getRepository(); + // Archive is a one-way action in the API. + // We do thi this one + GHRepository repo = getRepository(); - assertThat(repo.isArchived(), is(false)); + assertThat(repo.isArchived(), is(false)); - repo.archive(); + repo.archive(); - assertThat(repo.isArchived(), is(true)); - assertThat(getRepository().isArchived(), is(true)); - } + assertThat(repo.isArchived(), is(true)); + assertThat(getRepository().isArchived(), is(true)); + } - @Test - public void getBranch_URLEncoded() throws Exception { - GHRepository repo = getRepository(); - GHBranch branch = repo.getBranch("test/#UrlEncode"); - assertThat(branch.getName(), is("test/#UrlEncode")); - } + @Test + public void getBranch_URLEncoded() throws Exception { + GHRepository repo = getRepository(); + GHBranch branch = repo.getBranch("test/#UrlEncode"); + assertThat(branch.getName(), is("test/#UrlEncode")); + } + protected GHRepository getRepository() throws IOException { + return getRepository(gitHub); + } - protected GHRepository getRepository() throws IOException { - return getRepository(gitHub); - } - - private GHRepository getRepository(GitHub gitHub) throws IOException { - return gitHub.getOrganization("github-api-test-org").getRepository("github-api"); - } + private GHRepository getRepository(GitHub gitHub) throws IOException { + return gitHub.getOrganization("github-api-test-org").getRepository("github-api"); + } } \ No newline at end of file diff --git a/src/test/java/org/kohsuke/github/GistTest.java b/src/test/java/org/kohsuke/github/GistTest.java index d46f07129..c0a090a92 100644 --- a/src/test/java/org/kohsuke/github/GistTest.java +++ b/src/test/java/org/kohsuke/github/GistTest.java @@ -18,11 +18,11 @@ public class GistTest extends AbstractGitHubApiWireMockTest { @Test public void lifecycleTest() throws Exception { GHGist gist = gitHub.createGist() - .public_(false) - .description("Test Gist") - .file("abc.txt","abc") - .file("def.txt","def") - .create(); + .public_(false) + .description("Test Gist") + .file("abc.txt", "abc") + .file("def.txt", "def") + .create(); assertThat(gist.getCreatedAt(), is(notNullValue())); @@ -39,7 +39,7 @@ public class GistTest extends AbstractGitHubApiWireMockTest { @Test public void starTest() throws Exception { GHGist gist = gitHub.getGist("9903708"); - assertEquals("rtyler",gist.getOwner().getLogin()); + assertEquals("rtyler", gist.getOwner().getLogin()); gist.star(); @@ -70,7 +70,7 @@ public class GistTest extends AbstractGitHubApiWireMockTest { assertTrue(gist.isPublic()); - assertEquals(1,gist.getFiles().size()); + assertEquals(1, gist.getFiles().size()); GHGistFile f = gist.getFile("keybase.md"); assertEquals("text/markdown", f.getType()); diff --git a/src/test/java/org/kohsuke/github/GitHubTest.java b/src/test/java/org/kohsuke/github/GitHubTest.java index 962cf9d66..21ea40b59 100644 --- a/src/test/java/org/kohsuke/github/GitHubTest.java +++ b/src/test/java/org/kohsuke/github/GitHubTest.java @@ -41,43 +41,46 @@ public class GitHubTest extends AbstractGitHubApiTestBase { @Test public void testGitHubServerWithHttp() throws Exception { - GitHub hub = GitHub.connectToEnterprise("http://enterprise.kohsuke.org/api/v3", "bogus","bogus"); + GitHub hub = GitHub.connectToEnterprise("http://enterprise.kohsuke.org/api/v3", "bogus", "bogus"); assertEquals("http://enterprise.kohsuke.org/api/v3/test", hub.getApiURL("/test").toString()); } + @Test public void testGitHubServerWithHttps() throws Exception { - GitHub hub = GitHub.connectToEnterprise("https://enterprise.kohsuke.org/api/v3", "bogus","bogus"); + GitHub hub = GitHub.connectToEnterprise("https://enterprise.kohsuke.org/api/v3", "bogus", "bogus"); assertEquals("https://enterprise.kohsuke.org/api/v3/test", hub.getApiURL("/test").toString()); } + @Test public void testGitHubServerWithoutServer() throws Exception { GitHub hub = GitHub.connectUsingPassword("kohsuke", "bogus"); assertEquals("https://api.github.com/test", hub.getApiURL("/test").toString()); } + @Test public void testGitHubBuilderFromEnvironment() throws IOException { - - Mapprops = new HashMap(); - + + Map props = new HashMap(); + props.put("login", "bogus"); props.put("oauth", "bogus"); props.put("password", "bogus"); - + setupEnvironment(props); - + GitHubBuilder builder = GitHubBuilder.fromEnvironment(); - + assertEquals("bogus", builder.user); assertEquals("bogus", builder.oauthToken); assertEquals("bogus", builder.password); - + } - + /* * Copied from StackOverflow: http://stackoverflow.com/a/7201825/2336755 - * + * * This allows changing the in memory process environment. - * + * * Its used to wire in values for the github credentials to test that the GitHubBuilder works properly to resolve them. */ private void setupEnvironment(Map newenv) { @@ -112,6 +115,7 @@ public class GitHubTest extends AbstractGitHubApiTestBase { e1.printStackTrace(); } } + @Test public void testGitHubBuilderFromCustomEnvironment() throws IOException { Map props = new HashMap(); @@ -154,8 +158,8 @@ public class GitHubTest extends AbstractGitHubApiTestBase { @Test public void listUsers() throws IOException { GitHub hub = GitHub.connect(); - for (GHUser u : Iterables.limit(hub.listUsers(),10)) { - assert u.getName()!=null; + for (GHUser u : Iterables.limit(hub.listUsers(), 10)) { + assert u.getName() != null; System.out.println(u.getName()); } } diff --git a/src/test/java/org/kohsuke/github/LifecycleTest.java b/src/test/java/org/kohsuke/github/LifecycleTest.java index c4e1d1e0d..629ccebc9 100644 --- a/src/test/java/org/kohsuke/github/LifecycleTest.java +++ b/src/test/java/org/kohsuke/github/LifecycleTest.java @@ -26,26 +26,26 @@ public class LifecycleTest extends AbstractGitHubApiTestBase { Thread.sleep(1000); } repository = org.createRepository("github-api-test", - "a test repository used to test kohsuke's github-api", "http://github-api.kohsuke.org/", "Core Developers", true); + "a test repository used to test kohsuke's github-api", "http://github-api.kohsuke.org/", "Core Developers", true); Thread.sleep(1000); // wait for the repository to become ready assertTrue(repository.getReleases().isEmpty()); try { GHMilestone milestone = repository.createMilestone("Initial Release", "first one"); GHIssue issue = repository.createIssue("Test Issue") - .body("issue body just for grins") - .milestone(milestone) - .assignee(myself) - .label("bug") - .create(); + .body("issue body just for grins") + .milestone(milestone) + .assignee(myself) + .label("bug") + .create(); File repoDir = new File(System.getProperty("java.io.tmpdir"), "github-api-test"); delete(repoDir); Git origin = Git.cloneRepository() - .setBare(false) - .setURI(repository.getSshUrl()) - .setDirectory(repoDir) - .setCredentialsProvider(getCredentialsProvider(myself)) - .call(); + .setBare(false) + .setURI(repository.getSshUrl()) + .setDirectory(repoDir) + .setCredentialsProvider(getCredentialsProvider(myself)) + .call(); commitTestFile(myself, repoDir, origin); @@ -84,9 +84,9 @@ public class LifecycleTest extends AbstractGitHubApiTestBase { private GHRelease createRelease(GHRepository repository) throws IOException { GHRelease builder = repository.createRelease("release_tag") - .name("Test Release") - .body("How exciting! To be able to programmatically create releases is a dream come true!") - .create(); + .name("Test Release") + .body("How exciting! To be able to programmatically create releases is a dream come true!") + .create(); List releases = repository.getReleases(); assertEquals(1, releases.size()); GHRelease release = releases.get(0); diff --git a/src/test/java/org/kohsuke/github/PayloadRule.java b/src/test/java/org/kohsuke/github/PayloadRule.java index 7f9364fdb..20a6f46ac 100644 --- a/src/test/java/org/kohsuke/github/PayloadRule.java +++ b/src/test/java/org/kohsuke/github/PayloadRule.java @@ -6,6 +6,7 @@ import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.nio.charset.Charset; + import org.apache.commons.io.IOUtils; import org.junit.rules.TestRule; import org.junit.runner.Description; @@ -44,8 +45,8 @@ public class PayloadRule implements TestRule { public InputStream asInputStream() throws FileNotFoundException { String name = resourceName.startsWith("/") - ? resourceName + type - : testClass.getSimpleName() + "/" + resourceName + type; + ? resourceName + type + : testClass.getSimpleName() + "/" + resourceName + type; InputStream stream = testClass.getResourceAsStream(name); if (stream == null) { throw new FileNotFoundException(String.format("Resource %s from class %s", name, testClass)); @@ -81,6 +82,7 @@ public class PayloadRule implements TestRule { public Reader asReader(String encoding) throws IOException { return new InputStreamReader(asInputStream(), encoding); } + public Reader asReader(Charset encoding) throws FileNotFoundException { return new InputStreamReader(asInputStream(), encoding); } diff --git a/src/test/java/org/kohsuke/github/RepositoryMockTest.java b/src/test/java/org/kohsuke/github/RepositoryMockTest.java index 2ff984ef2..c9c65f3c4 100644 --- a/src/test/java/org/kohsuke/github/RepositoryMockTest.java +++ b/src/test/java/org/kohsuke/github/RepositoryMockTest.java @@ -41,14 +41,14 @@ public class RepositoryMockTest { when(iterator.hasNext()).thenReturn(true, false, true); - when(iterator.next()).thenReturn(new GHUser[]{user1}, new GHUser[]{user2}); + when(iterator.next()).thenReturn(new GHUser[] {user1}, new GHUser[] {user2}); Requester requester = Mockito.mock(Requester.class); when(mockGitHub.retrieve()).thenReturn(requester); when(requester.asIterator("/repos/*/*/collaborators", - GHUser[].class, 0)).thenReturn(iterator, iterator); + GHUser[].class, 0)).thenReturn(iterator, iterator); PagedIterable pagedIterable = Mockito.mock(PagedIterable.class); diff --git a/src/test/java/org/kohsuke/github/RepositoryTest.java b/src/test/java/org/kohsuke/github/RepositoryTest.java index 66fe68950..7d0375ce0 100644 --- a/src/test/java/org/kohsuke/github/RepositoryTest.java +++ b/src/test/java/org/kohsuke/github/RepositoryTest.java @@ -26,16 +26,18 @@ public class RepositoryTest extends AbstractGitHubApiTestBase { @Test public void listContributors() throws IOException { GHRepository r = gitHub.getOrganization("stapler").getRepository("stapler"); - int i=0; + int i = 0; boolean kohsuke = false; for (Contributor c : r.listContributors()) { System.out.println(c.getName()); - assertTrue(c.getContributions()>0); - if (c.getLogin().equals("kohsuke")) + assertTrue(c.getContributions() > 0); + if (c.getLogin().equals("kohsuke")) { kohsuke = true; - if (i++ > 5) + } + if (i++ > 5) { break; + } } assertTrue(kohsuke); @@ -67,34 +69,34 @@ public class RepositoryTest extends AbstractGitHubApiTestBase { } } } - - - - @Test - public void LatestRepositoryExist() { - try { - // add the repository that have latest release - GHRelease release = gitHub.getRepository("kamontat/CheckIDNumber").getLatestRelease(); - assertEquals("v3.0", release.getTagName()); - } catch (IOException e) { - e.printStackTrace(); - fail(); - } - } - - @Test - public void LatestRepositoryNotExist() { - try { - // add the repository that `NOT` have latest release - GHRelease release = gitHub.getRepository("kamontat/Java8Example").getLatestRelease(); - assertNull(release); - } catch (IOException e) { - e.printStackTrace(); - fail(); - } - } - @Test public void listReleases() throws IOException { + + @Test + public void LatestRepositoryExist() { + try { + // add the repository that have latest release + GHRelease release = gitHub.getRepository("kamontat/CheckIDNumber").getLatestRelease(); + assertEquals("v3.0", release.getTagName()); + } catch (IOException e) { + e.printStackTrace(); + fail(); + } + } + + @Test + public void LatestRepositoryNotExist() { + try { + // add the repository that `NOT` have latest release + GHRelease release = gitHub.getRepository("kamontat/Java8Example").getLatestRelease(); + assertNull(release); + } catch (IOException e) { + e.printStackTrace(); + fail(); + } + } + + @Test + public void listReleases() throws IOException { PagedIterable releases = gitHub.getOrganization("github").getRepository("hub").listReleases(); assertTrue(releases.iterator().hasNext()); } diff --git a/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java b/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java index 3ecc6d589..5c8f6d35e 100644 --- a/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java +++ b/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java @@ -27,7 +27,7 @@ public class RepositoryTrafficTest extends AbstractGitHubApiTestBase { } @SuppressWarnings("unchecked") - private void checkResponse(T expected, T actual){ + private void checkResponse(T expected, T actual) { Assert.assertEquals(expected.getCount(), actual.getCount()); Assert.assertEquals(expected.getUniques(), actual.getUniques()); @@ -40,7 +40,7 @@ public class RepositoryTrafficTest extends AbstractGitHubApiTestBase { expectedIt = expectedList.iterator(); actualIt = actualList.iterator(); - while(expectedIt.hasNext() && actualIt.hasNext()) { + while (expectedIt.hasNext() && actualIt.hasNext()) { DailyInfo expectedDailyInfo = expectedIt.next(); DailyInfo actualDailyInfo = actualIt.next(); Assert.assertEquals(expectedDailyInfo.getCount(), actualDailyInfo.getCount()); @@ -49,8 +49,8 @@ public class RepositoryTrafficTest extends AbstractGitHubApiTestBase { } } - private void testTraffic(T expectedResult) throws IOException{ - SimpleDateFormat dateFormat=new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); + private void testTraffic(T expectedResult) throws IOException { + SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); dateFormat.setTimeZone(TimeZone.getTimeZone("GMT")); ObjectMapper mapper = new ObjectMapper().setDateFormat(dateFormat); String mockedResponse = mapper.writeValueAsString(expectedResult); @@ -76,7 +76,7 @@ public class RepositoryTrafficTest extends AbstractGitHubApiTestBase { // this covers calls on "uc" in Requester.setupConnection and Requester.buildRequest URL trafficURL = gitHub.getApiURL( - "/repos/"+login+"/"+repositoryName+"/traffic/" + + "/repos/" + login + "/" + repositoryName + "/traffic/" + ((expectedResult instanceof GHRepositoryViewTraffic) ? "views" : "clones") ); Mockito.doReturn(mockHttpURLConnection).when(connectorSpy).connect(Mockito.eq(trafficURL)); @@ -88,64 +88,63 @@ public class RepositoryTrafficTest extends AbstractGitHubApiTestBase { InputStream stubInputStream = IOUtils.toInputStream(mockedResponse, "UTF-8"); Mockito.doReturn(stubInputStream).when(mockHttpURLConnection).getInputStream(); - if(expectedResult instanceof GHRepositoryViewTraffic){ + if (expectedResult instanceof GHRepositoryViewTraffic) { GHRepositoryViewTraffic views = repo.getViewTraffic(); checkResponse(expectedResult, views); - } - else if(expectedResult instanceof GHRepositoryCloneTraffic) { + } else if (expectedResult instanceof GHRepositoryCloneTraffic) { GHRepositoryCloneTraffic clones = repo.getCloneTraffic(); checkResponse(expectedResult, clones); } } @Test - public void testGetViews() throws IOException{ + public void testGetViews() throws IOException { GHRepositoryViewTraffic expectedResult = new GHRepositoryViewTraffic( - 21523359, - 65534, - Arrays.asList( - new GHRepositoryViewTraffic.DailyInfo("2016-10-10T00:00:00Z", 3, 2), - new GHRepositoryViewTraffic.DailyInfo("2016-10-11T00:00:00Z", 9, 4), - new GHRepositoryViewTraffic.DailyInfo("2016-10-12T00:00:00Z", 27, 8), - new GHRepositoryViewTraffic.DailyInfo("2016-10-13T00:00:00Z", 81, 16), - new GHRepositoryViewTraffic.DailyInfo("2016-10-14T00:00:00Z", 243, 32), - new GHRepositoryViewTraffic.DailyInfo("2016-10-15T00:00:00Z", 729, 64), - new GHRepositoryViewTraffic.DailyInfo("2016-10-16T00:00:00Z", 2187, 128), - new GHRepositoryViewTraffic.DailyInfo("2016-10-17T00:00:00Z", 6561, 256), - new GHRepositoryViewTraffic.DailyInfo("2016-10-18T00:00:00Z", 19683, 512), - new GHRepositoryViewTraffic.DailyInfo("2016-10-19T00:00:00Z", 59049, 1024), - new GHRepositoryViewTraffic.DailyInfo("2016-10-20T00:00:00Z", 177147, 2048), - new GHRepositoryViewTraffic.DailyInfo("2016-10-21T00:00:00Z", 531441, 4096), - new GHRepositoryViewTraffic.DailyInfo("2016-10-22T00:00:00Z", 1594323, 8192), - new GHRepositoryViewTraffic.DailyInfo("2016-10-23T00:00:00Z", 4782969, 16384), - new GHRepositoryViewTraffic.DailyInfo("2016-10-24T00:00:00Z", 14348907, 32768) - ) + 21523359, + 65534, + Arrays.asList( + new GHRepositoryViewTraffic.DailyInfo("2016-10-10T00:00:00Z", 3, 2), + new GHRepositoryViewTraffic.DailyInfo("2016-10-11T00:00:00Z", 9, 4), + new GHRepositoryViewTraffic.DailyInfo("2016-10-12T00:00:00Z", 27, 8), + new GHRepositoryViewTraffic.DailyInfo("2016-10-13T00:00:00Z", 81, 16), + new GHRepositoryViewTraffic.DailyInfo("2016-10-14T00:00:00Z", 243, 32), + new GHRepositoryViewTraffic.DailyInfo("2016-10-15T00:00:00Z", 729, 64), + new GHRepositoryViewTraffic.DailyInfo("2016-10-16T00:00:00Z", 2187, 128), + new GHRepositoryViewTraffic.DailyInfo("2016-10-17T00:00:00Z", 6561, 256), + new GHRepositoryViewTraffic.DailyInfo("2016-10-18T00:00:00Z", 19683, 512), + new GHRepositoryViewTraffic.DailyInfo("2016-10-19T00:00:00Z", 59049, 1024), + new GHRepositoryViewTraffic.DailyInfo("2016-10-20T00:00:00Z", 177147, 2048), + new GHRepositoryViewTraffic.DailyInfo("2016-10-21T00:00:00Z", 531441, 4096), + new GHRepositoryViewTraffic.DailyInfo("2016-10-22T00:00:00Z", 1594323, 8192), + new GHRepositoryViewTraffic.DailyInfo("2016-10-23T00:00:00Z", 4782969, 16384), + new GHRepositoryViewTraffic.DailyInfo("2016-10-24T00:00:00Z", 14348907, 32768) + ) ); testTraffic(expectedResult); } @Test - public void testGetClones() throws IOException{ + public void testGetClones() throws IOException { GHRepositoryCloneTraffic expectedResult = new GHRepositoryCloneTraffic( - 1500, - 455, - Arrays.asList( - new GHRepositoryCloneTraffic.DailyInfo("2016-10-10T00:00:00Z", 10,3), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-11T00:00:00Z", 20,6), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-12T00:00:00Z", 30,5), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-13T00:00:00Z", 40,7), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-14T00:00:00Z", 50,11), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-15T00:00:00Z", 60,12), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-16T00:00:00Z", 70,19), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-17T00:00:00Z", 170,111), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-18T00:00:00Z", 180,70), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-19T00:00:00Z", 190,10), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-20T00:00:00Z", 200,18), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-21T00:00:00Z", 210,8), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-22T00:00:00Z", 220,168), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-23T00:00:00Z", 5,2), - new GHRepositoryCloneTraffic.DailyInfo("2016-10-24T00:00:00Z", 45,5) - ) + 1500, + 455, + Arrays.asList( + new GHRepositoryCloneTraffic.DailyInfo("2016-10-10T00:00:00Z", 10, 3), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-11T00:00:00Z", 20, 6), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-12T00:00:00Z", 30, 5), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-13T00:00:00Z", 40, 7), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-14T00:00:00Z", 50, 11), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-15T00:00:00Z", 60, 12), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-16T00:00:00Z", 70, 19), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-17T00:00:00Z", 170, 111), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-18T00:00:00Z", 180, 70), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-19T00:00:00Z", 190, 10), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-20T00:00:00Z", 200, 18), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-21T00:00:00Z", 210, 8), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-22T00:00:00Z", 220, 168), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-23T00:00:00Z", 5, 2), + new GHRepositoryCloneTraffic.DailyInfo("2016-10-24T00:00:00Z", 45, 5) + ) ); testTraffic(expectedResult); } @@ -158,14 +157,12 @@ public class RepositoryTrafficTest extends AbstractGitHubApiTestBase { try { repo.getViewTraffic(); Assert.fail(errorMsg); - } - catch (HttpException ex){ + } catch (HttpException ex) { } try { repo.getCloneTraffic(); Assert.fail(errorMsg); - } - catch (HttpException ex){ + } catch (HttpException ex) { } } } diff --git a/src/test/java/org/kohsuke/github/UserTest.java b/src/test/java/org/kohsuke/github/UserTest.java index e4376c789..d37923c1e 100644 --- a/src/test/java/org/kohsuke/github/UserTest.java +++ b/src/test/java/org/kohsuke/github/UserTest.java @@ -20,7 +20,7 @@ public class UserTest extends AbstractGitHubApiWireMockTest { private Set count30(PagedIterable l) { Set users = new HashSet(); PagedIterator itr = l.iterator(); - for (int i=0; i<30 && itr.hasNext(); i++) { + for (int i = 0; i < 30 && itr.hasNext(); i++) { users.add(itr.next()); } assertEquals(30, users.size()); @@ -41,12 +41,12 @@ public class UserTest extends AbstractGitHubApiWireMockTest { }); assertEquals(1066173, ghKeys.get(0).getId()); assertEquals("ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAueiy12T5bvFhsc9YjfLc3aVIxgySd3gDxQWy/bletIoZL8omKmzocBYJ7F58U1asoyfWsy2ToTOY8jJp1eToXmbD6L5+xvHba0A7djYh9aQRrFam7doKQ0zp0ZSUF6+R1v0OM4nnWqK4n2ECIYd+Bdzrp+xA5+XlW3ZSNzlnW2BeWznzmgRMcp6wI+zQ9GMHWviR1cxpml5Z6wrxTZ0aX91btvnNPqoOGva976B6e6403FOEkkIFTk6CC1TFKwc/VjbqxYBg4kU0JhiTP+iEZibcQrYjWdYUgAotYbFVe5/DneHMLNsMPdeihba4PUwt62rXyNegenuCRmCntLcaFQ==", - ghKeys.get(0).getKey()); - assertEquals(28136459, ghKeys.get(1 ).getId()); - assertEquals( "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTU0s5OKCC6VpKZGL9NJD4mNLY0AtujkVB1JkkuQ4OkMi2YGUHJtGhTbTwEVhNxpm0x2dM5KSzse6MLDYuGBW0qkE/VVuD9+9I73hbq461KqP0+WlupNh+Qc86kbiLBDv64+vWc+50mp1dbINpoM5xvaPYxgjnemydPv7vu5bhCHBugW7aN8VcLgfFgcp8vZCEanMtd3hIRjRU8v8Skk233ZGu1bXkG8iIOBQPabvEtZ0VDMg9pT3Q1R6lnnKqfCwHXd6zP6uAtejFSxvKRGKpu3OLGQMHwk7NlImVuhkVdaEFBq7pQtpOaGuP2eLKcN1wy5jsTYE+ZB6pvHCi2ecb", - ghKeys.get(1).getKey()); + ghKeys.get(0).getKey()); + assertEquals(28136459, ghKeys.get(1).getId()); + assertEquals("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTU0s5OKCC6VpKZGL9NJD4mNLY0AtujkVB1JkkuQ4OkMi2YGUHJtGhTbTwEVhNxpm0x2dM5KSzse6MLDYuGBW0qkE/VVuD9+9I73hbq461KqP0+WlupNh+Qc86kbiLBDv64+vWc+50mp1dbINpoM5xvaPYxgjnemydPv7vu5bhCHBugW7aN8VcLgfFgcp8vZCEanMtd3hIRjRU8v8Skk233ZGu1bXkG8iIOBQPabvEtZ0VDMg9pT3Q1R6lnnKqfCwHXd6zP6uAtejFSxvKRGKpu3OLGQMHwk7NlImVuhkVdaEFBq7pQtpOaGuP2eLKcN1wy5jsTYE+ZB6pvHCi2ecb", + ghKeys.get(1).getKey()); assertEquals(31452581, ghKeys.get(2).getId()); assertEquals("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3JhH2FZBDmHLjXTcBoV6tdcYKmsQ7sgu8k1RsUhwxGsXm65+Cuas6GcMVoA1DncKfJGQkulHDFiTxIROIBmedh9/otHWBlZ4HqYZ4MQ1A8W5quULkXwX/kF+UdRBUxFvjigibEbuHB+LARVxRRzFlPnTSE9rAfAv8OOEsb3lNUGT/IGhN8w1vwe8GclB90tgqN1RBDgrVqwLFwn5AfrW9kUIa2f2oT4RjYu1OrhKhVIIzfHADo85aD+s8wEhqwI96BCJG3qTWrypoHwBUoj1O6Ak5CGc1iKz9o8XyTMjudRt2ddCjfOtxsuwSlTbVtQXJGIpgKviX1sgh4pPvGh7BVAFP+mdAK4F+mEugDnuj47GO/K5KGGDRCL56kh9+h28l4q/+fZvp7DhtmSN2EzrVAdQFskF8yY/6Xit/aAvjeKm03DcjbylSXbG26EJefaLHlwYFq2mUFRMak25wuuCZS71GF3RC3Sl/bMoxBKRYkyfYtGafeaYTFNGn8Dbd+hfVUCz31ebI8cvmlQR5b5AbCre3T7HTVgw8FKbAxWRf1Fio56PnqHsj+sT1KVj255Zo1F8iD9GrgERSVAlkh5bY/CKszQ8ZSd01c9Qp2a47/gR7XAAbxhzGHP+cSOlrqDlJ24fbPtcpVsM0llqKUcxpmoOBFNboRmE1QqnSmAf9ww==", - ghKeys.get(2).getKey()); + ghKeys.get(2).getKey()); } } diff --git a/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java b/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java index 29dbfb12e..526ffb984 100644 --- a/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java +++ b/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java @@ -4,6 +4,7 @@ import org.kohsuke.github.junit.WireMockRule; import org.hamcrest.Matchers; import org.junit.Ignore; import org.junit.Test; + import static org.hamcrest.Matchers.*; import static org.junit.Assume.assumeFalse; import static org.junit.Assume.assumeTrue; @@ -11,7 +12,7 @@ import static org.junit.Assume.assumeTrue; /** * Tests in this class are meant to show the behavior of {@link AbstractGitHubApiWireMockTest} with proxying on or off. - * + *

* The wiremock data for these tests should only be modified by hand - thus most are skipped when snapshotting. * * @author Liam Newman @@ -25,7 +26,7 @@ public class WireMockStatusReporterTest extends AbstractGitHubApiWireMockTest { assertThat( "GitHub connection believes it is anonymous. Make sure you set GITHUB_OAUTH or both GITHUB_USER and GITHUB_PASSWORD environment variables", - gitHub.isAnonymous(), is(false)); + gitHub.isAnonymous(), is(false)); assertThat(gitHub.login, not(equalTo(STUBBED_USER_LOGIN))); @@ -77,7 +78,7 @@ public class WireMockStatusReporterTest extends AbstractGitHubApiWireMockTest { e = ex; } assertThat(e, Matchers.instanceOf(HttpException.class)); - assertThat("Status should be 500 for missing stubs", ((HttpException)e).getResponseCode(), equalTo(500)); + assertThat("Status should be 500 for missing stubs", ((HttpException) e).getResponseCode(), equalTo(500)); assertThat(e.getMessage(), equalTo("Stubbed data not found. Set test.github.use-proxy to have WireMock proxy to github")); // Invalid repository, without stub - fails 500 when not proxying @@ -90,7 +91,7 @@ public class WireMockStatusReporterTest extends AbstractGitHubApiWireMockTest { } assertThat(e, Matchers.instanceOf(HttpException.class)); - assertThat("Status should be 500 for missing stubs", ((HttpException)e).getResponseCode(), equalTo(500)); + assertThat("Status should be 500 for missing stubs", ((HttpException) e).getResponseCode(), equalTo(500)); assertThat(e.getMessage(), equalTo("Stubbed data not found. Set test.github.use-proxy to have WireMock proxy to github")); } diff --git a/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java b/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java index 6e63d87b0..a8733301a 100644 --- a/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java +++ b/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java @@ -23,20 +23,20 @@ import static org.junit.Assume.assumeTrue; /** * Test showing the behavior of OkHttpConnector with and without cache. - * + *

* Key take aways: * *

    - *
  • These tests are artificial and intended to highlight the differences - * in behavior between scenarios. However, the differences they indicate are stark.
  • - *
  • Caching reduces rate limit consumption by at least a factor of two in even the simplest case.
  • - *
  • The OkHttp cache is pretty smart and will often connect read and write requests made - * on the same client and invalidate caches.
  • - *
  • Changes made outside the current client cause the OkHttp cache to return stale data. - * This is expected and correct behavior.
  • - *
  • "max-age=0" addresses the problem of external changes by revalidating caches for each request. - * This produces the same number of requests as OkHttp without caching, but those requests only - * count towards the GitHub rate limit if data has changes.
  • + *
  • These tests are artificial and intended to highlight the differences + * in behavior between scenarios. However, the differences they indicate are stark.
  • + *
  • Caching reduces rate limit consumption by at least a factor of two in even the simplest case.
  • + *
  • The OkHttp cache is pretty smart and will often connect read and write requests made + * on the same client and invalidate caches.
  • + *
  • Changes made outside the current client cause the OkHttp cache to return stale data. + * This is expected and correct behavior.
  • + *
  • "max-age=0" addresses the problem of external changes by revalidating caches for each request. + * This produces the same number of requests as OkHttp without caching, but those requests only + * count towards the GitHub rate limit if data has changes.
  • *
* * @author Liam Newman @@ -74,7 +74,7 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { .global(true) .maxCacheEntries(0L) .build() - ); + ); } @Before @@ -156,7 +156,7 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { // NOTE: this is actually bad. // This elevated hit count is the stale requests returning bad data took longer to detect a change. - assertThat("getHitCount", cache.getHitCount(), is(maxAgeNoneHitCount)); + assertThat("getHitCount", cache.getHitCount(), is(maxAgeNoneHitCount)); } @Test @@ -184,7 +184,7 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { checkRequestAndLimit(maxAgeThreeNetworkRequestCount, maxAgeThreeRateLimitUsed); Cache cache = client.getCache(); - assertThat("getHitCount", cache.getHitCount(), is(maxAgeThreeHitCount)); + assertThat("getHitCount", cache.getHitCount(), is(maxAgeThreeHitCount)); } @Test @@ -209,9 +209,9 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { assertThat(getRepository(gitHub).getDescription(), is("Tricky")); checkRequestAndLimit(maxAgeZeroNetworkRequestCount, maxAgeZeroRateLimitUsed); - + Cache cache = client.getCache(); - assertThat("getHitCount", cache.getHitCount(), is(maxAgeZeroHitCount)); + assertThat("getHitCount", cache.getHitCount(), is(maxAgeZeroHitCount)); } private void checkRequestAndLimit(int networkRequestCount, int rateLimitUsed) throws IOException { @@ -249,9 +249,10 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { /** * This is a standard set of actions to be performed with each connector + * * @throws Exception */ - private void doTestActions() throws Exception { + private void doTestActions() throws Exception { rateLimitBefore = gitHub.getRateLimit(); String name = githubApi.getMethodName(); diff --git a/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java b/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java index ddf5599cc..801fe3e20 100644 --- a/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java +++ b/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java @@ -24,20 +24,20 @@ import static org.junit.Assume.assumeTrue; /** * Test showing the behavior of OkHttpConnector with and without cache. - * + *

* Key take aways: * *

    - *
  • These tests are artificial and intended to highlight the differences - * in behavior between scenarios. However, the differences they indicate are stark.
  • - *
  • Caching reduces rate limit consumption by at least a factor of two in even the simplest case.
  • - *
  • The OkHttp cache is pretty smart and will often connect read and write requests made - * on the same client and invalidate caches.
  • - *
  • Changes made outside the current client cause the OkHttp cache to return stale data. - * This is expected and correct behavior.
  • - *
  • "max-age=0" addresses the problem of external changes by revalidating caches for each request. - * This produces the same number of requests as OkHttp without caching, but those requests only - * count towards the GitHub rate limit if data has changes.
  • + *
  • These tests are artificial and intended to highlight the differences + * in behavior between scenarios. However, the differences they indicate are stark.
  • + *
  • Caching reduces rate limit consumption by at least a factor of two in even the simplest case.
  • + *
  • The OkHttp cache is pretty smart and will often connect read and write requests made + * on the same client and invalidate caches.
  • + *
  • Changes made outside the current client cause the OkHttp cache to return stale data. + * This is expected and correct behavior.
  • + *
  • "max-age=0" addresses the problem of external changes by revalidating caches for each request. + * This produces the same number of requests as OkHttp without caching, but those requests only + * count towards the GitHub rate limit if data has changes.
  • *
* * @author Liam Newman @@ -159,7 +159,7 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { // NOTE: this is actually bad. // This elevated hit count is the stale requests returning bad data took longer to detect a change. - assertThat("getHitCount", cache.hitCount(), is(maxAgeNoneHitCount)); + assertThat("getHitCount", cache.hitCount(), is(maxAgeNoneHitCount)); } @Test @@ -187,7 +187,7 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { checkRequestAndLimit(maxAgeThreeNetworkRequestCount, maxAgeThreeRateLimitUsed); Cache cache = client.cache(); - assertThat("getHitCount", cache.hitCount(), is(maxAgeThreeHitCount)); + assertThat("getHitCount", cache.hitCount(), is(maxAgeThreeHitCount)); } @Test @@ -212,9 +212,9 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { assertThat(getRepository(gitHub).getDescription(), is("Tricky")); checkRequestAndLimit(maxAgeZeroNetworkRequestCount, maxAgeZeroRateLimitUsed); - + Cache cache = client.cache(); - assertThat("getHitCount", cache.hitCount(), is(maxAgeZeroHitCount)); + assertThat("getHitCount", cache.hitCount(), is(maxAgeZeroHitCount)); } private void checkRequestAndLimit(int networkRequestCount, int rateLimitUsed) throws IOException { @@ -252,9 +252,10 @@ public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest { /** * This is a standard set of actions to be performed with each connector + * * @throws Exception */ - private void doTestActions() throws Exception { + private void doTestActions() throws Exception { rateLimitBefore = gitHub.getRateLimit(); String name = githubApi.getMethodName(); diff --git a/src/test/java/org/kohsuke/github/junit/GitHubApiWireMockRule.java b/src/test/java/org/kohsuke/github/junit/GitHubApiWireMockRule.java index eac1654c1..199b8fbdf 100644 --- a/src/test/java/org/kohsuke/github/junit/GitHubApiWireMockRule.java +++ b/src/test/java/org/kohsuke/github/junit/GitHubApiWireMockRule.java @@ -24,50 +24,50 @@ public class GitHubApiWireMockRule extends WireMockRule { private final static boolean useProxy = takeSnapshot || System.getProperty("test.github.useProxy", "false") != "false"; public GitHubApiWireMockRule(WireMockConfiguration options) { - this(options, true); + this(options, true); } public GitHubApiWireMockRule(WireMockConfiguration options, boolean failOnUnmatchedRequests) { - super(options - .extensions( - new ResponseTransformer() { - @Override - public Response transform(Request request, Response response, FileSource files, - Parameters parameters) { - if ("application/json" - .equals(response.getHeaders().getContentTypeHeader().mimeTypePart()) - && !response.getHeaders().getHeader("Content-Encoding").containsValue("gzip")) { - return Response.Builder.like(response) - .but() - .body(response.getBodyAsString() - .replace("https://api.github.com/", - "http://localhost:" + request.getPort() + "/") - ) - .build(); - } - return response; - } + super(options + .extensions( + new ResponseTransformer() { + @Override + public Response transform(Request request, Response response, FileSource files, + Parameters parameters) { + if ("application/json" + .equals(response.getHeaders().getContentTypeHeader().mimeTypePart()) + && !response.getHeaders().getHeader("Content-Encoding").containsValue("gzip")) { + return Response.Builder.like(response) + .but() + .body(response.getBodyAsString() + .replace("https://api.github.com/", + "http://localhost:" + request.getPort() + "/") + ) + .build(); + } + return response; + } - @Override - public String getName() { - return "github-api-url-rewrite"; - } - }), - failOnUnmatchedRequests); + @Override + public String getName() { + return "github-api-url-rewrite"; + } + }), + failOnUnmatchedRequests); } public boolean isUseProxy() { - return GitHubApiWireMockRule.useProxy; + return GitHubApiWireMockRule.useProxy; } public boolean isTakeSnapshot() { - return GitHubApiWireMockRule.takeSnapshot; + return GitHubApiWireMockRule.takeSnapshot; } @Override protected void before() { super.before(); - if(isUseProxy()) { + if (isUseProxy()) { this.stubFor( proxyAllTo("https://api.github.com/") .atPriority(100) diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/orgs_github-api-test-org-6ab1a03d-267b-4675-a8e4-91bbef27f6ec.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/orgs_github-api-test-org-6ab1a03d-267b-4675-a8e4-91bbef27f6ec.json new file mode 100644 index 000000000..5605b36c3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/orgs_github-api-test-org-6ab1a03d-267b-4675-a8e4-91bbef27f6ec.json @@ -0,0 +1,41 @@ +{ + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/github-api-test-org", + "repos_url": "https://api.github.com/orgs/github-api-test-org/repos", + "events_url": "https://api.github.com/orgs/github-api-test-org/events", + "hooks_url": "https://api.github.com/orgs/github-api-test-org/hooks", + "issues_url": "https://api.github.com/orgs/github-api-test-org/issues", + "members_url": "https://api.github.com/orgs/github-api-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/github-api-test-org/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 10, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/github-api-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2015-04-20T00:42:30Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": 0, + "disk_usage": 132, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 0, + "filled_seats": 3, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test-2d35cecf-0212-47d5-8dd3-15b4838d56c6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test-2d35cecf-0212-47d5-8dd3-15b4838d56c6.json new file mode 100644 index 000000000..f7ffcfba0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test-2d35cecf-0212-47d5-8dd3-15b4838d56c6.json @@ -0,0 +1,124 @@ +{ + "id": 212423833, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0MjM4MzM=", + "name": "github-api-test", + "full_name": "github-api-test-org/github-api-test", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api-test", + "description": "A test repository for testing the github-api project", + "fork": false, + "url": "https://api.github.com/repos/github-api-test-org/github-api-test", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api-test/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api-test/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api-test/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api-test/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api-test/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api-test/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api-test/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api-test/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api-test/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api-test/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api-test/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api-test/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api-test/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api-test/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api-test/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api-test/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api-test/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api-test/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api-test/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api-test/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api-test/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api-test/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api-test/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api-test/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api-test/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api-test/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api-test/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api-test/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api-test/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api-test/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api-test/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api-test/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api-test/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api-test/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api-test/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api-test/deployments", + "created_at": "2019-10-02T19:25:19Z", + "updated_at": "2019-10-02T19:25:34Z", + "pushed_at": "2019-10-02T19:25:20Z", + "git_url": "git://github.com/github-api-test-org/github-api-test.git", + "ssh_url": "git@github.com:github-api-test-org/github-api-test.git", + "clone_url": "https://github.com/github-api-test-org/github-api-test.git", + "svn_url": "https://github.com/github-api-test-org/github-api-test", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_issues-4c0eec6b-2118-4a14-8a95-3e55fd260384.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_issues-4c0eec6b-2118-4a14-8a95-3e55fd260384.json new file mode 100644 index 000000000..c718f2762 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_issues-4c0eec6b-2118-4a14-8a95-3e55fd260384.json @@ -0,0 +1,138 @@ +{ + "url": "http://localhost:51126/repos/github-api-test-org/github-api-test/issues/1", + "repository_url": "http://localhost:51126/repos/github-api-test-org/github-api-test", + "labels_url": "http://localhost:51126/repos/github-api-test-org/github-api-test/issues/1/labels{/name}", + "comments_url": "http://localhost:51126/repos/github-api-test-org/github-api-test/issues/1/comments", + "events_url": "http://localhost:51126/repos/github-api-test-org/github-api-test/issues/1/events", + "html_url": "https://github.com/github-api-test-org/github-api-test/issues/1", + "id": 501750408, + "node_id": "MDU6SXNzdWU1MDE3NTA0MDg=", + "number": 1, + "title": "testing", + "user": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:51126/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:51126/users/bitwiseman/followers", + "following_url": "http://localhost:51126/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:51126/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:51126/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:51126/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:51126/users/bitwiseman/orgs", + "repos_url": "http://localhost:51126/users/bitwiseman/repos", + "events_url": "http://localhost:51126/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:51126/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 1592005563, + "node_id": "MDU6TGFiZWwxNTkyMDA1NTYz", + "url": "http://localhost:51126/repos/github-api-test-org/github-api-test/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + }, + { + "id": 1592005574, + "node_id": "MDU6TGFiZWwxNTkyMDA1NTc0", + "url": "http://localhost:51126/repos/github-api-test-org/github-api-test/labels/question", + "name": "question", + "color": "d876e3", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:51126/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:51126/users/bitwiseman/followers", + "following_url": "http://localhost:51126/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:51126/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:51126/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:51126/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:51126/users/bitwiseman/orgs", + "repos_url": "http://localhost:51126/users/bitwiseman/repos", + "events_url": "http://localhost:51126/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:51126/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:51126/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:51126/users/bitwiseman/followers", + "following_url": "http://localhost:51126/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:51126/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:51126/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:51126/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:51126/users/bitwiseman/orgs", + "repos_url": "http://localhost:51126/users/bitwiseman/repos", + "events_url": "http://localhost:51126/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:51126/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": { + "url": "http://localhost:51126/repos/github-api-test-org/github-api-test/milestones/1", + "html_url": "https://github.com/github-api-test-org/github-api-test/milestone/1", + "labels_url": "http://localhost:51126/repos/github-api-test-org/github-api-test/milestones/1/labels", + "id": 4715278, + "node_id": "MDk6TWlsZXN0b25lNDcxNTI3OA==", + "number": 1, + "title": "Test Milestone Title2", + "description": "Test Milestone", + "creator": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:51126/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:51126/users/bitwiseman/followers", + "following_url": "http://localhost:51126/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:51126/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:51126/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:51126/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:51126/users/bitwiseman/orgs", + "repos_url": "http://localhost:51126/users/bitwiseman/repos", + "events_url": "http://localhost:51126/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:51126/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 1, + "closed_issues": 0, + "state": "open", + "created_at": "2019-10-02T22:04:13Z", + "updated_at": "2019-10-02T22:04:13Z", + "due_on": null, + "closed_at": null + }, + "comments": 0, + "created_at": "2019-10-02T22:04:13Z", + "updated_at": "2019-10-02T22:04:14Z", + "closed_at": null, + "author_association": "MEMBER", + "body": "this is body", + "closed_by": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_issues_1-b2b352de-1dfc-4bbf-8b29-6699c09adcba.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_issues_1-b2b352de-1dfc-4bbf-8b29-6699c09adcba.json new file mode 100644 index 000000000..001e4cbd7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_issues_1-b2b352de-1dfc-4bbf-8b29-6699c09adcba.json @@ -0,0 +1,157 @@ +{ + "url": "https://api.github.com/repos/github-api-test-org/github-api-test/issues/1", + "repository_url": "https://api.github.com/repos/github-api-test-org/github-api-test", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api-test/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api-test/issues/1/comments", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api-test/issues/1/events", + "html_url": "https://github.com/github-api-test-org/github-api-test/issues/1", + "id": 501750408, + "node_id": "MDU6SXNzdWU1MDE3NTA0MDg=", + "number": 1, + "title": "testing", + "user": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 1592005563, + "node_id": "MDU6TGFiZWwxNTkyMDA1NTYz", + "url": "https://api.github.com/repos/github-api-test-org/github-api-test/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + }, + { + "id": 1592005574, + "node_id": "MDU6TGFiZWwxNTkyMDA1NTc0", + "url": "https://api.github.com/repos/github-api-test-org/github-api-test/labels/question", + "name": "question", + "color": "d876e3", + "default": true + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": { + "url": "https://api.github.com/repos/github-api-test-org/github-api-test/milestones/1", + "html_url": "https://github.com/github-api-test-org/github-api-test/milestone/1", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api-test/milestones/1/labels", + "id": 4715278, + "node_id": "MDk6TWlsZXN0b25lNDcxNTI3OA==", + "number": 1, + "title": "Test Milestone Title2", + "description": "Test Milestone", + "creator": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 0, + "closed_issues": 1, + "state": "open", + "created_at": "2019-10-02T22:04:13Z", + "updated_at": "2019-10-02T22:04:14Z", + "due_on": null, + "closed_at": null + }, + "comments": 0, + "created_at": "2019-10-02T22:04:13Z", + "updated_at": "2019-10-02T22:04:14Z", + "closed_at": "2019-10-02T22:04:14Z", + "author_association": "MEMBER", + "body": "this is body", + "closed_by": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_milestones-9f6e9872-cdec-405b-a820-838d4a40ab00.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_milestones-9f6e9872-cdec-405b-a820-838d4a40ab00.json new file mode 100644 index 000000000..bd6ce8be6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_milestones-9f6e9872-cdec-405b-a820-838d4a40ab00.json @@ -0,0 +1,37 @@ +{ + "url": "http://localhost:51162/repos/github-api-test-org/github-api-test/milestones/1", + "html_url": "https://github.com/github-api-test-org/github-api-test/milestone/1", + "labels_url": "http://localhost:51162/repos/github-api-test-org/github-api-test/milestones/1/labels", + "id": 4715281, + "node_id": "MDk6TWlsZXN0b25lNDcxNTI4MQ==", + "number": 1, + "title": "Test Milestone Title3", + "description": "Test Milestone", + "creator": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:51162/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:51162/users/bitwiseman/followers", + "following_url": "http://localhost:51162/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:51162/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:51162/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:51162/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:51162/users/bitwiseman/orgs", + "repos_url": "http://localhost:51162/users/bitwiseman/repos", + "events_url": "http://localhost:51162/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:51162/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 0, + "closed_issues": 0, + "state": "open", + "created_at": "2019-10-02T22:04:51Z", + "updated_at": "2019-10-02T22:04:51Z", + "due_on": null, + "closed_at": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_milestones-c528f3b4-7651-4943-8247-fc4eb960f7c7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_milestones-c528f3b4-7651-4943-8247-fc4eb960f7c7.json new file mode 100644 index 000000000..24eb55112 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_github-api-test-org_github-api-test_milestones-c528f3b4-7651-4943-8247-fc4eb960f7c7.json @@ -0,0 +1,37 @@ +{ + "url": "http://localhost:51126/repos/github-api-test-org/github-api-test/milestones/1", + "html_url": "https://github.com/github-api-test-org/github-api-test/milestone/1", + "labels_url": "http://localhost:51126/repos/github-api-test-org/github-api-test/milestones/1/labels", + "id": 4715278, + "node_id": "MDk6TWlsZXN0b25lNDcxNTI3OA==", + "number": 1, + "title": "Test Milestone Title2", + "description": "Test Milestone", + "creator": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:51126/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:51126/users/bitwiseman/followers", + "following_url": "http://localhost:51126/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:51126/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:51126/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:51126/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:51126/users/bitwiseman/orgs", + "repos_url": "http://localhost:51126/users/bitwiseman/repos", + "events_url": "http://localhost:51126/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:51126/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 0, + "closed_issues": 0, + "state": "open", + "created_at": "2019-10-02T22:04:13Z", + "updated_at": "2019-10-02T22:04:13Z", + "due_on": null, + "closed_at": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/user-8104cc51-7147-4bc3-9004-2cec25e972f8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/user-8104cc51-7147-4bc3-9004-2cec25e972f8.json new file mode 100644 index 000000000..39d6c8353 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/user-8104cc51-7147-4bc3-9004-2cec25e972f8.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 167, + "public_gists": 4, + "followers": 136, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "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/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test-2d35cecf-0212-47d5-8dd3-15b4838d56c6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test-2d35cecf-0212-47d5-8dd3-15b4838d56c6.json new file mode 100644 index 000000000..63d7f0059 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test-2d35cecf-0212-47d5-8dd3-15b4838d56c6.json @@ -0,0 +1,43 @@ +{ + "id": "2d35cecf-0212-47d5-8dd3-15b4838d56c6", + "name": "repos_github-api-test-org_github-api-test", + "request": { + "url": "/repos/github-api-test-org/github-api-test", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-test-2d35cecf-0212-47d5-8dd3-15b4838d56c6.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4956", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"5808cf093e2e56c1894809cd197b2abc\"", + "Last-Modified": "Wed, 02 Oct 2019 19:25:34 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C1:361D:9BDE30:B8EDBE:5D95192F" + } + }, + "uuid": "2d35cecf-0212-47d5-8dd3-15b4838d56c6", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-0765fda8-b2f8-4474-8936-f02c33023e52.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-0765fda8-b2f8-4474-8936-f02c33023e52.json new file mode 100644 index 000000000..fddb52050 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-0765fda8-b2f8-4474-8936-f02c33023e52.json @@ -0,0 +1,45 @@ +{ + "id": "0765fda8-b2f8-4474-8936-f02c33023e52", + "name": "repos_github-api-test-org_github-api-test_hooks", + "request": { + "url": "/repos/github-api-test-org/github-api-test/hooks", + "method": "GET" + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Date": "Wed, 02 Oct 2019 21:55:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4877", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"ad5808b0a5d75d70a16a73b8e9763e19\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:repo_hook, public_repo, read:repo_hook, repo, write:repo_hook", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C568:957A:C9FE0F:F131B4:5D951CC8" + } + }, + "uuid": "0765fda8-b2f8-4474-8936-f02c33023e52", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api-test-hooks", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-test-hooks-2", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-3dddac88-e8cb-4c36-ab50-157ef996f9b3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-3dddac88-e8cb-4c36-ab50-157ef996f9b3.json new file mode 100644 index 000000000..f3adfb497 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-3dddac88-e8cb-4c36-ab50-157ef996f9b3.json @@ -0,0 +1,45 @@ +{ + "id": "3dddac88-e8cb-4c36-ab50-157ef996f9b3", + "name": "repos_github-api-test-org_github-api-test_hooks", + "request": { + "url": "/repos/github-api-test-org/github-api-test/hooks", + "method": "GET" + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Date": "Wed, 02 Oct 2019 21:58:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4874", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"ad5808b0a5d75d70a16a73b8e9763e19\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:repo_hook, public_repo, read:repo_hook, repo, write:repo_hook", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C641:67D6:CC4C32:F283ED:5D951D75" + } + }, + "uuid": "3dddac88-e8cb-4c36-ab50-157ef996f9b3", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api-test-hooks", + "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-test-hooks-3", + "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-test-hooks-4", + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-8cfab8d4-7115-4dc1-ac02-7a99a1428d2c.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-8cfab8d4-7115-4dc1-ac02-7a99a1428d2c.json new file mode 100644 index 000000000..9f2cef8f5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-8cfab8d4-7115-4dc1-ac02-7a99a1428d2c.json @@ -0,0 +1,44 @@ +{ + "id": "8cfab8d4-7115-4dc1-ac02-7a99a1428d2c", + "name": "repos_github-api-test-org_github-api-test_hooks", + "request": { + "url": "/repos/github-api-test-org/github-api-test/hooks", + "method": "GET" + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Date": "Wed, 02 Oct 2019 21:58:15 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4873", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"ad5808b0a5d75d70a16a73b8e9763e19\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:repo_hook, public_repo, read:repo_hook, repo, write:repo_hook", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C641:67D6:CC4CE8:F28405:5D951D75" + } + }, + "uuid": "8cfab8d4-7115-4dc1-ac02-7a99a1428d2c", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api-test-hooks", + "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-test-hooks-4", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-9f3310d4-dd87-4af5-8a0d-1b4dfa8eb868.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-9f3310d4-dd87-4af5-8a0d-1b4dfa8eb868.json new file mode 100644 index 000000000..09a1040fe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_hooks-9f3310d4-dd87-4af5-8a0d-1b4dfa8eb868.json @@ -0,0 +1,45 @@ +{ + "id": "9f3310d4-dd87-4af5-8a0d-1b4dfa8eb868", + "name": "repos_github-api-test-org_github-api-test_hooks", + "request": { + "url": "/repos/github-api-test-org/github-api-test/hooks", + "method": "GET" + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Date": "Wed, 02 Oct 2019 21:55:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4876", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"ad5808b0a5d75d70a16a73b8e9763e19\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:repo_hook, public_repo, read:repo_hook, repo, write:repo_hook", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C568:957A:C9FECD:F131CD:5D951CC8" + } + }, + "uuid": "9f3310d4-dd87-4af5-8a0d-1b4dfa8eb868", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api-test-hooks", + "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-test-hooks-2", + "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-test-hooks-3", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_issues-4c0eec6b-2118-4a14-8a95-3e55fd260384.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_issues-4c0eec6b-2118-4a14-8a95-3e55fd260384.json new file mode 100644 index 000000000..92bc23789 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_issues-4c0eec6b-2118-4a14-8a95-3e55fd260384.json @@ -0,0 +1,50 @@ +{ + "id": "4c0eec6b-2118-4a14-8a95-3e55fd260384", + "name": "repos_github-api-test-org_github-api-test_issues", + "request": { + "url": "/repos/github-api-test-org/github-api-test/issues", + "method": "POST", + "bodyPatterns": [ + { + "equalToJson": "{\"milestone\":1,\"assignees\":[\"bitwiseman\"],\"title\":\"testing\",\"body\":\"this is body\",\"labels\":[\"bug\",\"question\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_github-api-test-org_github-api-test_issues-4c0eec6b-2118-4a14-8a95-3e55fd260384.json", + "headers": { + "Date": "Wed, 02 Oct 2019 22:04:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4856", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"da80c0ddf30a92e2f67e99710e305521\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "Location": "https://api.github.com/repos/github-api-test-org/github-api-test/issues/1", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C7C8:67D5:8932C5:A52738:5D951EDD" + } + }, + "uuid": "4c0eec6b-2118-4a14-8a95-3e55fd260384", + "persistent": true, + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_issues_1-b2b352de-1dfc-4bbf-8b29-6699c09adcba.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_issues_1-b2b352de-1dfc-4bbf-8b29-6699c09adcba.json new file mode 100644 index 000000000..d4680339c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_issues_1-b2b352de-1dfc-4bbf-8b29-6699c09adcba.json @@ -0,0 +1,49 @@ +{ + "id": "b2b352de-1dfc-4bbf-8b29-6699c09adcba", + "name": "repos_github-api-test-org_github-api-test_issues_1", + "request": { + "url": "/repos/github-api-test-org/github-api-test/issues/1", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"state\":\"closed\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-test_issues_1-b2b352de-1dfc-4bbf-8b29-6699c09adcba.json", + "headers": { + "Date": "Wed, 02 Oct 2019 22:04:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4855", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c747dbe6b23b7df1b44abcdf422594da\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C7C8:67D5:893322:A527A2:5D951EDE" + } + }, + "uuid": "b2b352de-1dfc-4bbf-8b29-6699c09adcba", + "persistent": true, + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-7cb4f11b-01c1-4f10-b53f-a8be6ed9f5fe.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-7cb4f11b-01c1-4f10-b53f-a8be6ed9f5fe.json new file mode 100644 index 000000000..5097fa633 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-7cb4f11b-01c1-4f10-b53f-a8be6ed9f5fe.json @@ -0,0 +1,43 @@ +{ + "id": "7cb4f11b-01c1-4f10-b53f-a8be6ed9f5fe", + "name": "repos_github-api-test-org_github-api-test_milestones", + "request": { + "url": "/repos/github-api-test-org/github-api-test/milestones", + "method": "POST", + "bodyPatterns": [ + { + "equalToJson": "{\"description\":\"Test Milestone\",\"title\":\"Test Milestone Title\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 422, + "body": "{\"message\":\"Validation Failed\",\"errors\":[{\"resource\":\"Milestone\",\"code\":\"already_exists\",\"field\":\"title\"}],\"documentation_url\":\"https://developer.github.com/v3/issues/milestones/#create-a-milestone\"}", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "422 Unprocessable Entity", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4955", + "X-RateLimit-Reset": "1570055937", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C1:361D:9BDE40:B8EE01:5D95192F" + } + }, + "uuid": "7cb4f11b-01c1-4f10-b53f-a8be6ed9f5fe", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-9a91aa37-0169-4a92-bedb-2676773ccdb3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-9a91aa37-0169-4a92-bedb-2676773ccdb3.json new file mode 100644 index 000000000..f6315b52b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-9a91aa37-0169-4a92-bedb-2676773ccdb3.json @@ -0,0 +1,42 @@ +{ + "id": "9a91aa37-0169-4a92-bedb-2676773ccdb3", + "name": "repos_github-api-test-org_github-api-test_milestones", + "request": { + "url": "/repos/github-api-test-org/github-api-test/milestones?state=open", + "method": "GET" + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Date": "Wed, 02 Oct 2019 21:56:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4875", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"ad5808b0a5d75d70a16a73b8e9763e19\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C568:957A:CA16C3:F13297:5D951CC9" + } + }, + "uuid": "9a91aa37-0169-4a92-bedb-2676773ccdb3", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-9f6e9872-cdec-405b-a820-838d4a40ab00.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-9f6e9872-cdec-405b-a820-838d4a40ab00.json new file mode 100644 index 000000000..52258c7f4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-9f6e9872-cdec-405b-a820-838d4a40ab00.json @@ -0,0 +1,50 @@ +{ + "id": "9f6e9872-cdec-405b-a820-838d4a40ab00", + "name": "repos_github-api-test-org_github-api-test_milestones", + "request": { + "url": "/repos/github-api-test-org/github-api-test/milestones", + "method": "POST", + "bodyPatterns": [ + { + "equalToJson": "{\"description\":\"Test Milestone\",\"title\":\"Test Milestone Title3\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_github-api-test-org_github-api-test_milestones-9f6e9872-cdec-405b-a820-838d4a40ab00.json", + "headers": { + "Date": "Wed, 02 Oct 2019 22:04:51 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4847", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"c7e702bb14033f392f15666e3c20f786\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "Location": "https://api.github.com/repos/github-api-test-org/github-api-test/milestones/1", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C7E2:2CE7:A1D690:BEC182:5D951F03" + } + }, + "uuid": "9f6e9872-cdec-405b-a820-838d4a40ab00", + "persistent": true, + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-c528f3b4-7651-4943-8247-fc4eb960f7c7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-c528f3b4-7651-4943-8247-fc4eb960f7c7.json new file mode 100644 index 000000000..f1885f938 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/repos_github-api-test-org_github-api-test_milestones-c528f3b4-7651-4943-8247-fc4eb960f7c7.json @@ -0,0 +1,50 @@ +{ + "id": "c528f3b4-7651-4943-8247-fc4eb960f7c7", + "name": "repos_github-api-test-org_github-api-test_milestones", + "request": { + "url": "/repos/github-api-test-org/github-api-test/milestones", + "method": "POST", + "bodyPatterns": [ + { + "equalToJson": "{\"description\":\"Test Milestone\",\"title\":\"Test Milestone Title2\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_github-api-test-org_github-api-test_milestones-c528f3b4-7651-4943-8247-fc4eb960f7c7.json", + "headers": { + "Date": "Wed, 02 Oct 2019 22:04:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4857", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"b35242ca101f84f1be21e1508b9851a3\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "Location": "https://api.github.com/repos/github-api-test-org/github-api-test/milestones/1", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C7C8:67D5:8932AC:A5271D:5D951EDC" + } + }, + "uuid": "c528f3b4-7651-4943-8247-fc4eb960f7c7", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/user-8104cc51-7147-4bc3-9004-2cec25e972f8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/user-8104cc51-7147-4bc3-9004-2cec25e972f8.json new file mode 100644 index 000000000..43b384287 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/mappings/user-8104cc51-7147-4bc3-9004-2cec25e972f8.json @@ -0,0 +1,43 @@ +{ + "id": "8104cc51-7147-4bc3-9004-2cec25e972f8", + "name": "user", + "request": { + "url": "/user", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "user-8104cc51-7147-4bc3-9004-2cec25e972f8.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4958", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"cf6199fecf47b59c42190e1e11147ee2\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C1:361D:9BDE00:B8EDB3:5D95192F" + } + }, + "uuid": "8104cc51-7147-4bc3-9004-2cec25e972f8", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCredentialValid/__files/user-eba96b24-3354-4d21-bd2a-388a13ba9832.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCredentialValid/__files/user-eba96b24-3354-4d21-bd2a-388a13ba9832.json new file mode 100644 index 000000000..39d6c8353 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCredentialValid/__files/user-eba96b24-3354-4d21-bd2a-388a13ba9832.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 167, + "public_gists": 4, + "followers": 136, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "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/AppTest/wiremock/testCredentialValid/mappings/user-eba96b24-3354-4d21-bd2a-388a13ba9832.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCredentialValid/mappings/user-eba96b24-3354-4d21-bd2a-388a13ba9832.json new file mode 100644 index 000000000..40af3e7e8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCredentialValid/mappings/user-eba96b24-3354-4d21-bd2a-388a13ba9832.json @@ -0,0 +1,43 @@ +{ + "id": "eba96b24-3354-4d21-bd2a-388a13ba9832", + "name": "user", + "request": { + "url": "/user", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "user-eba96b24-3354-4d21-bd2a-388a13ba9832.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:57 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4964", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"cf6199fecf47b59c42190e1e11147ee2\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2BA:67D6:CA2979:EFEEDC:5D95192D" + } + }, + "uuid": "eba96b24-3354-4d21-bd2a-388a13ba9832", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test-5e93357f-40cc-49ad-90ca-355a4703de1e.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test-5e93357f-40cc-49ad-90ca-355a4703de1e.json new file mode 100644 index 000000000..dcc3c8df7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test-5e93357f-40cc-49ad-90ca-355a4703de1e.json @@ -0,0 +1,101 @@ +{ + "id": 3995528, + "node_id": "MDEwOlJlcG9zaXRvcnkzOTk1NTI4", + "name": "test", + "full_name": "kohsuke/test", + "private": false, + "owner": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke/test", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/kohsuke/test", + "forks_url": "https://api.github.com/repos/kohsuke/test/forks", + "keys_url": "https://api.github.com/repos/kohsuke/test/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke/test/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke/test/teams", + "hooks_url": "https://api.github.com/repos/kohsuke/test/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke/test/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke/test/events", + "assignees_url": "https://api.github.com/repos/kohsuke/test/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke/test/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke/test/tags", + "blobs_url": "https://api.github.com/repos/kohsuke/test/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke/test/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke/test/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke/test/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke/test/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke/test/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke/test/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke/test/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke/test/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke/test/subscription", + "commits_url": "https://api.github.com/repos/kohsuke/test/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke/test/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke/test/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke/test/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke/test/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke/test/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke/test/merges", + "archive_url": "https://api.github.com/repos/kohsuke/test/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke/test/downloads", + "issues_url": "https://api.github.com/repos/kohsuke/test/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke/test/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke/test/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke/test/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke/test/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke/test/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke/test/deployments", + "created_at": "2012-04-11T16:23:11Z", + "updated_at": "2019-08-13T15:00:41Z", + "pushed_at": "2012-09-06T00:42:44Z", + "git_url": "git://github.com/kohsuke/test.git", + "ssh_url": "git@github.com:kohsuke/test.git", + "clone_url": "https://github.com/kohsuke/test.git", + "svn_url": "https://github.com/kohsuke/test", + "homepage": "", + "size": 128, + "stargazers_count": 2, + "watchers_count": 2, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "forks": 0, + "open_issues": 3, + "watchers": 2, + "default_branch": "bar", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "network_count": 0, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_3-805b83e0-61e7-4dc4-844e-a834681cd311.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_3-805b83e0-61e7-4dc4-844e-a834681cd311.json new file mode 100644 index 000000000..ea3c7d5e7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_3-805b83e0-61e7-4dc4-844e-a834681cd311.json @@ -0,0 +1,104 @@ +{ + "url": "https://api.github.com/repos/kohsuke/test/issues/3", + "repository_url": "https://api.github.com/repos/kohsuke/test", + "labels_url": "https://api.github.com/repos/kohsuke/test/issues/3/labels{/name}", + "comments_url": "https://api.github.com/repos/kohsuke/test/issues/3/comments", + "events_url": "https://api.github.com/repos/kohsuke/test/issues/3/events", + "html_url": "https://github.com/kohsuke/test/issues/3", + "id": 6863845, + "node_id": "MDU6SXNzdWU2ODYzODQ1", + "number": 3, + "title": "testing", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 3, + "created_at": "2012-09-13T22:59:40Z", + "updated_at": "2012-09-13T23:27:38Z", + "closed_at": "2012-09-13T22:59:41Z", + "author_association": "OWNER", + "body": "this is body\n", + "closed_by": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_3_comments-83d2db1f-2c02-4f03-9bb0-668774dd4f8d.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_3_comments-83d2db1f-2c02-4f03-9bb0-668774dd4f8d.json new file mode 100644 index 000000000..af36cc57c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_3_comments-83d2db1f-2c02-4f03-9bb0-668774dd4f8d.json @@ -0,0 +1,95 @@ +[ + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547249", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547249, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNDk=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:33Z", + "updated_at": "2012-09-13T23:27:33Z", + "author_association": "OWNER", + "body": "aaa\n" + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547251", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547251, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTE=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:35Z", + "updated_at": "2012-09-13T23:27:35Z", + "author_association": "OWNER", + "body": "bbb\n" + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547253", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547253, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTM=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:38Z", + "updated_at": "2012-09-13T23:27:38Z", + "author_association": "OWNER", + "body": "ccc\n" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_4-d90a1a3e-5992-44bd-bb74-2122878d2da5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_4-d90a1a3e-5992-44bd-bb74-2122878d2da5.json new file mode 100644 index 000000000..ff206ede2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/__files/repos_kohsuke_test_issues_4-d90a1a3e-5992-44bd-bb74-2122878d2da5.json @@ -0,0 +1,149 @@ +{ + "url": "https://api.github.com/repos/kohsuke/test/issues/4", + "repository_url": "https://api.github.com/repos/kohsuke/test", + "labels_url": "https://api.github.com/repos/kohsuke/test/issues/4/labels{/name}", + "comments_url": "https://api.github.com/repos/kohsuke/test/issues/4/comments", + "events_url": "https://api.github.com/repos/kohsuke/test/issues/4/events", + "html_url": "https://github.com/kohsuke/test/issues/4", + "id": 6863872, + "node_id": "MDU6SXNzdWU2ODYzODcy", + "number": 4, + "title": "testing", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 3004520, + "node_id": "MDU6TGFiZWwzMDA0NTIw", + "url": "https://api.github.com/repos/kohsuke/test/labels/bug", + "name": "bug", + "color": "fc2929", + "default": true + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": { + "url": "https://api.github.com/repos/kohsuke/test/milestones/1", + "html_url": "https://github.com/kohsuke/test/milestone/1", + "labels_url": "https://api.github.com/repos/kohsuke/test/milestones/1/labels", + "id": 174781, + "node_id": "MDk6TWlsZXN0b25lMTc0Nzgx", + "number": 1, + "title": "milestone1", + "description": "test", + "creator": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 0, + "closed_issues": 65, + "state": "closed", + "created_at": "2012-09-13T23:00:22Z", + "updated_at": "2014-01-08T04:02:27Z", + "due_on": null, + "closed_at": "2013-05-07T18:10:48Z" + }, + "comments": 0, + "created_at": "2012-09-13T23:01:47Z", + "updated_at": "2012-09-13T23:01:48Z", + "closed_at": "2012-09-13T23:01:48Z", + "author_association": "OWNER", + "body": "this is body\n", + "closed_by": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test-5e93357f-40cc-49ad-90ca-355a4703de1e.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test-5e93357f-40cc-49ad-90ca-355a4703de1e.json new file mode 100644 index 000000000..c24814bc6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test-5e93357f-40cc-49ad-90ca-355a4703de1e.json @@ -0,0 +1,43 @@ +{ + "id": "5e93357f-40cc-49ad-90ca-355a4703de1e", + "name": "repos_kohsuke_test", + "request": { + "url": "/repos/kohsuke/test", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test-5e93357f-40cc-49ad-90ca-355a4703de1e.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"6e8e35b2d1bc3903a3fb21af412df7f3\"", + "Last-Modified": "Tue, 13 Aug 2019 15:00:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2BE:67D1:895A2:A8453:5D95192D" + } + }, + "uuid": "5e93357f-40cc-49ad-90ca-355a4703de1e", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_3-805b83e0-61e7-4dc4-844e-a834681cd311.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_3-805b83e0-61e7-4dc4-844e-a834681cd311.json new file mode 100644 index 000000000..46492fe96 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_3-805b83e0-61e7-4dc4-844e-a834681cd311.json @@ -0,0 +1,43 @@ +{ + "id": "805b83e0-61e7-4dc4-844e-a834681cd311", + "name": "repos_kohsuke_test_issues_3", + "request": { + "url": "/repos/kohsuke/test/issues/3", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_3-805b83e0-61e7-4dc4-844e-a834681cd311.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4960", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"f772a61584fe7a0fe7718e12f57c311f\"", + "Last-Modified": "Wed, 02 Oct 2019 19:54:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2BE:67D1:895A8:A8459:5D95192E" + } + }, + "uuid": "805b83e0-61e7-4dc4-844e-a834681cd311", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_3_comments-83d2db1f-2c02-4f03-9bb0-668774dd4f8d.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_3_comments-83d2db1f-2c02-4f03-9bb0-668774dd4f8d.json new file mode 100644 index 000000000..9457e16be --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_3_comments-83d2db1f-2c02-4f03-9bb0-668774dd4f8d.json @@ -0,0 +1,42 @@ +{ + "id": "83d2db1f-2c02-4f03-9bb0-668774dd4f8d", + "name": "repos_kohsuke_test_issues_3_comments", + "request": { + "url": "/repos/kohsuke/test/issues/3/comments", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_3_comments-83d2db1f-2c02-4f03-9bb0-668774dd4f8d.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4959", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"cc05c56cc032f7cc1c2a98e60bd9d8d7\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2BE:67D1:895A9:A845A:5D95192E" + } + }, + "uuid": "83d2db1f-2c02-4f03-9bb0-668774dd4f8d", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_4-d90a1a3e-5992-44bd-bb74-2122878d2da5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_4-d90a1a3e-5992-44bd-bb74-2122878d2da5.json new file mode 100644 index 000000000..fd0226bda --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_4-d90a1a3e-5992-44bd-bb74-2122878d2da5.json @@ -0,0 +1,43 @@ +{ + "id": "d90a1a3e-5992-44bd-bb74-2122878d2da5", + "name": "repos_kohsuke_test_issues_4", + "request": { + "url": "/repos/kohsuke/test/issues/4", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_4-d90a1a3e-5992-44bd-bb74-2122878d2da5.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4962", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"1ce4fd2aa953afa3a39653232b50942e\"", + "Last-Modified": "Wed, 02 Oct 2019 19:54:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2BE:67D1:895A4:A8455:5D95192E" + } + }, + "uuid": "d90a1a3e-5992-44bd-bb74-2122878d2da5", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_4_comments-648b70f1-64eb-413b-9f5d-ebf563d8b5e8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_4_comments-648b70f1-64eb-413b-9f5d-ebf563d8b5e8.json new file mode 100644 index 000000000..a6aa02e25 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithNoComment/mappings/repos_kohsuke_test_issues_4_comments-648b70f1-64eb-413b-9f5d-ebf563d8b5e8.json @@ -0,0 +1,42 @@ +{ + "id": "648b70f1-64eb-413b-9f5d-ebf563d8b5e8", + "name": "repos_kohsuke_test_issues_4_comments", + "request": { + "url": "/repos/kohsuke/test/issues/4/comments", + "method": "GET" + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4961", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"ad5808b0a5d75d70a16a73b8e9763e19\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2BE:67D1:895A6:A8458:5D95192E" + } + }, + "uuid": "648b70f1-64eb-413b-9f5d-ebf563d8b5e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyOrganizations/__files/user_orgs-2985ea8b-b43b-45ab-b2ce-162ca7bdb55f.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyOrganizations/__files/user_orgs-2985ea8b-b43b-45ab-b2ce-162ca7bdb55f.json new file mode 100644 index 000000000..c4f218ad0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyOrganizations/__files/user_orgs-2985ea8b-b43b-45ab-b2ce-162ca7bdb55f.json @@ -0,0 +1,142 @@ +[ + { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "url": "https://api.github.com/orgs/jenkinsci", + "repos_url": "https://api.github.com/orgs/jenkinsci/repos", + "events_url": "https://api.github.com/orgs/jenkinsci/events", + "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", + "issues_url": "https://api.github.com/orgs/jenkinsci/issues", + "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", + "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", + "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines" + }, + { + "login": "cloudbees", + "id": 235526, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", + "url": "https://api.github.com/orgs/cloudbees", + "repos_url": "https://api.github.com/orgs/cloudbees/repos", + "events_url": "https://api.github.com/orgs/cloudbees/events", + "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", + "issues_url": "https://api.github.com/orgs/cloudbees/issues", + "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", + "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", + "description": "" + }, + { + "login": "beautify-web", + "id": 6538164, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY1MzgxNjQ=", + "url": "https://api.github.com/orgs/beautify-web", + "repos_url": "https://api.github.com/orgs/beautify-web/repos", + "events_url": "https://api.github.com/orgs/beautify-web/events", + "hooks_url": "https://api.github.com/orgs/beautify-web/hooks", + "issues_url": "https://api.github.com/orgs/beautify-web/issues", + "members_url": "https://api.github.com/orgs/beautify-web/members{/member}", + "public_members_url": "https://api.github.com/orgs/beautify-web/public_members{/member}", + "avatar_url": "https://avatars1.githubusercontent.com/u/6538164?v=4", + "description": null + }, + { + "login": "jenkins-infra", + "id": 7422698, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc0MjI2OTg=", + "url": "https://api.github.com/orgs/jenkins-infra", + "repos_url": "https://api.github.com/orgs/jenkins-infra/repos", + "events_url": "https://api.github.com/orgs/jenkins-infra/events", + "hooks_url": "https://api.github.com/orgs/jenkins-infra/hooks", + "issues_url": "https://api.github.com/orgs/jenkins-infra/issues", + "members_url": "https://api.github.com/orgs/jenkins-infra/members{/member}", + "public_members_url": "https://api.github.com/orgs/jenkins-infra/public_members{/member}", + "avatar_url": "https://avatars2.githubusercontent.com/u/7422698?v=4", + "description": "Repositories owned by the Jenkins project infrastructure team" + }, + { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/github-api-test-org", + "repos_url": "https://api.github.com/orgs/github-api-test-org/repos", + "events_url": "https://api.github.com/orgs/github-api-test-org/events", + "hooks_url": "https://api.github.com/orgs/github-api-test-org/hooks", + "issues_url": "https://api.github.com/orgs/github-api-test-org/issues", + "members_url": "https://api.github.com/orgs/github-api-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/github-api-test-org/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "description": null + }, + { + "login": "jenkins-inc", + "id": 17552794, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3NTUyNzk0", + "url": "https://api.github.com/orgs/jenkins-inc", + "repos_url": "https://api.github.com/orgs/jenkins-inc/repos", + "events_url": "https://api.github.com/orgs/jenkins-inc/events", + "hooks_url": "https://api.github.com/orgs/jenkins-inc/hooks", + "issues_url": "https://api.github.com/orgs/jenkins-inc/issues", + "members_url": "https://api.github.com/orgs/jenkins-inc/members{/member}", + "public_members_url": "https://api.github.com/orgs/jenkins-inc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/17552794?v=4", + "description": "A fictional company to demonstrate Jenkins capabilities" + }, + { + "login": "beautifier", + "id": 22065016, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjIyMDY1MDE2", + "url": "https://api.github.com/orgs/beautifier", + "repos_url": "https://api.github.com/orgs/beautifier/repos", + "events_url": "https://api.github.com/orgs/beautifier/events", + "hooks_url": "https://api.github.com/orgs/beautifier/hooks", + "issues_url": "https://api.github.com/orgs/beautifier/issues", + "members_url": "https://api.github.com/orgs/beautifier/members{/member}", + "public_members_url": "https://api.github.com/orgs/beautifier/public_members{/member}", + "avatar_url": "https://avatars1.githubusercontent.com/u/22065016?v=4", + "description": null + }, + { + "login": "jenkins-docs", + "id": 24830755, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjI0ODMwNzU1", + "url": "https://api.github.com/orgs/jenkins-docs", + "repos_url": "https://api.github.com/orgs/jenkins-docs/repos", + "events_url": "https://api.github.com/orgs/jenkins-docs/events", + "hooks_url": "https://api.github.com/orgs/jenkins-docs/hooks", + "issues_url": "https://api.github.com/orgs/jenkins-docs/issues", + "members_url": "https://api.github.com/orgs/jenkins-docs/members{/member}", + "public_members_url": "https://api.github.com/orgs/jenkins-docs/public_members{/member}", + "avatar_url": "https://avatars1.githubusercontent.com/u/24830755?v=4", + "description": "Collection of docs, tutorials and relevant repositories" + }, + { + "login": "bitwise-jenkins", + "id": 24939347, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjI0OTM5MzQ3", + "url": "https://api.github.com/orgs/bitwise-jenkins", + "repos_url": "https://api.github.com/orgs/bitwise-jenkins/repos", + "events_url": "https://api.github.com/orgs/bitwise-jenkins/events", + "hooks_url": "https://api.github.com/orgs/bitwise-jenkins/hooks", + "issues_url": "https://api.github.com/orgs/bitwise-jenkins/issues", + "members_url": "https://api.github.com/orgs/bitwise-jenkins/members{/member}", + "public_members_url": "https://api.github.com/orgs/bitwise-jenkins/public_members{/member}", + "avatar_url": "https://avatars2.githubusercontent.com/u/24939347?v=4", + "description": null + }, + { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "url": "https://api.github.com/orgs/github-api", + "repos_url": "https://api.github.com/orgs/github-api/repos", + "events_url": "https://api.github.com/orgs/github-api/events", + "hooks_url": "https://api.github.com/orgs/github-api/hooks", + "issues_url": "https://api.github.com/orgs/github-api/issues", + "members_url": "https://api.github.com/orgs/github-api/members{/member}", + "public_members_url": "https://api.github.com/orgs/github-api/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "description": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyOrganizations/mappings/user_orgs-2985ea8b-b43b-45ab-b2ce-162ca7bdb55f.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyOrganizations/mappings/user_orgs-2985ea8b-b43b-45ab-b2ce-162ca7bdb55f.json new file mode 100644 index 000000000..14ce685fb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyOrganizations/mappings/user_orgs-2985ea8b-b43b-45ab-b2ce-162ca7bdb55f.json @@ -0,0 +1,42 @@ +{ + "id": "2985ea8b-b43b-45ab-b2ce-162ca7bdb55f", + "name": "user_orgs", + "request": { + "url": "/user/orgs", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "user_orgs-2985ea8b-b43b-45ab-b2ce-162ca7bdb55f.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:39:57 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4965", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"03bf52007c5043e8a9dc44a8d12582b8\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2B6:957A:C7FCCC:EECC87:5D95192C" + } + }, + "uuid": "2985ea8b-b43b-45ab-b2ce-162ca7bdb55f", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRateLimit/__files/rate_limit-195911b7-d3b7-4eb4-9d1e-f39465b89bb8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRateLimit/__files/rate_limit-195911b7-d3b7-4eb4-9d1e-f39465b89bb8.json new file mode 100644 index 000000000..b1dd0485e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRateLimit/__files/rate_limit-195911b7-d3b7-4eb4-9d1e-f39465b89bb8.json @@ -0,0 +1,29 @@ +{ + "resources": { + "core": { + "limit": 5000, + "remaining": 4944, + "reset": 1570055937 + }, + "search": { + "limit": 30, + "remaining": 30, + "reset": 1570052463 + }, + "graphql": { + "limit": 5000, + "remaining": 5000, + "reset": 1570056003 + }, + "integration_manifest": { + "limit": 5000, + "remaining": 5000, + "reset": 1570056003 + } + }, + "rate": { + "limit": 5000, + "remaining": 4944, + "reset": 1570055937 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRateLimit/mappings/rate_limit-195911b7-d3b7-4eb4-9d1e-f39465b89bb8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRateLimit/mappings/rate_limit-195911b7-d3b7-4eb4-9d1e-f39465b89bb8.json new file mode 100644 index 000000000..39f9bba90 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRateLimit/mappings/rate_limit-195911b7-d3b7-4eb4-9d1e-f39465b89bb8.json @@ -0,0 +1,38 @@ +{ + "id": "195911b7-d3b7-4eb4-9d1e-f39465b89bb8", + "name": "rate_limit", + "request": { + "url": "/rate_limit", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "rate_limit-195911b7-d3b7-4eb4-9d1e-f39465b89bb8.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4944", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "no-cache", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding", + "X-GitHub-Request-Id": "C2CD:3CA2:BB7551:E0A7D6:5D951933" + } + }, + "uuid": "195911b7-d3b7-4eb4-9d1e-f39465b89bb8", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-39714670-728d-4f72-bf18-7b2e6f0ac276.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-39714670-728d-4f72-bf18-7b2e6f0ac276.json new file mode 100644 index 000000000..8a2517b27 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-39714670-728d-4f72-bf18-7b2e6f0ac276.json @@ -0,0 +1,104 @@ +{ + "id": 212446528, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mjg=", + "name": "github-api-test-rename", + "full_name": "bitwiseman/github-api-test-rename", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-rename", + "description": "a test repository", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-rename", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments", + "created_at": "2019-10-02T21:40:00Z", + "updated_at": "2019-10-02T21:40:01Z", + "pushed_at": "2019-10-02T21:40:01Z", + "git_url": "git://github.com/bitwiseman/github-api-test-rename.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-rename.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-rename.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-rename", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": false, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-6cc04a40-acd6-409b-b004-671cbc0c03c8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-6cc04a40-acd6-409b-b004-671cbc0c03c8.json new file mode 100644 index 000000000..3917a978b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-6cc04a40-acd6-409b-b004-671cbc0c03c8.json @@ -0,0 +1,104 @@ +{ + "id": 212446528, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mjg=", + "name": "github-api-test-rename2", + "full_name": "bitwiseman/github-api-test-rename2", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-rename2", + "description": "a test repository", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/deployments", + "created_at": "2019-10-02T21:40:00Z", + "updated_at": "2019-10-02T21:40:02Z", + "pushed_at": "2019-10-02T21:40:01Z", + "git_url": "git://github.com/bitwiseman/github-api-test-rename2.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-rename2.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-rename2.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-rename2", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": false, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-b0c1117a-926e-4ccd-baf3-c7813a465a7a.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-b0c1117a-926e-4ccd-baf3-c7813a465a7a.json new file mode 100644 index 000000000..a84ef2184 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-b0c1117a-926e-4ccd-baf3-c7813a465a7a.json @@ -0,0 +1,104 @@ +{ + "id": 212446528, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mjg=", + "name": "github-api-test-rename", + "full_name": "bitwiseman/github-api-test-rename", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-rename", + "description": "a test repository", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-rename", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments", + "created_at": "2019-10-02T21:40:00Z", + "updated_at": "2019-10-02T21:40:02Z", + "pushed_at": "2019-10-02T21:40:01Z", + "git_url": "git://github.com/bitwiseman/github-api-test-rename.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-rename.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-rename.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-rename", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": false, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-b1b91949-0448-415c-998e-a38135c37661.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-b1b91949-0448-415c-998e-a38135c37661.json new file mode 100644 index 000000000..93129e32a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-b1b91949-0448-415c-998e-a38135c37661.json @@ -0,0 +1,104 @@ +{ + "id": 212446528, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mjg=", + "name": "github-api-test-rename", + "full_name": "bitwiseman/github-api-test-rename", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-rename", + "description": "a test repository", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-rename", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments", + "created_at": "2019-10-02T21:40:00Z", + "updated_at": "2019-10-02T21:40:01Z", + "pushed_at": "2019-10-02T21:40:01Z", + "git_url": "git://github.com/bitwiseman/github-api-test-rename.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-rename.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-rename.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-rename", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename2-c1bd7f2a-cab0-4208-b4c8-f2a24bca9169.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename2-c1bd7f2a-cab0-4208-b4c8-f2a24bca9169.json new file mode 100644 index 000000000..3917a978b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename2-c1bd7f2a-cab0-4208-b4c8-f2a24bca9169.json @@ -0,0 +1,104 @@ +{ + "id": 212446528, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mjg=", + "name": "github-api-test-rename2", + "full_name": "bitwiseman/github-api-test-rename2", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-rename2", + "description": "a test repository", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-rename2/deployments", + "created_at": "2019-10-02T21:40:00Z", + "updated_at": "2019-10-02T21:40:02Z", + "pushed_at": "2019-10-02T21:40:01Z", + "git_url": "git://github.com/bitwiseman/github-api-test-rename2.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-rename2.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-rename2.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-rename2", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": false, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user-3068cd06-63e4-4658-a037-d113f99314af.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user-3068cd06-63e4-4658-a037-d113f99314af.json new file mode 100644 index 000000000..41fc9e3d0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user-3068cd06-63e4-4658-a037-d113f99314af.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 168, + "public_gists": 4, + "followers": 136, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "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/AppTest/wiremock/testRepoCRUD/__files/user_repos-ead41396-5e65-4478-8e81-03bb7cd5d2d1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user_repos-ead41396-5e65-4478-8e81-03bb7cd5d2d1.json new file mode 100644 index 000000000..3de34f9fc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user_repos-ead41396-5e65-4478-8e81-03bb7cd5d2d1.json @@ -0,0 +1,104 @@ +{ + "id": 212446528, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mjg=", + "name": "github-api-test-rename", + "full_name": "bitwiseman/github-api-test-rename", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:49858/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:49858/users/bitwiseman/followers", + "following_url": "http://localhost:49858/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:49858/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:49858/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:49858/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:49858/users/bitwiseman/orgs", + "repos_url": "http://localhost:49858/users/bitwiseman/repos", + "events_url": "http://localhost:49858/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:49858/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-rename", + "description": "a test repository", + "fork": false, + "url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename", + "forks_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/forks", + "keys_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/keys{/key_id}", + "collaborators_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/collaborators{/collaborator}", + "teams_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/teams", + "hooks_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/hooks", + "issue_events_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/issues/events{/number}", + "events_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/events", + "assignees_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/assignees{/user}", + "branches_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/branches{/branch}", + "tags_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/tags", + "blobs_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/git/blobs{/sha}", + "git_tags_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/git/tags{/sha}", + "git_refs_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/git/refs{/sha}", + "trees_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/git/trees{/sha}", + "statuses_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/statuses/{sha}", + "languages_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/languages", + "stargazers_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/stargazers", + "contributors_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/contributors", + "subscribers_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/subscribers", + "subscription_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/subscription", + "commits_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/commits{/sha}", + "git_commits_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/git/commits{/sha}", + "comments_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/comments{/number}", + "issue_comment_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/issues/comments{/number}", + "contents_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/contents/{+path}", + "compare_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/compare/{base}...{head}", + "merges_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/merges", + "archive_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/{archive_format}{/ref}", + "downloads_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/downloads", + "issues_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/issues{/number}", + "pulls_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/pulls{/number}", + "milestones_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/milestones{/number}", + "notifications_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/notifications{?since,all,participating}", + "labels_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/labels{/name}", + "releases_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/releases{/id}", + "deployments_url": "http://localhost:49858/repos/bitwiseman/github-api-test-rename/deployments", + "created_at": "2019-10-02T21:40:00Z", + "updated_at": "2019-10-02T21:40:00Z", + "pushed_at": "2019-10-02T21:40:01Z", + "git_url": "git://github.com/bitwiseman/github-api-test-rename.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-rename.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-rename.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-rename", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-39714670-728d-4f72-bf18-7b2e6f0ac276.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-39714670-728d-4f72-bf18-7b2e6f0ac276.json new file mode 100644 index 000000000..6c09bad50 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-39714670-728d-4f72-bf18-7b2e6f0ac276.json @@ -0,0 +1,49 @@ +{ + "id": "39714670-728d-4f72-bf18-7b2e6f0ac276", + "name": "repos_bitwiseman_github-api-test-rename", + "request": { + "url": "/repos/bitwiseman/github-api-test-rename", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"has_downloads\":\"false\",\"name\":\"github-api-test-rename\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-rename-39714670-728d-4f72-bf18-7b2e6f0ac276.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4949", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"60275f98305efd018fd06e2aee142eb1\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C4:9578:8B9B62:A6E7CB:5D951931" + } + }, + "uuid": "39714670-728d-4f72-bf18-7b2e6f0ac276", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-6cc04a40-acd6-409b-b004-671cbc0c03c8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-6cc04a40-acd6-409b-b004-671cbc0c03c8.json new file mode 100644 index 000000000..3a91e56b4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-6cc04a40-acd6-409b-b004-671cbc0c03c8.json @@ -0,0 +1,49 @@ +{ + "id": "6cc04a40-acd6-409b-b004-671cbc0c03c8", + "name": "repos_bitwiseman_github-api-test-rename", + "request": { + "url": "/repos/bitwiseman/github-api-test-rename", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"github-api-test-rename2\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-rename-6cc04a40-acd6-409b-b004-671cbc0c03c8.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4947", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8172779f53124f2aff27b1e865d7cf40\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C4:9578:8B9BCC:A6E844:5D951932" + } + }, + "uuid": "6cc04a40-acd6-409b-b004-671cbc0c03c8", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-b0c1117a-926e-4ccd-baf3-c7813a465a7a.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-b0c1117a-926e-4ccd-baf3-c7813a465a7a.json new file mode 100644 index 000000000..8c58f4b75 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-b0c1117a-926e-4ccd-baf3-c7813a465a7a.json @@ -0,0 +1,49 @@ +{ + "id": "b0c1117a-926e-4ccd-baf3-c7813a465a7a", + "name": "repos_bitwiseman_github-api-test-rename", + "request": { + "url": "/repos/bitwiseman/github-api-test-rename", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"has_wiki\":\"false\",\"name\":\"github-api-test-rename\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-rename-b0c1117a-926e-4ccd-baf3-c7813a465a7a.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4948", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"fbb73893fa29f9d65c35b8cbb3d078ae\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C4:9578:8B9BAC:A6E80C:5D951932" + } + }, + "uuid": "b0c1117a-926e-4ccd-baf3-c7813a465a7a", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-b1b91949-0448-415c-998e-a38135c37661.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-b1b91949-0448-415c-998e-a38135c37661.json new file mode 100644 index 000000000..25e1ac7ab --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename-b1b91949-0448-415c-998e-a38135c37661.json @@ -0,0 +1,49 @@ +{ + "id": "b1b91949-0448-415c-998e-a38135c37661", + "name": "repos_bitwiseman_github-api-test-rename", + "request": { + "url": "/repos/bitwiseman/github-api-test-rename", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"github-api-test-rename\",\"has_issues\":\"false\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-rename-b1b91949-0448-415c-998e-a38135c37661.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4950", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"badb2306375eb151e38f234f6152bba6\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C4:9578:8B9B44:A6E7A3:5D951931" + } + }, + "uuid": "b1b91949-0448-415c-998e-a38135c37661", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename2-17b2c9d9-85eb-41f5-87d8-428bb5d5afb9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename2-17b2c9d9-85eb-41f5-87d8-428bb5d5afb9.json new file mode 100644 index 000000000..5f568fe73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename2-17b2c9d9-85eb-41f5-87d8-428bb5d5afb9.json @@ -0,0 +1,35 @@ +{ + "id": "17b2c9d9-85eb-41f5-87d8-428bb5d5afb9", + "name": "repos_bitwiseman_github-api-test-rename2", + "request": { + "url": "/repos/bitwiseman/github-api-test-rename2", + "method": "DELETE" + }, + "response": { + "status": 204, + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:03 GMT", + "Server": "GitHub.com", + "Status": "204 No Content", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4944", + "X-RateLimit-Reset": "1570055937", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "delete_repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding", + "X-GitHub-Request-Id": "C2C4:9578:8B9C28:A6E8AB:5D951933" + } + }, + "uuid": "17b2c9d9-85eb-41f5-87d8-428bb5d5afb9", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename2-c1bd7f2a-cab0-4208-b4c8-f2a24bca9169.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename2-c1bd7f2a-cab0-4208-b4c8-f2a24bca9169.json new file mode 100644 index 000000000..438ef2476 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/repos_bitwiseman_github-api-test-rename2-c1bd7f2a-cab0-4208-b4c8-f2a24bca9169.json @@ -0,0 +1,43 @@ +{ + "id": "c1bd7f2a-cab0-4208-b4c8-f2a24bca9169", + "name": "repos_bitwiseman_github-api-test-rename2", + "request": { + "url": "/repos/bitwiseman/github-api-test-rename2", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-rename2-c1bd7f2a-cab0-4208-b4c8-f2a24bca9169.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4945", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8172779f53124f2aff27b1e865d7cf40\"", + "Last-Modified": "Wed, 02 Oct 2019 21:40:02 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C4:9578:8B9C0C:A6E88E:5D951932" + } + }, + "uuid": "c1bd7f2a-cab0-4208-b4c8-f2a24bca9169", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/user-3068cd06-63e4-4658-a037-d113f99314af.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/user-3068cd06-63e4-4658-a037-d113f99314af.json new file mode 100644 index 000000000..2aaa569d8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/user-3068cd06-63e4-4658-a037-d113f99314af.json @@ -0,0 +1,43 @@ +{ + "id": "3068cd06-63e4-4658-a037-d113f99314af", + "name": "user", + "request": { + "url": "/user", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "user-3068cd06-63e4-4658-a037-d113f99314af.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4946", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"af0c41afcacb8ceee14b7d896719c3bd\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C4:9578:8B9BEC:A6E86D:5D951932" + } + }, + "uuid": "3068cd06-63e4-4658-a037-d113f99314af", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/user_repos-ead41396-5e65-4478-8e81-03bb7cd5d2d1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/user_repos-ead41396-5e65-4478-8e81-03bb7cd5d2d1.json new file mode 100644 index 000000000..3694fbd69 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/mappings/user_repos-ead41396-5e65-4478-8e81-03bb7cd5d2d1.json @@ -0,0 +1,50 @@ +{ + "id": "ead41396-5e65-4478-8e81-03bb7cd5d2d1", + "name": "user_repos", + "request": { + "url": "/user/repos", + "method": "POST", + "bodyPatterns": [ + { + "equalToJson": "{\"private\":false,\"name\":\"github-api-test-rename\",\"description\":\"a test repository\",\"homepage\":\"http://github-api.kohsuke.org/\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "user_repos-ead41396-5e65-4478-8e81-03bb7cd5d2d1.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4951", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"7932a8014acba04e742952d678d02a63\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "public_repo, repo", + "Location": "https://api.github.com/repos/bitwiseman/github-api-test-rename", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2C4:9578:8B9AD6:A6E725:5D951930" + } + }, + "uuid": "ead41396-5e65-4478-8e81-03bb7cd5d2d1", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-51dabcc5-7825-4251-b560-8927ffa265b5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-51dabcc5-7825-4251-b560-8927ffa265b5.json new file mode 100644 index 000000000..6bded5847 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-51dabcc5-7825-4251-b560-8927ffa265b5.json @@ -0,0 +1,104 @@ +{ + "id": 212446539, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mzk=", + "name": "github-api-test-autoinit", + "full_name": "bitwiseman/github-api-test-autoinit", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "description": "a test repository for auto init", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/deployments", + "created_at": "2019-10-02T21:40:04Z", + "updated_at": "2019-10-02T21:40:07Z", + "pushed_at": "2019-10-02T21:40:05Z", + "git_url": "git://github.com/bitwiseman/github-api-test-autoinit.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-autoinit.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-autoinit.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": false, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-64af61d8-56b5-4b55-ad9f-ca9d6597e07a.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-64af61d8-56b5-4b55-ad9f-ca9d6597e07a.json new file mode 100644 index 000000000..54419b458 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-64af61d8-56b5-4b55-ad9f-ca9d6597e07a.json @@ -0,0 +1,104 @@ +{ + "id": 212446539, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mzk=", + "name": "github-api-test-autoinit", + "full_name": "bitwiseman/github-api-test-autoinit", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "description": "a test repository for auto init", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/deployments", + "created_at": "2019-10-02T21:40:04Z", + "updated_at": "2019-10-02T21:40:05Z", + "pushed_at": "2019-10-02T21:40:05Z", + "git_url": "git://github.com/bitwiseman/github-api-test-autoinit.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-autoinit.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-autoinit.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-a1a05f8b-7bd8-4200-a587-fd99f720508b.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-a1a05f8b-7bd8-4200-a587-fd99f720508b.json new file mode 100644 index 000000000..2528ff224 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-a1a05f8b-7bd8-4200-a587-fd99f720508b.json @@ -0,0 +1,104 @@ +{ + "id": 212446539, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mzk=", + "name": "github-api-test-autoinit", + "full_name": "bitwiseman/github-api-test-autoinit", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "description": "a test repository for auto init", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/deployments", + "created_at": "2019-10-02T21:40:04Z", + "updated_at": "2019-10-02T21:40:05Z", + "pushed_at": "2019-10-02T21:40:05Z", + "git_url": "git://github.com/bitwiseman/github-api-test-autoinit.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-autoinit.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-autoinit.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": false, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-c71176ad-bfc9-4e39-aed8-6c4abd1c5979.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-c71176ad-bfc9-4e39-aed8-6c4abd1c5979.json new file mode 100644 index 000000000..6bded5847 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit-c71176ad-bfc9-4e39-aed8-6c4abd1c5979.json @@ -0,0 +1,104 @@ +{ + "id": 212446539, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mzk=", + "name": "github-api-test-autoinit", + "full_name": "bitwiseman/github-api-test-autoinit", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "description": "a test repository for auto init", + "fork": false, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit", + "forks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/forks", + "keys_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/teams", + "hooks_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/hooks", + "issue_events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/events{/number}", + "events_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/events", + "assignees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/assignees{/user}", + "branches_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/branches{/branch}", + "tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/tags", + "blobs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/languages", + "stargazers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/stargazers", + "contributors_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contributors", + "subscribers_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscribers", + "subscription_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/subscription", + "commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/{+path}", + "compare_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/merges", + "archive_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/downloads", + "issues_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/issues{/number}", + "pulls_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/labels{/name}", + "releases_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/releases{/id}", + "deployments_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/deployments", + "created_at": "2019-10-02T21:40:04Z", + "updated_at": "2019-10-02T21:40:07Z", + "pushed_at": "2019-10-02T21:40:05Z", + "git_url": "git://github.com/bitwiseman/github-api-test-autoinit.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-autoinit.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-autoinit.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": false, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit_readme-459f3734-bfaa-4f29-97fd-69574b66d965.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit_readme-459f3734-bfaa-4f29-97fd-69574b66d965.json new file mode 100644 index 000000000..63ca2a8ce --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit_readme-459f3734-bfaa-4f29-97fd-69574b66d965.json @@ -0,0 +1,18 @@ +{ + "name": "README.md", + "path": "README.md", + "sha": "9ab0314e21ff2990ac133d0dc5c5c79437edeb83", + "size": 59, + "url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/README.md?ref=master", + "html_url": "https://github.com/bitwiseman/github-api-test-autoinit/blob/master/README.md", + "git_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs/9ab0314e21ff2990ac133d0dc5c5c79437edeb83", + "download_url": "https://raw.githubusercontent.com/bitwiseman/github-api-test-autoinit/master/README.md", + "type": "file", + "content": "IyBnaXRodWItYXBpLXRlc3QtYXV0b2luaXQKYSB0ZXN0IHJlcG9zaXRvcnkg\nZm9yIGF1dG8gaW5pdAo=\n", + "encoding": "base64", + "_links": { + "self": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/README.md?ref=master", + "git": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs/9ab0314e21ff2990ac133d0dc5c5c79437edeb83", + "html": "https://github.com/bitwiseman/github-api-test-autoinit/blob/master/README.md" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user-b16c3b01-8cf2-4f90-a77a-f6ff9e371db0.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user-b16c3b01-8cf2-4f90-a77a-f6ff9e371db0.json new file mode 100644 index 000000000..41fc9e3d0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user-b16c3b01-8cf2-4f90-a77a-f6ff9e371db0.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 168, + "public_gists": 4, + "followers": 136, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "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/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user_repos-7be48128-4960-4274-8681-118897a274af.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user_repos-7be48128-4960-4274-8681-118897a274af.json new file mode 100644 index 000000000..7ae78469d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user_repos-7be48128-4960-4274-8681-118897a274af.json @@ -0,0 +1,104 @@ +{ + "id": 212446539, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTI0NDY1Mzk=", + "name": "github-api-test-autoinit", + "full_name": "bitwiseman/github-api-test-autoinit", + "private": false, + "owner": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "http://localhost:49872/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "http://localhost:49872/users/bitwiseman/followers", + "following_url": "http://localhost:49872/users/bitwiseman/following{/other_user}", + "gists_url": "http://localhost:49872/users/bitwiseman/gists{/gist_id}", + "starred_url": "http://localhost:49872/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "http://localhost:49872/users/bitwiseman/subscriptions", + "organizations_url": "http://localhost:49872/users/bitwiseman/orgs", + "repos_url": "http://localhost:49872/users/bitwiseman/repos", + "events_url": "http://localhost:49872/users/bitwiseman/events{/privacy}", + "received_events_url": "http://localhost:49872/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "description": "a test repository for auto init", + "fork": false, + "url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit", + "forks_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/forks", + "keys_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/keys{/key_id}", + "collaborators_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/collaborators{/collaborator}", + "teams_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/teams", + "hooks_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/hooks", + "issue_events_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/issues/events{/number}", + "events_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/events", + "assignees_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/assignees{/user}", + "branches_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/branches{/branch}", + "tags_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/tags", + "blobs_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/git/blobs{/sha}", + "git_tags_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/git/tags{/sha}", + "git_refs_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/git/refs{/sha}", + "trees_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/git/trees{/sha}", + "statuses_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/statuses/{sha}", + "languages_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/languages", + "stargazers_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/stargazers", + "contributors_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/contributors", + "subscribers_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/subscribers", + "subscription_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/subscription", + "commits_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/commits{/sha}", + "git_commits_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/git/commits{/sha}", + "comments_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/comments{/number}", + "issue_comment_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/issues/comments{/number}", + "contents_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/contents/{+path}", + "compare_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/compare/{base}...{head}", + "merges_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/merges", + "archive_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/{archive_format}{/ref}", + "downloads_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/downloads", + "issues_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/issues{/number}", + "pulls_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/pulls{/number}", + "milestones_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/milestones{/number}", + "notifications_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/notifications{?since,all,participating}", + "labels_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/labels{/name}", + "releases_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/releases{/id}", + "deployments_url": "http://localhost:49872/repos/bitwiseman/github-api-test-autoinit/deployments", + "created_at": "2019-10-02T21:40:04Z", + "updated_at": "2019-10-02T21:40:04Z", + "pushed_at": "2019-10-02T21:40:05Z", + "git_url": "git://github.com/bitwiseman/github-api-test-autoinit.git", + "ssh_url": "git@github.com:bitwiseman/github-api-test-autoinit.git", + "clone_url": "https://github.com/bitwiseman/github-api-test-autoinit.git", + "svn_url": "https://github.com/bitwiseman/github-api-test-autoinit", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-42bbd1da-3a8a-4325-a41e-5f1a79e33108.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-42bbd1da-3a8a-4325-a41e-5f1a79e33108.json new file mode 100644 index 000000000..8d4bf3289 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-42bbd1da-3a8a-4325-a41e-5f1a79e33108.json @@ -0,0 +1,35 @@ +{ + "id": "42bbd1da-3a8a-4325-a41e-5f1a79e33108", + "name": "repos_bitwiseman_github-api-test-autoinit", + "request": { + "url": "/repos/bitwiseman/github-api-test-autoinit", + "method": "DELETE" + }, + "response": { + "status": 204, + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:11 GMT", + "Server": "GitHub.com", + "Status": "204 No Content", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4934", + "X-RateLimit-Reset": "1570055937", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "delete_repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding", + "X-GitHub-Request-Id": "C2D6:361D:9BE3C5:B8F496:5D95193B" + } + }, + "uuid": "42bbd1da-3a8a-4325-a41e-5f1a79e33108", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-51dabcc5-7825-4251-b560-8927ffa265b5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-51dabcc5-7825-4251-b560-8927ffa265b5.json new file mode 100644 index 000000000..eaf1e5576 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-51dabcc5-7825-4251-b560-8927ffa265b5.json @@ -0,0 +1,43 @@ +{ + "id": "51dabcc5-7825-4251-b560-8927ffa265b5", + "name": "repos_bitwiseman_github-api-test-autoinit", + "request": { + "url": "/repos/bitwiseman/github-api-test-autoinit", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-autoinit-51dabcc5-7825-4251-b560-8927ffa265b5.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4935", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"3172b6b858bfe3dee02f80d5e8fd7b1a\"", + "Last-Modified": "Wed, 02 Oct 2019 21:40:07 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2D6:361D:9BE3B2:B8F482:5D95193B" + } + }, + "uuid": "51dabcc5-7825-4251-b560-8927ffa265b5", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-64af61d8-56b5-4b55-ad9f-ca9d6597e07a.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-64af61d8-56b5-4b55-ad9f-ca9d6597e07a.json new file mode 100644 index 000000000..60bdfb40a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-64af61d8-56b5-4b55-ad9f-ca9d6597e07a.json @@ -0,0 +1,49 @@ +{ + "id": "64af61d8-56b5-4b55-ad9f-ca9d6597e07a", + "name": "repos_bitwiseman_github-api-test-autoinit", + "request": { + "url": "/repos/bitwiseman/github-api-test-autoinit", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"github-api-test-autoinit\",\"has_issues\":\"false\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-autoinit-64af61d8-56b5-4b55-ad9f-ca9d6597e07a.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4940", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"649cd4e87bcc94e6228df1418d0cdbf4\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2D6:361D:9BE114:B8F15E:5D951935" + } + }, + "uuid": "64af61d8-56b5-4b55-ad9f-ca9d6597e07a", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-a1a05f8b-7bd8-4200-a587-fd99f720508b.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-a1a05f8b-7bd8-4200-a587-fd99f720508b.json new file mode 100644 index 000000000..31cfd9d99 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-a1a05f8b-7bd8-4200-a587-fd99f720508b.json @@ -0,0 +1,49 @@ +{ + "id": "a1a05f8b-7bd8-4200-a587-fd99f720508b", + "name": "repos_bitwiseman_github-api-test-autoinit", + "request": { + "url": "/repos/bitwiseman/github-api-test-autoinit", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"has_downloads\":\"false\",\"name\":\"github-api-test-autoinit\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-autoinit-a1a05f8b-7bd8-4200-a587-fd99f720508b.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4939", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a4ffd953902dd8f9ea3b8d61f5d2d61\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2D6:361D:9BE12E:B8F194:5D951935" + } + }, + "uuid": "a1a05f8b-7bd8-4200-a587-fd99f720508b", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-c71176ad-bfc9-4e39-aed8-6c4abd1c5979.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-c71176ad-bfc9-4e39-aed8-6c4abd1c5979.json new file mode 100644 index 000000000..64871009b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit-c71176ad-bfc9-4e39-aed8-6c4abd1c5979.json @@ -0,0 +1,49 @@ +{ + "id": "c71176ad-bfc9-4e39-aed8-6c4abd1c5979", + "name": "repos_bitwiseman_github-api-test-autoinit", + "request": { + "url": "/repos/bitwiseman/github-api-test-autoinit", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"has_wiki\":\"false\",\"name\":\"github-api-test-autoinit\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-autoinit-c71176ad-bfc9-4e39-aed8-6c4abd1c5979.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4938", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"3172b6b858bfe3dee02f80d5e8fd7b1a\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2D6:361D:9BE150:B8F1B6:5D951935" + } + }, + "uuid": "c71176ad-bfc9-4e39-aed8-6c4abd1c5979", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit_readme-459f3734-bfaa-4f29-97fd-69574b66d965.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit_readme-459f3734-bfaa-4f29-97fd-69574b66d965.json new file mode 100644 index 000000000..3aa978b34 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/repos_bitwiseman_github-api-test-autoinit_readme-459f3734-bfaa-4f29-97fd-69574b66d965.json @@ -0,0 +1,43 @@ +{ + "id": "459f3734-bfaa-4f29-97fd-69574b66d965", + "name": "repos_bitwiseman_github-api-test-autoinit_readme", + "request": { + "url": "/repos/bitwiseman/github-api-test-autoinit/readme", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "repos_bitwiseman_github-api-test-autoinit_readme-459f3734-bfaa-4f29-97fd-69574b66d965.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4937", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"d81305e069324d7186e8c5dcacc44a16\"", + "Last-Modified": "Wed, 02 Oct 2019 21:40:04 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2D6:361D:9BE38C:B8F2D9:5D951938" + } + }, + "uuid": "459f3734-bfaa-4f29-97fd-69574b66d965", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/user-b16c3b01-8cf2-4f90-a77a-f6ff9e371db0.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/user-b16c3b01-8cf2-4f90-a77a-f6ff9e371db0.json new file mode 100644 index 000000000..f883d38d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/user-b16c3b01-8cf2-4f90-a77a-f6ff9e371db0.json @@ -0,0 +1,43 @@ +{ + "id": "b16c3b01-8cf2-4f90-a77a-f6ff9e371db0", + "name": "user", + "request": { + "url": "/user", + "method": "GET" + }, + "response": { + "status": 200, + "bodyFileName": "user-b16c3b01-8cf2-4f90-a77a-f6ff9e371db0.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4936", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"af0c41afcacb8ceee14b7d896719c3bd\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2D6:361D:9BE3A1:B8F46B:5D95193B" + } + }, + "uuid": "b16c3b01-8cf2-4f90-a77a-f6ff9e371db0", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/user_repos-7be48128-4960-4274-8681-118897a274af.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/user_repos-7be48128-4960-4274-8681-118897a274af.json new file mode 100644 index 000000000..78190bfb3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/mappings/user_repos-7be48128-4960-4274-8681-118897a274af.json @@ -0,0 +1,50 @@ +{ + "id": "7be48128-4960-4274-8681-118897a274af", + "name": "user_repos", + "request": { + "url": "/user/repos", + "method": "POST", + "bodyPatterns": [ + { + "equalToJson": "{\"auto_init\":true,\"name\":\"github-api-test-autoinit\",\"description\":\"a test repository for auto init\",\"homepage\":\"http://github-api.kohsuke.org/\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "user_repos-7be48128-4960-4274-8681-118897a274af.json", + "headers": { + "Date": "Wed, 02 Oct 2019 21:40:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4941", + "X-RateLimit-Reset": "1570055937", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"dda2f2940b17089e5b65662a99c4651b\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "public_repo, repo", + "Location": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C2D6:361D:9BE05E:B8F09D:5D951934" + } + }, + "uuid": "7be48128-4960-4274-8681-118897a274af", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json index edcdf7d62..2b0dafa93 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json @@ -1 +1,127 @@ -{"id":1548514,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ4NTE0","name":"stapler","full_name":"stapler/stapler","private":false,"owner":{"login":"stapler","id":700341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/700341?v=4","gravatar_id":"","url":"https://api.github.com/users/stapler","html_url":"https://github.com/stapler","followers_url":"https://api.github.com/users/stapler/followers","following_url":"https://api.github.com/users/stapler/following{/other_user}","gists_url":"https://api.github.com/users/stapler/gists{/gist_id}","starred_url":"https://api.github.com/users/stapler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapler/subscriptions","organizations_url":"https://api.github.com/users/stapler/orgs","repos_url":"https://api.github.com/users/stapler/repos","events_url":"https://api.github.com/users/stapler/events{/privacy}","received_events_url":"https://api.github.com/users/stapler/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/stapler/stapler","description":"Stapler web framework","fork":false,"url":"https://api.github.com/repos/stapler/stapler","forks_url":"https://api.github.com/repos/stapler/stapler/forks","keys_url":"https://api.github.com/repos/stapler/stapler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stapler/stapler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stapler/stapler/teams","hooks_url":"https://api.github.com/repos/stapler/stapler/hooks","issue_events_url":"https://api.github.com/repos/stapler/stapler/issues/events{/number}","events_url":"https://api.github.com/repos/stapler/stapler/events","assignees_url":"https://api.github.com/repos/stapler/stapler/assignees{/user}","branches_url":"https://api.github.com/repos/stapler/stapler/branches{/branch}","tags_url":"https://api.github.com/repos/stapler/stapler/tags","blobs_url":"https://api.github.com/repos/stapler/stapler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stapler/stapler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stapler/stapler/git/refs{/sha}","trees_url":"https://api.github.com/repos/stapler/stapler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stapler/stapler/statuses/{sha}","languages_url":"https://api.github.com/repos/stapler/stapler/languages","stargazers_url":"https://api.github.com/repos/stapler/stapler/stargazers","contributors_url":"https://api.github.com/repos/stapler/stapler/contributors","subscribers_url":"https://api.github.com/repos/stapler/stapler/subscribers","subscription_url":"https://api.github.com/repos/stapler/stapler/subscription","commits_url":"https://api.github.com/repos/stapler/stapler/commits{/sha}","git_commits_url":"https://api.github.com/repos/stapler/stapler/git/commits{/sha}","comments_url":"https://api.github.com/repos/stapler/stapler/comments{/number}","issue_comment_url":"https://api.github.com/repos/stapler/stapler/issues/comments{/number}","contents_url":"https://api.github.com/repos/stapler/stapler/contents/{+path}","compare_url":"https://api.github.com/repos/stapler/stapler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stapler/stapler/merges","archive_url":"https://api.github.com/repos/stapler/stapler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stapler/stapler/downloads","issues_url":"https://api.github.com/repos/stapler/stapler/issues{/number}","pulls_url":"https://api.github.com/repos/stapler/stapler/pulls{/number}","milestones_url":"https://api.github.com/repos/stapler/stapler/milestones{/number}","notifications_url":"https://api.github.com/repos/stapler/stapler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stapler/stapler/labels{/name}","releases_url":"https://api.github.com/repos/stapler/stapler/releases{/id}","deployments_url":"https://api.github.com/repos/stapler/stapler/deployments","created_at":"2011-03-30T22:39:45Z","updated_at":"2019-08-27T16:42:33Z","pushed_at":"2019-08-19T18:47:57Z","git_url":"git://github.com/stapler/stapler.git","ssh_url":"git@github.com:stapler/stapler.git","clone_url":"https://github.com/stapler/stapler.git","svn_url":"https://github.com/stapler/stapler","homepage":"http://stapler.kohsuke.org/","size":41906,"stargazers_count":112,"watchers_count":112,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":75,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":28,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":75,"open_issues":28,"watchers":112,"default_branch":"master","permissions":{"admin":false,"push":false,"pull":true},"organization":{"login":"stapler","id":700341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/700341?v=4","gravatar_id":"","url":"https://api.github.com/users/stapler","html_url":"https://github.com/stapler","followers_url":"https://api.github.com/users/stapler/followers","following_url":"https://api.github.com/users/stapler/following{/other_user}","gists_url":"https://api.github.com/users/stapler/gists{/gist_id}","starred_url":"https://api.github.com/users/stapler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapler/subscriptions","organizations_url":"https://api.github.com/users/stapler/orgs","repos_url":"https://api.github.com/users/stapler/repos","events_url":"https://api.github.com/users/stapler/events{/privacy}","received_events_url":"https://api.github.com/users/stapler/received_events","type":"Organization","site_admin":false},"network_count":75,"subscribers_count":12} \ No newline at end of file +{ + "id": 1548514, + "node_id": "MDEwOlJlcG9zaXRvcnkxNTQ4NTE0", + "name": "stapler", + "full_name": "stapler/stapler", + "private": false, + "owner": { + "login": "stapler", + "id": 700341, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/700341?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/stapler", + "html_url": "https://github.com/stapler", + "followers_url": "https://api.github.com/users/stapler/followers", + "following_url": "https://api.github.com/users/stapler/following{/other_user}", + "gists_url": "https://api.github.com/users/stapler/gists{/gist_id}", + "starred_url": "https://api.github.com/users/stapler/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/stapler/subscriptions", + "organizations_url": "https://api.github.com/users/stapler/orgs", + "repos_url": "https://api.github.com/users/stapler/repos", + "events_url": "https://api.github.com/users/stapler/events{/privacy}", + "received_events_url": "https://api.github.com/users/stapler/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/stapler/stapler", + "description": "Stapler web framework", + "fork": false, + "url": "https://api.github.com/repos/stapler/stapler", + "forks_url": "https://api.github.com/repos/stapler/stapler/forks", + "keys_url": "https://api.github.com/repos/stapler/stapler/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/stapler/stapler/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/stapler/stapler/teams", + "hooks_url": "https://api.github.com/repos/stapler/stapler/hooks", + "issue_events_url": "https://api.github.com/repos/stapler/stapler/issues/events{/number}", + "events_url": "https://api.github.com/repos/stapler/stapler/events", + "assignees_url": "https://api.github.com/repos/stapler/stapler/assignees{/user}", + "branches_url": "https://api.github.com/repos/stapler/stapler/branches{/branch}", + "tags_url": "https://api.github.com/repos/stapler/stapler/tags", + "blobs_url": "https://api.github.com/repos/stapler/stapler/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/stapler/stapler/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/stapler/stapler/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/stapler/stapler/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/stapler/stapler/statuses/{sha}", + "languages_url": "https://api.github.com/repos/stapler/stapler/languages", + "stargazers_url": "https://api.github.com/repos/stapler/stapler/stargazers", + "contributors_url": "https://api.github.com/repos/stapler/stapler/contributors", + "subscribers_url": "https://api.github.com/repos/stapler/stapler/subscribers", + "subscription_url": "https://api.github.com/repos/stapler/stapler/subscription", + "commits_url": "https://api.github.com/repos/stapler/stapler/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/stapler/stapler/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/stapler/stapler/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/stapler/stapler/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/{+path}", + "compare_url": "https://api.github.com/repos/stapler/stapler/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/stapler/stapler/merges", + "archive_url": "https://api.github.com/repos/stapler/stapler/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/stapler/stapler/downloads", + "issues_url": "https://api.github.com/repos/stapler/stapler/issues{/number}", + "pulls_url": "https://api.github.com/repos/stapler/stapler/pulls{/number}", + "milestones_url": "https://api.github.com/repos/stapler/stapler/milestones{/number}", + "notifications_url": "https://api.github.com/repos/stapler/stapler/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/stapler/stapler/labels{/name}", + "releases_url": "https://api.github.com/repos/stapler/stapler/releases{/id}", + "deployments_url": "https://api.github.com/repos/stapler/stapler/deployments", + "created_at": "2011-03-30T22:39:45Z", + "updated_at": "2019-08-27T16:42:33Z", + "pushed_at": "2019-08-19T18:47:57Z", + "git_url": "git://github.com/stapler/stapler.git", + "ssh_url": "git@github.com:stapler/stapler.git", + "clone_url": "https://github.com/stapler/stapler.git", + "svn_url": "https://github.com/stapler/stapler", + "homepage": "http://stapler.kohsuke.org/", + "size": 41906, + "stargazers_count": 112, + "watchers_count": 112, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 75, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 28, + "license": { + "key": "bsd-2-clause", + "name": "BSD 2-Clause \"Simplified\" License", + "spdx_id": "BSD-2-Clause", + "url": "https://api.github.com/licenses/bsd-2-clause", + "node_id": "MDc6TGljZW5zZTQ=" + }, + "forks": 75, + "open_issues": 28, + "watchers": 112, + "default_branch": "master", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "organization": { + "login": "stapler", + "id": 700341, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/700341?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/stapler", + "html_url": "https://github.com/stapler", + "followers_url": "https://api.github.com/users/stapler/followers", + "following_url": "https://api.github.com/users/stapler/following{/other_user}", + "gists_url": "https://api.github.com/users/stapler/gists{/gist_id}", + "starred_url": "https://api.github.com/users/stapler/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/stapler/subscriptions", + "organizations_url": "https://api.github.com/users/stapler/orgs", + "repos_url": "https://api.github.com/users/stapler/repos", + "events_url": "https://api.github.com/users/stapler/events{/privacy}", + "received_events_url": "https://api.github.com/users/stapler/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 75, + "subscribers_count": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json index b3dd22e10..640e982ae 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json @@ -1 +1,98 @@ -[{"url":"https://api.github.com/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654","avatar_url":"https://avatars3.githubusercontent.com/u/874715?v=4","id":7455218060,"node_id":"MDEzOlN0YXR1c0NvbnRleHQ3NDU1MjE4MDYw","state":"error","description":"This commit cannot be built","target_url":"https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect","context":"continuous-integration/jenkins/branch","created_at":"2019-08-19T18:45:31Z","updated_at":"2019-08-19T18:45:31Z","creator":{"login":"jenkinsadmin","id":874715,"node_id":"MDQ6VXNlcjg3NDcxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/874715?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkinsadmin","html_url":"https://github.com/jenkinsadmin","followers_url":"https://api.github.com/users/jenkinsadmin/followers","following_url":"https://api.github.com/users/jenkinsadmin/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsadmin/subscriptions","organizations_url":"https://api.github.com/users/jenkinsadmin/orgs","repos_url":"https://api.github.com/users/jenkinsadmin/repos","events_url":"https://api.github.com/users/jenkinsadmin/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsadmin/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654","avatar_url":"https://avatars3.githubusercontent.com/u/874715?v=4","id":7455157752,"node_id":"MDEzOlN0YXR1c0NvbnRleHQ3NDU1MTU3NzUy","state":"pending","description":"This commit is being built","target_url":"https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect","context":"continuous-integration/jenkins/branch","created_at":"2019-08-19T18:39:00Z","updated_at":"2019-08-19T18:39:00Z","creator":{"login":"jenkinsadmin","id":874715,"node_id":"MDQ6VXNlcjg3NDcxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/874715?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkinsadmin","html_url":"https://github.com/jenkinsadmin","followers_url":"https://api.github.com/users/jenkinsadmin/followers","following_url":"https://api.github.com/users/jenkinsadmin/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsadmin/subscriptions","organizations_url":"https://api.github.com/users/jenkinsadmin/orgs","repos_url":"https://api.github.com/users/jenkinsadmin/repos","events_url":"https://api.github.com/users/jenkinsadmin/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsadmin/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654","avatar_url":"https://avatars3.githubusercontent.com/u/874715?v=4","id":7455156636,"node_id":"MDEzOlN0YXR1c0NvbnRleHQ3NDU1MTU2NjM2","state":"pending","description":"This commit is being built","target_url":"https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect","context":"continuous-integration/jenkins/branch","created_at":"2019-08-19T18:38:52Z","updated_at":"2019-08-19T18:38:52Z","creator":{"login":"jenkinsadmin","id":874715,"node_id":"MDQ6VXNlcjg3NDcxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/874715?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkinsadmin","html_url":"https://github.com/jenkinsadmin","followers_url":"https://api.github.com/users/jenkinsadmin/followers","following_url":"https://api.github.com/users/jenkinsadmin/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsadmin/subscriptions","organizations_url":"https://api.github.com/users/jenkinsadmin/orgs","repos_url":"https://api.github.com/users/jenkinsadmin/repos","events_url":"https://api.github.com/users/jenkinsadmin/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsadmin/received_events","type":"User","site_admin":false}}] \ No newline at end of file +[ + { + "url": "https://api.github.com/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654", + "avatar_url": "https://avatars3.githubusercontent.com/u/874715?v=4", + "id": 7455218060, + "node_id": "MDEzOlN0YXR1c0NvbnRleHQ3NDU1MjE4MDYw", + "state": "error", + "description": "This commit cannot be built", + "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect", + "context": "continuous-integration/jenkins/branch", + "created_at": "2019-08-19T18:45:31Z", + "updated_at": "2019-08-19T18:45:31Z", + "creator": { + "login": "jenkinsadmin", + "id": 874715, + "node_id": "MDQ6VXNlcjg3NDcxNQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/874715?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsadmin", + "html_url": "https://github.com/jenkinsadmin", + "followers_url": "https://api.github.com/users/jenkinsadmin/followers", + "following_url": "https://api.github.com/users/jenkinsadmin/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsadmin/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsadmin/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsadmin/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsadmin/orgs", + "repos_url": "https://api.github.com/users/jenkinsadmin/repos", + "events_url": "https://api.github.com/users/jenkinsadmin/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsadmin/received_events", + "type": "User", + "site_admin": false + } + }, + { + "url": "https://api.github.com/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654", + "avatar_url": "https://avatars3.githubusercontent.com/u/874715?v=4", + "id": 7455157752, + "node_id": "MDEzOlN0YXR1c0NvbnRleHQ3NDU1MTU3NzUy", + "state": "pending", + "description": "This commit is being built", + "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect", + "context": "continuous-integration/jenkins/branch", + "created_at": "2019-08-19T18:39:00Z", + "updated_at": "2019-08-19T18:39:00Z", + "creator": { + "login": "jenkinsadmin", + "id": 874715, + "node_id": "MDQ6VXNlcjg3NDcxNQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/874715?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsadmin", + "html_url": "https://github.com/jenkinsadmin", + "followers_url": "https://api.github.com/users/jenkinsadmin/followers", + "following_url": "https://api.github.com/users/jenkinsadmin/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsadmin/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsadmin/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsadmin/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsadmin/orgs", + "repos_url": "https://api.github.com/users/jenkinsadmin/repos", + "events_url": "https://api.github.com/users/jenkinsadmin/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsadmin/received_events", + "type": "User", + "site_admin": false + } + }, + { + "url": "https://api.github.com/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654", + "avatar_url": "https://avatars3.githubusercontent.com/u/874715?v=4", + "id": 7455156636, + "node_id": "MDEzOlN0YXR1c0NvbnRleHQ3NDU1MTU2NjM2", + "state": "pending", + "description": "This commit is being built", + "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect", + "context": "continuous-integration/jenkins/branch", + "created_at": "2019-08-19T18:38:52Z", + "updated_at": "2019-08-19T18:38:52Z", + "creator": { + "login": "jenkinsadmin", + "id": 874715, + "node_id": "MDQ6VXNlcjg3NDcxNQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/874715?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsadmin", + "html_url": "https://github.com/jenkinsadmin", + "followers_url": "https://api.github.com/users/jenkinsadmin/followers", + "following_url": "https://api.github.com/users/jenkinsadmin/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsadmin/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsadmin/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsadmin/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsadmin/orgs", + "repos_url": "https://api.github.com/users/jenkinsadmin/repos", + "events_url": "https://api.github.com/users/jenkinsadmin/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsadmin/received_events", + "type": "User", + "site_admin": false + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json index d23fbcec7..3ab5627b9 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json @@ -1 +1,302 @@ -[{"name":"stapler-parent-1.258","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.258","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.258","commit":{"sha":"6a243869aa3c3f80579102d00848a0083953d654","url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1OA=="},{"name":"stapler-parent-1.257.2","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.257.2","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.257.2","commit":{"sha":"c5cf668da1b891488236f18eb8a2d668e8af8d83","url":"https://api.github.com/repos/stapler/stapler/commits/c5cf668da1b891488236f18eb8a2d668e8af8d83"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ny4y"},{"name":"stapler-parent-1.257.1","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.257.1","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.257.1","commit":{"sha":"88b67ccecb572faaec5a0ecff327b1a4ea902591","url":"https://api.github.com/repos/stapler/stapler/commits/88b67ccecb572faaec5a0ecff327b1a4ea902591"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ny4x"},{"name":"stapler-parent-1.257","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.257","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.257","commit":{"sha":"d922b808068cf95d6f6ab624ce2c7f49d51f5321","url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Nw=="},{"name":"stapler-parent-1.256.2","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.256.2","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.256.2","commit":{"sha":"d7f798079b03569d07d79f2eb62cd8a4662da65b","url":"https://api.github.com/repos/stapler/stapler/commits/d7f798079b03569d07d79f2eb62cd8a4662da65b"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ni4y"},{"name":"stapler-parent-1.256.1","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.256.1","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.256.1","commit":{"sha":"d7aa86f790295ac8e7b00ac2734032773e5a5f6a","url":"https://api.github.com/repos/stapler/stapler/commits/d7aa86f790295ac8e7b00ac2734032773e5a5f6a"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ni4x"},{"name":"stapler-parent-1.256","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.256","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.256","commit":{"sha":"d9f05512169d70bbd8deff1e87afe3fdd251dc54","url":"https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ng=="},{"name":"stapler-parent-1.255","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.255","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.255","commit":{"sha":"c7d9760c909ca34c9c8ad3e8959a79eec433b45e","url":"https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NQ=="},{"name":"stapler-parent-1.254.3","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254.3","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254.3","commit":{"sha":"a4617a3f25067e05c3efdb6bc6678f2710bffa57","url":"https://api.github.com/repos/stapler/stapler/commits/a4617a3f25067e05c3efdb6bc6678f2710bffa57"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NC4z"},{"name":"stapler-parent-1.254.2","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254.2","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254.2","commit":{"sha":"91087c2e85b9e9539fb291c8298fb4692a7c2d84","url":"https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NC4y"},{"name":"stapler-parent-1.254.1","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254.1","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254.1","commit":{"sha":"eb7bb985c89187288fc54f9a50aeb80e90821f7c","url":"https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NC4x"},{"name":"stapler-parent-1.254","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254","commit":{"sha":"07a22fed12081904a6c6b89b02117279274b4065","url":"https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NA=="},{"name":"stapler-parent-1.253","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.253","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.253","commit":{"sha":"055ee2b100f8778049410289c0fa5a3baa07cfb9","url":"https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Mw=="},{"name":"stapler-parent-1.252","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.252","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.252","commit":{"sha":"ea125284477865c8344337877b5eefef0d48b9b3","url":"https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Mg=="},{"name":"stapler-parent-1.251","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.251","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.251","commit":{"sha":"bec133a7f228e863870a9324734cb9565270c1c3","url":"https://api.github.com/repos/stapler/stapler/commits/bec133a7f228e863870a9324734cb9565270c1c3"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MQ=="},{"name":"stapler-parent-1.250.2","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.250.2","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.250.2","commit":{"sha":"c45ae36a80dfc29d78d8008f3923010f734b2aa7","url":"https://api.github.com/repos/stapler/stapler/commits/c45ae36a80dfc29d78d8008f3923010f734b2aa7"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MC4y"},{"name":"stapler-parent-1.250.1","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.250.1","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.250.1","commit":{"sha":"2c24c6b625eac22b0b0bbe15ee28ba89b518fbcf","url":"https://api.github.com/repos/stapler/stapler/commits/2c24c6b625eac22b0b0bbe15ee28ba89b518fbcf"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MC4x"},{"name":"stapler-parent-1.250","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.250","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.250","commit":{"sha":"139a5c48f7ccf099a4e4d486ce8143d6b3ebaa60","url":"https://api.github.com/repos/stapler/stapler/commits/139a5c48f7ccf099a4e4d486ce8143d6b3ebaa60"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MA=="},{"name":"stapler-parent-1.249","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.249","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.249","commit":{"sha":"f0a4fb3b17fc19dc44b7974f6048540358a2ab27","url":"https://api.github.com/repos/stapler/stapler/commits/f0a4fb3b17fc19dc44b7974f6048540358a2ab27"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0OQ=="},{"name":"stapler-parent-1.248","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.248","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.248","commit":{"sha":"ee1fdfea8774953afd7c3b810a218d2809e394d4","url":"https://api.github.com/repos/stapler/stapler/commits/ee1fdfea8774953afd7c3b810a218d2809e394d4"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0OA=="},{"name":"stapler-parent-1.247","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.247","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.247","commit":{"sha":"16a445745c1a8dc45ec235af9b0466284ce0fffb","url":"https://api.github.com/repos/stapler/stapler/commits/16a445745c1a8dc45ec235af9b0466284ce0fffb"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Nw=="},{"name":"stapler-parent-1.246","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.246","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.246","commit":{"sha":"bf36e810674526adceb8a66b17a05be7e219ac8e","url":"https://api.github.com/repos/stapler/stapler/commits/bf36e810674526adceb8a66b17a05be7e219ac8e"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Ng=="},{"name":"stapler-parent-1.244","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.244","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.244","commit":{"sha":"956c847fd721de4ffa1622ddc640c0a00b603c45","url":"https://api.github.com/repos/stapler/stapler/commits/956c847fd721de4ffa1622ddc640c0a00b603c45"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0NA=="},{"name":"stapler-parent-1.243","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.243","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.243","commit":{"sha":"1dcecfbde98af18fe165019b61c8313a8ee881f5","url":"https://api.github.com/repos/stapler/stapler/commits/1dcecfbde98af18fe165019b61c8313a8ee881f5"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Mw=="},{"name":"stapler-parent-1.242","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.242","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.242","commit":{"sha":"cb92998f404fee084bef8a922428bc34d731ecda","url":"https://api.github.com/repos/stapler/stapler/commits/cb92998f404fee084bef8a922428bc34d731ecda"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Mg=="},{"name":"stapler-parent-1.241","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.241","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.241","commit":{"sha":"b14b8d346b5d5e601760fa2f7072bbd8e83480d7","url":"https://api.github.com/repos/stapler/stapler/commits/b14b8d346b5d5e601760fa2f7072bbd8e83480d7"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0MQ=="},{"name":"stapler-parent-1.240","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.240","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.240","commit":{"sha":"430665e6d3d97c5897810f070d2abf93eb0d7c43","url":"https://api.github.com/repos/stapler/stapler/commits/430665e6d3d97c5897810f070d2abf93eb0d7c43"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0MA=="},{"name":"stapler-parent-1.239","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.239","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.239","commit":{"sha":"9114f84b9db915712a55e08ffdabd88697ecd5f7","url":"https://api.github.com/repos/stapler/stapler/commits/9114f84b9db915712a55e08ffdabd88697ecd5f7"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjIzOQ=="},{"name":"stapler-parent-1.238","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.238","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.238","commit":{"sha":"208ed27c27156e3d7ef8d7307f0d20785c3bc712","url":"https://api.github.com/repos/stapler/stapler/commits/208ed27c27156e3d7ef8d7307f0d20785c3bc712"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjIzOA=="},{"name":"stapler-parent-1.237","zipball_url":"https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.237","tarball_url":"https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.237","commit":{"sha":"a915ca5b380e89df8706edffcb09c65fcc07421b","url":"https://api.github.com/repos/stapler/stapler/commits/a915ca5b380e89df8706edffcb09c65fcc07421b"},"node_id":"MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjIzNw=="}] \ No newline at end of file +[ + { + "name": "stapler-parent-1.258", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.258", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.258", + "commit": { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1OA==" + }, + { + "name": "stapler-parent-1.257.2", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.257.2", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.257.2", + "commit": { + "sha": "c5cf668da1b891488236f18eb8a2d668e8af8d83", + "url": "https://api.github.com/repos/stapler/stapler/commits/c5cf668da1b891488236f18eb8a2d668e8af8d83" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ny4y" + }, + { + "name": "stapler-parent-1.257.1", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.257.1", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.257.1", + "commit": { + "sha": "88b67ccecb572faaec5a0ecff327b1a4ea902591", + "url": "https://api.github.com/repos/stapler/stapler/commits/88b67ccecb572faaec5a0ecff327b1a4ea902591" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ny4x" + }, + { + "name": "stapler-parent-1.257", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.257", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.257", + "commit": { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Nw==" + }, + { + "name": "stapler-parent-1.256.2", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.256.2", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.256.2", + "commit": { + "sha": "d7f798079b03569d07d79f2eb62cd8a4662da65b", + "url": "https://api.github.com/repos/stapler/stapler/commits/d7f798079b03569d07d79f2eb62cd8a4662da65b" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ni4y" + }, + { + "name": "stapler-parent-1.256.1", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.256.1", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.256.1", + "commit": { + "sha": "d7aa86f790295ac8e7b00ac2734032773e5a5f6a", + "url": "https://api.github.com/repos/stapler/stapler/commits/d7aa86f790295ac8e7b00ac2734032773e5a5f6a" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ni4x" + }, + { + "name": "stapler-parent-1.256", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.256", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.256", + "commit": { + "sha": "d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "url": "https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Ng==" + }, + { + "name": "stapler-parent-1.255", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.255", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.255", + "commit": { + "sha": "c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "url": "https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NQ==" + }, + { + "name": "stapler-parent-1.254.3", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254.3", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254.3", + "commit": { + "sha": "a4617a3f25067e05c3efdb6bc6678f2710bffa57", + "url": "https://api.github.com/repos/stapler/stapler/commits/a4617a3f25067e05c3efdb6bc6678f2710bffa57" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NC4z" + }, + { + "name": "stapler-parent-1.254.2", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254.2", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254.2", + "commit": { + "sha": "91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "url": "https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NC4y" + }, + { + "name": "stapler-parent-1.254.1", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254.1", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254.1", + "commit": { + "sha": "eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "url": "https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NC4x" + }, + { + "name": "stapler-parent-1.254", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.254", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.254", + "commit": { + "sha": "07a22fed12081904a6c6b89b02117279274b4065", + "url": "https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1NA==" + }, + { + "name": "stapler-parent-1.253", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.253", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.253", + "commit": { + "sha": "055ee2b100f8778049410289c0fa5a3baa07cfb9", + "url": "https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Mw==" + }, + { + "name": "stapler-parent-1.252", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.252", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.252", + "commit": { + "sha": "ea125284477865c8344337877b5eefef0d48b9b3", + "url": "https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1Mg==" + }, + { + "name": "stapler-parent-1.251", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.251", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.251", + "commit": { + "sha": "bec133a7f228e863870a9324734cb9565270c1c3", + "url": "https://api.github.com/repos/stapler/stapler/commits/bec133a7f228e863870a9324734cb9565270c1c3" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MQ==" + }, + { + "name": "stapler-parent-1.250.2", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.250.2", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.250.2", + "commit": { + "sha": "c45ae36a80dfc29d78d8008f3923010f734b2aa7", + "url": "https://api.github.com/repos/stapler/stapler/commits/c45ae36a80dfc29d78d8008f3923010f734b2aa7" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MC4y" + }, + { + "name": "stapler-parent-1.250.1", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.250.1", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.250.1", + "commit": { + "sha": "2c24c6b625eac22b0b0bbe15ee28ba89b518fbcf", + "url": "https://api.github.com/repos/stapler/stapler/commits/2c24c6b625eac22b0b0bbe15ee28ba89b518fbcf" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MC4x" + }, + { + "name": "stapler-parent-1.250", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.250", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.250", + "commit": { + "sha": "139a5c48f7ccf099a4e4d486ce8143d6b3ebaa60", + "url": "https://api.github.com/repos/stapler/stapler/commits/139a5c48f7ccf099a4e4d486ce8143d6b3ebaa60" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI1MA==" + }, + { + "name": "stapler-parent-1.249", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.249", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.249", + "commit": { + "sha": "f0a4fb3b17fc19dc44b7974f6048540358a2ab27", + "url": "https://api.github.com/repos/stapler/stapler/commits/f0a4fb3b17fc19dc44b7974f6048540358a2ab27" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0OQ==" + }, + { + "name": "stapler-parent-1.248", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.248", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.248", + "commit": { + "sha": "ee1fdfea8774953afd7c3b810a218d2809e394d4", + "url": "https://api.github.com/repos/stapler/stapler/commits/ee1fdfea8774953afd7c3b810a218d2809e394d4" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0OA==" + }, + { + "name": "stapler-parent-1.247", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.247", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.247", + "commit": { + "sha": "16a445745c1a8dc45ec235af9b0466284ce0fffb", + "url": "https://api.github.com/repos/stapler/stapler/commits/16a445745c1a8dc45ec235af9b0466284ce0fffb" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Nw==" + }, + { + "name": "stapler-parent-1.246", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.246", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.246", + "commit": { + "sha": "bf36e810674526adceb8a66b17a05be7e219ac8e", + "url": "https://api.github.com/repos/stapler/stapler/commits/bf36e810674526adceb8a66b17a05be7e219ac8e" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Ng==" + }, + { + "name": "stapler-parent-1.244", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.244", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.244", + "commit": { + "sha": "956c847fd721de4ffa1622ddc640c0a00b603c45", + "url": "https://api.github.com/repos/stapler/stapler/commits/956c847fd721de4ffa1622ddc640c0a00b603c45" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0NA==" + }, + { + "name": "stapler-parent-1.243", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.243", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.243", + "commit": { + "sha": "1dcecfbde98af18fe165019b61c8313a8ee881f5", + "url": "https://api.github.com/repos/stapler/stapler/commits/1dcecfbde98af18fe165019b61c8313a8ee881f5" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Mw==" + }, + { + "name": "stapler-parent-1.242", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.242", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.242", + "commit": { + "sha": "cb92998f404fee084bef8a922428bc34d731ecda", + "url": "https://api.github.com/repos/stapler/stapler/commits/cb92998f404fee084bef8a922428bc34d731ecda" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0Mg==" + }, + { + "name": "stapler-parent-1.241", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.241", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.241", + "commit": { + "sha": "b14b8d346b5d5e601760fa2f7072bbd8e83480d7", + "url": "https://api.github.com/repos/stapler/stapler/commits/b14b8d346b5d5e601760fa2f7072bbd8e83480d7" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0MQ==" + }, + { + "name": "stapler-parent-1.240", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.240", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.240", + "commit": { + "sha": "430665e6d3d97c5897810f070d2abf93eb0d7c43", + "url": "https://api.github.com/repos/stapler/stapler/commits/430665e6d3d97c5897810f070d2abf93eb0d7c43" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjI0MA==" + }, + { + "name": "stapler-parent-1.239", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.239", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.239", + "commit": { + "sha": "9114f84b9db915712a55e08ffdabd88697ecd5f7", + "url": "https://api.github.com/repos/stapler/stapler/commits/9114f84b9db915712a55e08ffdabd88697ecd5f7" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjIzOQ==" + }, + { + "name": "stapler-parent-1.238", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.238", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.238", + "commit": { + "sha": "208ed27c27156e3d7ef8d7307f0d20785c3bc712", + "url": "https://api.github.com/repos/stapler/stapler/commits/208ed27c27156e3d7ef8d7307f0d20785c3bc712" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjIzOA==" + }, + { + "name": "stapler-parent-1.237", + "zipball_url": "https://api.github.com/repos/stapler/stapler/zipball/stapler-parent-1.237", + "tarball_url": "https://api.github.com/repos/stapler/stapler/tarball/stapler-parent-1.237", + "commit": { + "sha": "a915ca5b380e89df8706edffcb09c65fcc07421b", + "url": "https://api.github.com/repos/stapler/stapler/commits/a915ca5b380e89df8706edffcb09c65fcc07421b" + }, + "node_id": "MDM6UmVmMTU0ODUxNDpzdGFwbGVyLXBhcmVudC0xLjIzNw==" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json index 91444a04b..b9ce24cb0 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json @@ -1 +1,33 @@ -{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":133,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 166, + "public_gists": 4, + "followers": 133, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-06-03T17:47:20Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json index 6c722ae38..b426cf0b7 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json @@ -1,40 +1,43 @@ { - "id" : "dea29c4a-c5b6-460d-8550-09d75d487830", - "name" : "repos_stapler_stapler", - "request" : { - "url" : "/repos/stapler/stapler", - "method" : "GET" + "id": "dea29c4a-c5b6-460d-8550-09d75d487830", + "name": "repos_stapler_stapler", + "request": { + "url": "/repos/stapler/stapler", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:06 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4932", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"449cae6ec2615b7bcbe15d6e821627cc\"", - "Last-Modified" : "Tue, 27 Aug 2019 16:42:33 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99F:2C7D:C96DC:EC84C:5D769A6A" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler-dea29c4a-c5b6-460d-8550-09d75d487830.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4932", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"449cae6ec2615b7bcbe15d6e821627cc\"", + "Last-Modified": "Tue, 27 Aug 2019 16:42:33 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99F:2C7D:C96DC:EC84C:5D769A6A" } }, - "uuid" : "dea29c4a-c5b6-460d-8550-09d75d487830", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "dea29c4a-c5b6-460d-8550-09d75d487830", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json index d16fbe2df..3c5bc5b03 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json @@ -1,39 +1,42 @@ { - "id" : "b564ee52-421b-4d1a-aa96-bdb613581b8a", - "name" : "repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654", - "request" : { - "url" : "/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654", - "method" : "GET" + "id": "b564ee52-421b-4d1a-aa96-bdb613581b8a", + "name": "repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654", + "request": { + "url": "/repos/stapler/stapler/statuses/6a243869aa3c3f80579102d00848a0083953d654", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:06 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4930", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"5f8e313af31f78898aeeeae1b6f45a5b\"", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "repo, repo:status", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99F:2C7D:C9739:EC8B4:5D769A6A" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-b564ee52-421b-4d1a-aa96-bdb613581b8a.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4930", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"5f8e313af31f78898aeeeae1b6f45a5b\"", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "repo, repo:status", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99F:2C7D:C9739:EC8B4:5D769A6A" } }, - "uuid" : "b564ee52-421b-4d1a-aa96-bdb613581b8a", - "persistent" : true, - "insertionIndex" : 4 + "uuid": "b564ee52-421b-4d1a-aa96-bdb613581b8a", + "persistent": true, + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json index bb21e32e6..28396b47f 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json @@ -1,41 +1,44 @@ { - "id" : "7637217e-0e80-4f8b-bf01-93a7a97952fd", - "name" : "repos_stapler_stapler_tags", - "request" : { - "url" : "/repos/stapler/stapler/tags", - "method" : "GET" + "id": "7637217e-0e80-4f8b-bf01-93a7a97952fd", + "name": "repos_stapler_stapler_tags", + "request": { + "url": "/repos/stapler/stapler/tags", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:06 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4931", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"dcf4cf083a57185673e19420a37d0ca0\"", - "Last-Modified" : "Tue, 27 Aug 2019 16:42:33 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Link" : "; rel=\"next\", ; rel=\"last\"", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99F:2C7D:C9716:EC893:5D769A6A" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_tags-7637217e-0e80-4f8b-bf01-93a7a97952fd.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4931", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"dcf4cf083a57185673e19420a37d0ca0\"", + "Last-Modified": "Tue, 27 Aug 2019 16:42:33 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Link": "; rel=\"next\", ; rel=\"last\"", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99F:2C7D:C9716:EC893:5D769A6A" } }, - "uuid" : "7637217e-0e80-4f8b-bf01-93a7a97952fd", - "persistent" : true, - "insertionIndex" : 3 + "uuid": "7637217e-0e80-4f8b-bf01-93a7a97952fd", + "persistent": true, + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json index 1ed75d7fa..317af5be9 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/mappings/user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json @@ -1,40 +1,43 @@ { - "id" : "bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:06 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4933", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"3ba1de3523043df743651bd23efc7def\"", - "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99F:2C7D:C96C8:EC833:5D769A69" + "response": { + "status": 200, + "bodyFileName": "user-bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4933", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"3ba1de3523043df743651bd23efc7def\"", + "Last-Modified": "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99F:2C7D:C96C8:EC833:5D769A69" } }, - "uuid" : "bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "bde54f7e-5b5a-49b2-b94c-a0cf8f7a0d1a", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json index edcdf7d62..2b0dafa93 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json @@ -1 +1,127 @@ -{"id":1548514,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ4NTE0","name":"stapler","full_name":"stapler/stapler","private":false,"owner":{"login":"stapler","id":700341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/700341?v=4","gravatar_id":"","url":"https://api.github.com/users/stapler","html_url":"https://github.com/stapler","followers_url":"https://api.github.com/users/stapler/followers","following_url":"https://api.github.com/users/stapler/following{/other_user}","gists_url":"https://api.github.com/users/stapler/gists{/gist_id}","starred_url":"https://api.github.com/users/stapler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapler/subscriptions","organizations_url":"https://api.github.com/users/stapler/orgs","repos_url":"https://api.github.com/users/stapler/repos","events_url":"https://api.github.com/users/stapler/events{/privacy}","received_events_url":"https://api.github.com/users/stapler/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/stapler/stapler","description":"Stapler web framework","fork":false,"url":"https://api.github.com/repos/stapler/stapler","forks_url":"https://api.github.com/repos/stapler/stapler/forks","keys_url":"https://api.github.com/repos/stapler/stapler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stapler/stapler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stapler/stapler/teams","hooks_url":"https://api.github.com/repos/stapler/stapler/hooks","issue_events_url":"https://api.github.com/repos/stapler/stapler/issues/events{/number}","events_url":"https://api.github.com/repos/stapler/stapler/events","assignees_url":"https://api.github.com/repos/stapler/stapler/assignees{/user}","branches_url":"https://api.github.com/repos/stapler/stapler/branches{/branch}","tags_url":"https://api.github.com/repos/stapler/stapler/tags","blobs_url":"https://api.github.com/repos/stapler/stapler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stapler/stapler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stapler/stapler/git/refs{/sha}","trees_url":"https://api.github.com/repos/stapler/stapler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stapler/stapler/statuses/{sha}","languages_url":"https://api.github.com/repos/stapler/stapler/languages","stargazers_url":"https://api.github.com/repos/stapler/stapler/stargazers","contributors_url":"https://api.github.com/repos/stapler/stapler/contributors","subscribers_url":"https://api.github.com/repos/stapler/stapler/subscribers","subscription_url":"https://api.github.com/repos/stapler/stapler/subscription","commits_url":"https://api.github.com/repos/stapler/stapler/commits{/sha}","git_commits_url":"https://api.github.com/repos/stapler/stapler/git/commits{/sha}","comments_url":"https://api.github.com/repos/stapler/stapler/comments{/number}","issue_comment_url":"https://api.github.com/repos/stapler/stapler/issues/comments{/number}","contents_url":"https://api.github.com/repos/stapler/stapler/contents/{+path}","compare_url":"https://api.github.com/repos/stapler/stapler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stapler/stapler/merges","archive_url":"https://api.github.com/repos/stapler/stapler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stapler/stapler/downloads","issues_url":"https://api.github.com/repos/stapler/stapler/issues{/number}","pulls_url":"https://api.github.com/repos/stapler/stapler/pulls{/number}","milestones_url":"https://api.github.com/repos/stapler/stapler/milestones{/number}","notifications_url":"https://api.github.com/repos/stapler/stapler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stapler/stapler/labels{/name}","releases_url":"https://api.github.com/repos/stapler/stapler/releases{/id}","deployments_url":"https://api.github.com/repos/stapler/stapler/deployments","created_at":"2011-03-30T22:39:45Z","updated_at":"2019-08-27T16:42:33Z","pushed_at":"2019-08-19T18:47:57Z","git_url":"git://github.com/stapler/stapler.git","ssh_url":"git@github.com:stapler/stapler.git","clone_url":"https://github.com/stapler/stapler.git","svn_url":"https://github.com/stapler/stapler","homepage":"http://stapler.kohsuke.org/","size":41906,"stargazers_count":112,"watchers_count":112,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":75,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":28,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":75,"open_issues":28,"watchers":112,"default_branch":"master","permissions":{"admin":false,"push":false,"pull":true},"organization":{"login":"stapler","id":700341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/700341?v=4","gravatar_id":"","url":"https://api.github.com/users/stapler","html_url":"https://github.com/stapler","followers_url":"https://api.github.com/users/stapler/followers","following_url":"https://api.github.com/users/stapler/following{/other_user}","gists_url":"https://api.github.com/users/stapler/gists{/gist_id}","starred_url":"https://api.github.com/users/stapler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapler/subscriptions","organizations_url":"https://api.github.com/users/stapler/orgs","repos_url":"https://api.github.com/users/stapler/repos","events_url":"https://api.github.com/users/stapler/events{/privacy}","received_events_url":"https://api.github.com/users/stapler/received_events","type":"Organization","site_admin":false},"network_count":75,"subscribers_count":12} \ No newline at end of file +{ + "id": 1548514, + "node_id": "MDEwOlJlcG9zaXRvcnkxNTQ4NTE0", + "name": "stapler", + "full_name": "stapler/stapler", + "private": false, + "owner": { + "login": "stapler", + "id": 700341, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/700341?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/stapler", + "html_url": "https://github.com/stapler", + "followers_url": "https://api.github.com/users/stapler/followers", + "following_url": "https://api.github.com/users/stapler/following{/other_user}", + "gists_url": "https://api.github.com/users/stapler/gists{/gist_id}", + "starred_url": "https://api.github.com/users/stapler/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/stapler/subscriptions", + "organizations_url": "https://api.github.com/users/stapler/orgs", + "repos_url": "https://api.github.com/users/stapler/repos", + "events_url": "https://api.github.com/users/stapler/events{/privacy}", + "received_events_url": "https://api.github.com/users/stapler/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/stapler/stapler", + "description": "Stapler web framework", + "fork": false, + "url": "https://api.github.com/repos/stapler/stapler", + "forks_url": "https://api.github.com/repos/stapler/stapler/forks", + "keys_url": "https://api.github.com/repos/stapler/stapler/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/stapler/stapler/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/stapler/stapler/teams", + "hooks_url": "https://api.github.com/repos/stapler/stapler/hooks", + "issue_events_url": "https://api.github.com/repos/stapler/stapler/issues/events{/number}", + "events_url": "https://api.github.com/repos/stapler/stapler/events", + "assignees_url": "https://api.github.com/repos/stapler/stapler/assignees{/user}", + "branches_url": "https://api.github.com/repos/stapler/stapler/branches{/branch}", + "tags_url": "https://api.github.com/repos/stapler/stapler/tags", + "blobs_url": "https://api.github.com/repos/stapler/stapler/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/stapler/stapler/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/stapler/stapler/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/stapler/stapler/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/stapler/stapler/statuses/{sha}", + "languages_url": "https://api.github.com/repos/stapler/stapler/languages", + "stargazers_url": "https://api.github.com/repos/stapler/stapler/stargazers", + "contributors_url": "https://api.github.com/repos/stapler/stapler/contributors", + "subscribers_url": "https://api.github.com/repos/stapler/stapler/subscribers", + "subscription_url": "https://api.github.com/repos/stapler/stapler/subscription", + "commits_url": "https://api.github.com/repos/stapler/stapler/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/stapler/stapler/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/stapler/stapler/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/stapler/stapler/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/{+path}", + "compare_url": "https://api.github.com/repos/stapler/stapler/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/stapler/stapler/merges", + "archive_url": "https://api.github.com/repos/stapler/stapler/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/stapler/stapler/downloads", + "issues_url": "https://api.github.com/repos/stapler/stapler/issues{/number}", + "pulls_url": "https://api.github.com/repos/stapler/stapler/pulls{/number}", + "milestones_url": "https://api.github.com/repos/stapler/stapler/milestones{/number}", + "notifications_url": "https://api.github.com/repos/stapler/stapler/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/stapler/stapler/labels{/name}", + "releases_url": "https://api.github.com/repos/stapler/stapler/releases{/id}", + "deployments_url": "https://api.github.com/repos/stapler/stapler/deployments", + "created_at": "2011-03-30T22:39:45Z", + "updated_at": "2019-08-27T16:42:33Z", + "pushed_at": "2019-08-19T18:47:57Z", + "git_url": "git://github.com/stapler/stapler.git", + "ssh_url": "git@github.com:stapler/stapler.git", + "clone_url": "https://github.com/stapler/stapler.git", + "svn_url": "https://github.com/stapler/stapler", + "homepage": "http://stapler.kohsuke.org/", + "size": 41906, + "stargazers_count": 112, + "watchers_count": 112, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 75, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 28, + "license": { + "key": "bsd-2-clause", + "name": "BSD 2-Clause \"Simplified\" License", + "spdx_id": "BSD-2-Clause", + "url": "https://api.github.com/licenses/bsd-2-clause", + "node_id": "MDc6TGljZW5zZTQ=" + }, + "forks": 75, + "open_issues": 28, + "watchers": 112, + "default_branch": "master", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "organization": { + "login": "stapler", + "id": 700341, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/700341?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/stapler", + "html_url": "https://github.com/stapler", + "followers_url": "https://api.github.com/users/stapler/followers", + "following_url": "https://api.github.com/users/stapler/following{/other_user}", + "gists_url": "https://api.github.com/users/stapler/gists{/gist_id}", + "starred_url": "https://api.github.com/users/stapler/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/stapler/subscriptions", + "organizations_url": "https://api.github.com/users/stapler/orgs", + "repos_url": "https://api.github.com/users/stapler/repos", + "events_url": "https://api.github.com/users/stapler/events{/privacy}", + "received_events_url": "https://api.github.com/users/stapler/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 75, + "subscribers_count": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json index d5cb14b50..f1f5e1fc9 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json @@ -1 +1,2377 @@ -[{"sha":"950acbd60ed4289520dcd2a395e5d77f181e1cff","node_id":"MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:53Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:53Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8","url":"https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----","payload":"tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff","html_url":"https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff","comments_url":"https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"6a243869aa3c3f80579102d00848a0083953d654","url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654","html_url":"https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654"}]},{"sha":"6a243869aa3c3f80579102d00848a0083953d654","node_id":"MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:42Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:42Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.258","tree":{"sha":"61eb4efc23a5899681e45c581290617c98856e26","url":"https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----","payload":"tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654","html_url":"https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654","comments_url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"3d3d6f01c553724350a6763d9b726fc3db268ccf","url":"https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf","html_url":"https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf"}]},{"sha":"06b1108ec041fd8d6e7f54c8578d84a672fee9e4","node_id":"MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0","commit":{"author":{"name":"Jeff Thompson","email":"37345299+jeffret-b@users.noreply.github.com","date":"2019-08-19T17:42:58Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2019-08-19T17:42:58Z"},"message":"Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ","tree":{"sha":"859fffa8ce0c958e4e4209c7a758be16f0c97c55","url":"https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n","payload":"tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick "}},"url":"https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","html_url":"https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","comments_url":"https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"2a971c4e38c6d6693f7ad8b6768e4d74840d6679","url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","html_url":"https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679"}]},{"sha":"2a971c4e38c6d6693f7ad8b6768e4d74840d6679","node_id":"MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-06-28T16:16:04Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-06-28T16:21:18Z"},"message":"A little bit of pom cleanup.\n\nPrimarily about using https.","tree":{"sha":"3ebce198db76fb2e0073f2698c255ea0eee6527c","url":"https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","html_url":"https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","comments_url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7","url":"https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7","html_url":"https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7"}]},{"sha":"2f4ca0f03c1e6188867bddddce12ff213a107d9d","node_id":"MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:21Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:21Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"f8ca916d33ffab1c342e6a92f7fd44dbad1609ec","url":"https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----","payload":"tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d","html_url":"https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d","comments_url":"https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"d922b808068cf95d6f6ab624ce2c7f49d51f5321","url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","html_url":"https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321"}]},{"sha":"d922b808068cf95d6f6ab624ce2c7f49d51f5321","node_id":"MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:11Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:11Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.257","tree":{"sha":"86a648b84700a80e22f089252cea0d70e61857bf","url":"https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----","payload":"tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","html_url":"https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321","comments_url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"efe737fa365a0187e052bc81391efbd84847a1b0","url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0","html_url":"https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0"}]},{"sha":"efe737fa365a0187e052bc81391efbd84847a1b0","node_id":"MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:17:55Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:17:55Z"},"message":"#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.","tree":{"sha":"109f198441d6524d99e237ac863e28e80ad77e59","url":"https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----","payload":"tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0","html_url":"https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0","comments_url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"08b13de864bc134fd790decd4f20db9074c7685f","url":"https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f","html_url":"https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f"}]},{"sha":"53ce34d7d89c5172ae4f4f3167e35852b1910b59","node_id":"MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-03T19:03:54Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-03T19:03:54Z"},"message":"Miscellaneous POM updates while I am here.","tree":{"sha":"996a8d951dc95bc002ee4703865f45594418902e","url":"https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----","payload":"tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59","html_url":"https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59","comments_url":"https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"0e294ea94617a0926bd583dfe41515f4afb881e7","url":"https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7","html_url":"https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7"}]},{"sha":"72343298733508cced8dcb8eb43594bcc6130b26","node_id":"MDY6Q29tbWl0MTU0ODUxNDo3MjM0MzI5ODczMzUwOGNjZWQ4ZGNiOGViNDM1OTRiY2M2MTMwYjI2","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-19T21:27:25Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-19T21:27:25Z"},"message":"Update to latest versions.","tree":{"sha":"e1299f37e2ce97636d923a5631265279a5377b6d","url":"https://api.github.com/repos/stapler/stapler/git/trees/e1299f37e2ce97636d923a5631265279a5377b6d"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/72343298733508cced8dcb8eb43594bcc6130b26","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26","html_url":"https://github.com/stapler/stapler/commit/72343298733508cced8dcb8eb43594bcc6130b26","comments_url":"https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"def3808ecd41583818aef3b35675756f00a45bbe","url":"https://api.github.com/repos/stapler/stapler/commits/def3808ecd41583818aef3b35675756f00a45bbe","html_url":"https://github.com/stapler/stapler/commit/def3808ecd41583818aef3b35675756f00a45bbe"}]},{"sha":"4f260c560ec120f4e2c2ed727244690b1f4d5dca","node_id":"MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-18T22:52:29Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-18T22:52:29Z"},"message":"Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.","tree":{"sha":"575f9abb94a915cfc9fb0fdcc681648aade5cd1f","url":"https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca","html_url":"https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca","comments_url":"https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"a019ca42d01dbe7d88f56deade245d7c0366624c","url":"https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c","html_url":"https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c"}]},{"sha":"78f721eb58c25f2c742d93479ff66a3cf98f508a","node_id":"MDY6Q29tbWl0MTU0ODUxNDo3OGY3MjFlYjU4YzI1ZjJjNzQyZDkzNDc5ZmY2NmEzY2Y5OGY1MDhh","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-12-14T20:22:38Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-12-14T20:22:38Z"},"message":"Port of https://github.com/jenkinsci/pom/pull/34.","tree":{"sha":"fbbb94d44b8c382d4cb20faf5824811be9bc9670","url":"https://api.github.com/repos/stapler/stapler/git/trees/fbbb94d44b8c382d4cb20faf5824811be9bc9670"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlwUEQ4ACgkQHdpp2Uti\nQxFIegf+O6pldE7TilUNFUpruU1EeLsjhc7BiOMPYPD4gGx7/BF3hTJ5zm7KKip9\nr27Xjs+sQipDCKv9HV3t+PHVB6NvkHkivRVpKI8NKQtyK33K+0NH8mwpSfYRQxUa\npW78Ycs7e2mBomHD0Eiv2EDO+T343YhCvOkNhYO+GU2PMeRfaTr8fp5A8XlrqBDC\nNdEoKPZDmNRXQBTUW2QomuP28PNGzDWXMCJ/pZ8us+YYoBmn0mxf9F7azcgxlkUd\nqbSfgehjd+O5UlRuHqJ7SMN7PGP5fuEQ6xAFkTo/4pqy6U3A/eSDzJtKaRg1MQ8g\np/PQ2FjTt08q2UjvYu1rtDVeLQSmxw==\n=HSGY\n-----END PGP SIGNATURE-----","payload":"tree fbbb94d44b8c382d4cb20faf5824811be9bc9670\nparent cebe82d8aee82f93797f315a230fcc74ff950f64\nauthor Jesse Glick 1544818958 -0500\ncommitter Jesse Glick 1544818958 -0500\n\nPort of https://github.com/jenkinsci/pom/pull/34.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a","html_url":"https://github.com/stapler/stapler/commit/78f721eb58c25f2c742d93479ff66a3cf98f508a","comments_url":"https://api.github.com/repos/stapler/stapler/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"cebe82d8aee82f93797f315a230fcc74ff950f64","url":"https://api.github.com/repos/stapler/stapler/commits/cebe82d8aee82f93797f315a230fcc74ff950f64","html_url":"https://github.com/stapler/stapler/commit/cebe82d8aee82f93797f315a230fcc74ff950f64"}]},{"sha":"7b57b988f4af83d41ca2c17277bca4049522baaa","node_id":"MDY6Q29tbWl0MTU0ODUxNDo3YjU3Yjk4OGY0YWY4M2Q0MWNhMmMxNzI3N2JjYTQwNDk1MjJiYWFh","commit":{"author":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-11-20T22:50:07Z"},"committer":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-11-20T22:50:07Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"cc2e431cfba52e2f2e56bac66e756f49fe879b48","url":"https://api.github.com/repos/stapler/stapler/git/trees/cc2e431cfba52e2f2e56bac66e756f49fe879b48"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/7b57b988f4af83d41ca2c17277bca4049522baaa","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/7b57b988f4af83d41ca2c17277bca4049522baaa","html_url":"https://github.com/stapler/stapler/commit/7b57b988f4af83d41ca2c17277bca4049522baaa","comments_url":"https://api.github.com/repos/stapler/stapler/commits/7b57b988f4af83d41ca2c17277bca4049522baaa/comments","author":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"committer":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"parents":[{"sha":"d9f05512169d70bbd8deff1e87afe3fdd251dc54","url":"https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54","html_url":"https://github.com/stapler/stapler/commit/d9f05512169d70bbd8deff1e87afe3fdd251dc54"}]},{"sha":"d9f05512169d70bbd8deff1e87afe3fdd251dc54","node_id":"MDY6Q29tbWl0MTU0ODUxNDpkOWYwNTUxMjE2OWQ3MGJiZDhkZWZmMWU4N2FmZTNmZGQyNTFkYzU0","commit":{"author":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-11-20T22:50:06Z"},"committer":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-11-20T22:50:06Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.256","tree":{"sha":"72489bbab47bb18acb370d8f84b150343b7dd358","url":"https://api.github.com/repos/stapler/stapler/git/trees/72489bbab47bb18acb370d8f84b150343b7dd358"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54","html_url":"https://github.com/stapler/stapler/commit/d9f05512169d70bbd8deff1e87afe3fdd251dc54","comments_url":"https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54/comments","author":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"committer":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"parents":[{"sha":"d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20","url":"https://api.github.com/repos/stapler/stapler/commits/d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20","html_url":"https://github.com/stapler/stapler/commit/d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20"}]},{"sha":"86e213c169ee0ea3565f9b5bd58707bc00a09b02","node_id":"MDY6Q29tbWl0MTU0ODUxNDo4NmUyMTNjMTY5ZWUwZWEzNTY1ZjliNWJkNTg3MDdiYzAwYTA5YjAy","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-10-11T13:14:48Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-10-11T13:14:48Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56","url":"https://api.github.com/repos/stapler/stapler/git/trees/c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/TMgACgkQHdpp2Uti\nQxE9/Af+K1ShxOzSJcAa90xQZ3hMpj4H4EB6O85roPMakUlVdzhcAKny9FYuMH7H\nK+j+LMaXe17ZKOcj6FTg0MMA8eEE5WjMEHUIQKsJCes5V0xBfJtB6OGeR1nSNFR2\ndGCPuaPMqCT43JZCYgVr3o+/Eylpz1HQlljbp5eanfYX0AdSGmaFOLSrEC4HZ8VW\neTzJbElZTHLtwxOZJWIgRM/LgQA65pSDOBarSshw6pmNg/NnrMSqF+hiCQ+tuLxg\nIpp980DtB1DuXAjE92vdMe2SZLkF1TpeO01i4qnhHLzAAqDs5z2xZmr+Om8dOMg7\nJA95XVBFDZMK33hySR+QW3UtvBbgXg==\n=QROA\n-----END PGP SIGNATURE-----","payload":"tree c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56\nparent c7d9760c909ca34c9c8ad3e8959a79eec433b45e\nauthor Jesse Glick 1539263688 -0400\ncommitter Jesse Glick 1539263688 -0400\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02","html_url":"https://github.com/stapler/stapler/commit/86e213c169ee0ea3565f9b5bd58707bc00a09b02","comments_url":"https://api.github.com/repos/stapler/stapler/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"c7d9760c909ca34c9c8ad3e8959a79eec433b45e","url":"https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e","html_url":"https://github.com/stapler/stapler/commit/c7d9760c909ca34c9c8ad3e8959a79eec433b45e"}]},{"sha":"c7d9760c909ca34c9c8ad3e8959a79eec433b45e","node_id":"MDY6Q29tbWl0MTU0ODUxNDpjN2Q5NzYwYzkwOWNhMzRjOWM4YWQzZTg5NTlhNzllZWM0MzNiNDVl","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-10-11T13:14:41Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-10-11T13:14:41Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.255","tree":{"sha":"cb599cb07bfc68659244ba69d941e29263f91425","url":"https://api.github.com/repos/stapler/stapler/git/trees/cb599cb07bfc68659244ba69d941e29263f91425"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/TMEACgkQHdpp2Uti\nQxFiCwgAlSUgLjLRfmahF5y+T4wwQXWt1WeCLlkKdjEGoTovGEgz2Q8qCS9KmnlE\nD1E+SNb5XbLcQI88X61sl8cGiUvE0nvPdT6yxWAolmyrOKwquPocwwdAfSdHrb7F\nk+YtzxRl/Di2CMAzgpSFvdBW+qW+MCbPwOTsVpC9lPLluzEF4+zu6vkeRhdodxu+\nvsG+p4oxNyLRi7oyFHhzE+bODUoFBNfSmLoCkNeO0gEN81IFnE+fKbPE9uCuOqMf\n6NKQXJNzYd/K59fJA6IPcE+yCoh0qol8Y954PTfqHev6o9TABwxf+dUEz2aqNfl+\ndk7d6yGVZOWA1KuTWd10jFe5gpRTrA==\n=LsFr\n-----END PGP SIGNATURE-----","payload":"tree cb599cb07bfc68659244ba69d941e29263f91425\nparent 9de442464f5a40263e1c001c4c8ec4c8fbbefb30\nauthor Jesse Glick 1539263681 -0400\ncommitter Jesse Glick 1539263681 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.255\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e","html_url":"https://github.com/stapler/stapler/commit/c7d9760c909ca34c9c8ad3e8959a79eec433b45e","comments_url":"https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"9de442464f5a40263e1c001c4c8ec4c8fbbefb30","url":"https://api.github.com/repos/stapler/stapler/commits/9de442464f5a40263e1c001c4c8ec4c8fbbefb30","html_url":"https://github.com/stapler/stapler/commit/9de442464f5a40263e1c001c4c8ec4c8fbbefb30"}]},{"sha":"a3a2412a6d348cd97d5edfdf727996118d6c9c43","node_id":"MDY6Q29tbWl0MTU0ODUxNDphM2EyNDEyYTZkMzQ4Y2Q5N2Q1ZWRmZGY3Mjc5OTYxMThkNmM5YzQz","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-10-11T12:00:25Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2018-10-11T12:00:25Z"},"message":"Reverting version change from #146.","tree":{"sha":"2091120406431f581f483d2ce8329c7a7d9b5686","url":"https://api.github.com/repos/stapler/stapler/git/trees/2091120406431f581f483d2ce8329c7a7d9b5686"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/O1kACgkQHdpp2Uti\nQxHm2Qf/bF+fwm1u2KfSW9CAJFzVntw6fEwiEtL7J1dUUMngDhhAuxQjer14ldru\nAy9bsf20/rNLOGL71ibivTR4ExZMbOByYmnh3Po9R/kYWZG5erFLNIf/ax2lpgEB\nCXnOKVnmTmCnLN6N4xWDEauzVBJyK2bk9gILWbFKi2of4M12KXXaXoBpJimg0yZr\neymffa3SYexO7cN6xGaM/HO2UEoi2zTQqqGgV6Mt1gbUHmahnuRjNxTJ23GStfZQ\nSOmFTCeMPjUOqhpt+n3vu6x9KrV+/JmL2GtD/HEdHn1TWEELE2mXx7+TYBExOShx\nEWISOQWwZh1iZSF3z0KfprwuhsaStw==\n=4U63\n-----END PGP SIGNATURE-----","payload":"tree 2091120406431f581f483d2ce8329c7a7d9b5686\nparent baae85648bcc3b7614e06136d69a3a3308161ac2\nauthor Jesse Glick 1539259225 -0400\ncommitter Jesse Glick 1539259225 -0400\n\nReverting version change from #146.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43","html_url":"https://github.com/stapler/stapler/commit/a3a2412a6d348cd97d5edfdf727996118d6c9c43","comments_url":"https://api.github.com/repos/stapler/stapler/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"baae85648bcc3b7614e06136d69a3a3308161ac2","url":"https://api.github.com/repos/stapler/stapler/commits/baae85648bcc3b7614e06136d69a3a3308161ac2","html_url":"https://github.com/stapler/stapler/commit/baae85648bcc3b7614e06136d69a3a3308161ac2"}]},{"sha":"7d06fa1264dc96380e37aa15eb12289ad68690aa","node_id":"MDY6Q29tbWl0MTU0ODUxNDo3ZDA2ZmExMjY0ZGM5NjM4MGUzN2FhMTVlYjEyMjg5YWQ2ODY5MGFh","commit":{"author":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-09-27T00:33:05Z"},"committer":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-09-27T00:33:05Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"9f43ea7f6eeba931f4fb54ab992c0d6c5860b47e","url":"https://api.github.com/repos/stapler/stapler/git/trees/9f43ea7f6eeba931f4fb54ab992c0d6c5860b47e"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa","html_url":"https://github.com/stapler/stapler/commit/7d06fa1264dc96380e37aa15eb12289ad68690aa","comments_url":"https://api.github.com/repos/stapler/stapler/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa/comments","author":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"committer":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"parents":[{"sha":"91087c2e85b9e9539fb291c8298fb4692a7c2d84","url":"https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84","html_url":"https://github.com/stapler/stapler/commit/91087c2e85b9e9539fb291c8298fb4692a7c2d84"}]},{"sha":"91087c2e85b9e9539fb291c8298fb4692a7c2d84","node_id":"MDY6Q29tbWl0MTU0ODUxNDo5MTA4N2MyZTg1YjllOTUzOWZiMjkxYzgyOThmYjQ2OTJhN2MyZDg0","commit":{"author":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-09-27T00:33:04Z"},"committer":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-09-27T00:33:04Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.254.2","tree":{"sha":"c928a28e808845dd5c6008c255205a3ca7f15650","url":"https://api.github.com/repos/stapler/stapler/git/trees/c928a28e808845dd5c6008c255205a3ca7f15650"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84","html_url":"https://github.com/stapler/stapler/commit/91087c2e85b9e9539fb291c8298fb4692a7c2d84","comments_url":"https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84/comments","author":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"committer":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"parents":[{"sha":"e161023b9284f7572064c7618c896e5c29035ab1","url":"https://api.github.com/repos/stapler/stapler/commits/e161023b9284f7572064c7618c896e5c29035ab1","html_url":"https://github.com/stapler/stapler/commit/e161023b9284f7572064c7618c896e5c29035ab1"}]},{"sha":"5264351dda1af88557c0ebd9be6ce050bc883ca1","node_id":"MDY6Q29tbWl0MTU0ODUxNDo1MjY0MzUxZGRhMWFmODg1NTdjMGViZDliZTZjZTA1MGJjODgzY2Ex","commit":{"author":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-06-19T18:46:22Z"},"committer":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-06-19T18:46:22Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"2bab1a02c342004f23ba782d3bed830a6fe1943b","url":"https://api.github.com/repos/stapler/stapler/git/trees/2bab1a02c342004f23ba782d3bed830a6fe1943b"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1","html_url":"https://github.com/stapler/stapler/commit/5264351dda1af88557c0ebd9be6ce050bc883ca1","comments_url":"https://api.github.com/repos/stapler/stapler/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1/comments","author":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"committer":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"parents":[{"sha":"eb7bb985c89187288fc54f9a50aeb80e90821f7c","url":"https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c","html_url":"https://github.com/stapler/stapler/commit/eb7bb985c89187288fc54f9a50aeb80e90821f7c"}]},{"sha":"eb7bb985c89187288fc54f9a50aeb80e90821f7c","node_id":"MDY6Q29tbWl0MTU0ODUxNDplYjdiYjk4NWM4OTE4NzI4OGZjNTRmOWE1MGFlYjgwZTkwODIxZjdj","commit":{"author":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-06-19T18:46:22Z"},"committer":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-06-19T18:46:22Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.254.1","tree":{"sha":"feecc3f969470e3d89d4bd003a9d63f78bff1b11","url":"https://api.github.com/repos/stapler/stapler/git/trees/feecc3f969470e3d89d4bd003a9d63f78bff1b11"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c","html_url":"https://github.com/stapler/stapler/commit/eb7bb985c89187288fc54f9a50aeb80e90821f7c","comments_url":"https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c/comments","author":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"committer":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"parents":[{"sha":"4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1","url":"https://api.github.com/repos/stapler/stapler/commits/4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1","html_url":"https://github.com/stapler/stapler/commit/4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1"}]},{"sha":"cbfe2797efc3187ec58971cb0a53af4c51a150f2","node_id":"MDY6Q29tbWl0MTU0ODUxNDpjYmZlMjc5N2VmYzMxODdlYzU4OTcxY2IwYTUzYWY0YzUxYTE1MGYy","commit":{"author":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-06-19T09:36:07Z"},"committer":{"name":"Daniel Beck","email":"daniel-beck@users.noreply.github.com","date":"2018-06-19T09:36:07Z"},"message":"Towards 1.254.1","tree":{"sha":"47364ffca5098b87a28944e96a476530a2f75b2e","url":"https://api.github.com/repos/stapler/stapler/git/trees/47364ffca5098b87a28944e96a476530a2f75b2e"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2","html_url":"https://github.com/stapler/stapler/commit/cbfe2797efc3187ec58971cb0a53af4c51a150f2","comments_url":"https://api.github.com/repos/stapler/stapler/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2/comments","author":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"committer":{"login":"daniel-beck","id":1831569,"node_id":"MDQ6VXNlcjE4MzE1Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1831569?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-beck","html_url":"https://github.com/daniel-beck","followers_url":"https://api.github.com/users/daniel-beck/followers","following_url":"https://api.github.com/users/daniel-beck/following{/other_user}","gists_url":"https://api.github.com/users/daniel-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-beck/subscriptions","organizations_url":"https://api.github.com/users/daniel-beck/orgs","repos_url":"https://api.github.com/users/daniel-beck/repos","events_url":"https://api.github.com/users/daniel-beck/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-beck/received_events","type":"User","site_admin":false},"parents":[{"sha":"d6d854ef11dceb4624478d43af503c73f6f075a6","url":"https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6","html_url":"https://github.com/stapler/stapler/commit/d6d854ef11dceb4624478d43af503c73f6f075a6"}]},{"sha":"d6d854ef11dceb4624478d43af503c73f6f075a6","node_id":"MDY6Q29tbWl0MTU0ODUxNDpkNmQ4NTRlZjExZGNlYjQ2MjQ0NzhkNDNhZjUwM2M3M2Y2ZjA3NWE2","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-12-15T18:43:45Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-12-15T18:43:45Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"48bea58de151790190cd3187c606857d3de4e37c","url":"https://api.github.com/repos/stapler/stapler/git/trees/48bea58de151790190cd3187c606857d3de4e37c"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/d6d854ef11dceb4624478d43af503c73f6f075a6","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEcBAABCAAGBQJaNBfhAAoJEB3aadlLYkMRcjsH/1hUfpv+PSjLG0Aio1fGU9qG\nsyystDM9LbEp3isRVfcQdqKosMQtCqpbAYcy37Cv7Jvcr98aaBueVX4aZgA+dxhM\nx9Xr7PiWk/7PBIntvzuxtc46STrwuZ/mSVitHYxYUx2/6/TotdNyETvujvPr/Cob\nR/7LjQ1EsjuLyGfcr7icepbpmAeHX5Ev+3phzMH/ZBpGjfGKDNTjx5hSI0ftbWYy\nHzkskS1SmlR3iSxJ+9cXBzokuJQ9k+0cGyZJlPtlC6trobphKKpCy6uXSz+zwq9g\ntnEMY+2RLbNkdxRyOrJHksHEsGOH4SCQGKgAMmmW0pR+FfYVcDbtek2mlLeSO7M=\n=kot9\n-----END PGP SIGNATURE-----","payload":"tree 48bea58de151790190cd3187c606857d3de4e37c\nparent 07a22fed12081904a6c6b89b02117279274b4065\nauthor Jesse Glick 1513363425 -0500\ncommitter Jesse Glick 1513363425 -0500\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6","html_url":"https://github.com/stapler/stapler/commit/d6d854ef11dceb4624478d43af503c73f6f075a6","comments_url":"https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"07a22fed12081904a6c6b89b02117279274b4065","url":"https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065","html_url":"https://github.com/stapler/stapler/commit/07a22fed12081904a6c6b89b02117279274b4065"}]},{"sha":"07a22fed12081904a6c6b89b02117279274b4065","node_id":"MDY6Q29tbWl0MTU0ODUxNDowN2EyMmZlZDEyMDgxOTA0YTZjNmI4OWIwMjExNzI3OTI3NGI0MDY1","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-12-15T18:43:41Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-12-15T18:43:41Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.254","tree":{"sha":"e3245a995b2d3dec7441d4fc2f364d973da22180","url":"https://api.github.com/repos/stapler/stapler/git/trees/e3245a995b2d3dec7441d4fc2f364d973da22180"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/07a22fed12081904a6c6b89b02117279274b4065","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEcBAABCAAGBQJaNBfdAAoJEB3aadlLYkMR11AH/R8errX8ivHM8owjumQrPu3V\nne3GBScfRx9yjXhI1IaFp0s+H2Sx8ZwugA1xXti0Nt+uCrdtdCgEC8I2h4B8P/bb\nOWL8DcBr/pGvKmaBr5QXM6IolWEZHkv7uvbax9L5q19bwOFfLGWdBLMk+DVojFDe\ndYE/7oVBAj8el/zxOENsA8mLEmbrbVPNPreJkyQXQq+6SbkfSKY5/WqwFoIzwn3y\nJ1KCRTzgzbS9ISr4BRA+0UrEbDwqQNSTE7HO31RALdy1Wj4x35HtvOP7i2kFIotD\n2/l1JDo6wnwgNmh4Ir7axRprDwYnzwSlrgntM4/8fgIxPx6/PyzRvhPfcC7bnXA=\n=OZEQ\n-----END PGP SIGNATURE-----","payload":"tree e3245a995b2d3dec7441d4fc2f364d973da22180\nparent 741ad1a4534a4da79b83fbde99603b569984ad95\nauthor Jesse Glick 1513363421 -0500\ncommitter Jesse Glick 1513363421 -0500\n\n[maven-release-plugin] prepare release stapler-parent-1.254\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065","html_url":"https://github.com/stapler/stapler/commit/07a22fed12081904a6c6b89b02117279274b4065","comments_url":"https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"741ad1a4534a4da79b83fbde99603b569984ad95","url":"https://api.github.com/repos/stapler/stapler/commits/741ad1a4534a4da79b83fbde99603b569984ad95","html_url":"https://github.com/stapler/stapler/commit/741ad1a4534a4da79b83fbde99603b569984ad95"}]},{"sha":"ce37eb5449359ec890df229e00162d050a2eef01","node_id":"MDY6Q29tbWl0MTU0ODUxNDpjZTM3ZWI1NDQ5MzU5ZWM4OTBkZjIyOWUwMDE2MmQwNTBhMmVlZjAx","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-10-20T22:55:37Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-10-20T22:55:37Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"0061bf64d4bdb1d5e7de6a23fe5688c16cf86806","url":"https://api.github.com/repos/stapler/stapler/git/trees/0061bf64d4bdb1d5e7de6a23fe5688c16cf86806"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/ce37eb5449359ec890df229e00162d050a2eef01","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/ce37eb5449359ec890df229e00162d050a2eef01","html_url":"https://github.com/stapler/stapler/commit/ce37eb5449359ec890df229e00162d050a2eef01","comments_url":"https://api.github.com/repos/stapler/stapler/commits/ce37eb5449359ec890df229e00162d050a2eef01/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"055ee2b100f8778049410289c0fa5a3baa07cfb9","url":"https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9","html_url":"https://github.com/stapler/stapler/commit/055ee2b100f8778049410289c0fa5a3baa07cfb9"}]},{"sha":"055ee2b100f8778049410289c0fa5a3baa07cfb9","node_id":"MDY6Q29tbWl0MTU0ODUxNDowNTVlZTJiMTAwZjg3NzgwNDk0MTAyODljMGZhNWEzYmFhMDdjZmI5","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-10-20T22:55:32Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-10-20T22:55:32Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.253","tree":{"sha":"940c7cea71c20ed3a711f627dad594088dbe0e30","url":"https://api.github.com/repos/stapler/stapler/git/trees/940c7cea71c20ed3a711f627dad594088dbe0e30"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9","html_url":"https://github.com/stapler/stapler/commit/055ee2b100f8778049410289c0fa5a3baa07cfb9","comments_url":"https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"04889cf8b7651100e199a7576f644d115c224cf3","url":"https://api.github.com/repos/stapler/stapler/commits/04889cf8b7651100e199a7576f644d115c224cf3","html_url":"https://github.com/stapler/stapler/commit/04889cf8b7651100e199a7576f644d115c224cf3"}]},{"sha":"8d574a5ae22195a901a20bddf2a90f3357b4467c","node_id":"MDY6Q29tbWl0MTU0ODUxNDo4ZDU3NGE1YWUyMjE5NWE5MDFhMjBiZGRmMmE5MGYzMzU3YjQ0Njdj","commit":{"author":{"name":"Oleg Nenashev","email":"o.v.nenashev@gmail.com","date":"2017-10-13T10:27:27Z"},"committer":{"name":"Oleg Nenashev","email":"o.v.nenashev@gmail.com","date":"2017-10-13T10:27:27Z"},"message":"Update Extra enforcer rules as suggested by @jglick","tree":{"sha":"844f78ee7e1b0c2908c8b7dbbee7cf6e918f00e0","url":"https://api.github.com/repos/stapler/stapler/git/trees/844f78ee7e1b0c2908c8b7dbbee7cf6e918f00e0"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c","html_url":"https://github.com/stapler/stapler/commit/8d574a5ae22195a901a20bddf2a90f3357b4467c","comments_url":"https://api.github.com/repos/stapler/stapler/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c/comments","author":{"login":"oleg-nenashev","id":3000480,"node_id":"MDQ6VXNlcjMwMDA0ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/3000480?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"committer":{"login":"oleg-nenashev","id":3000480,"node_id":"MDQ6VXNlcjMwMDA0ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/3000480?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"parents":[{"sha":"00405e223da20fe0409ab1e0766ad977645ead31","url":"https://api.github.com/repos/stapler/stapler/commits/00405e223da20fe0409ab1e0766ad977645ead31","html_url":"https://github.com/stapler/stapler/commit/00405e223da20fe0409ab1e0766ad977645ead31"}]},{"sha":"4d59a74413f40f7064c8486d508684d38ebdfc38","node_id":"MDY6Q29tbWl0MTU0ODUxNDo0ZDU5YTc0NDEzZjQwZjcwNjRjODQ4NmQ1MDg2ODRkMzhlYmRmYzM4","commit":{"author":{"name":"Oleg Nenashev","email":"o.v.nenashev@gmail.com","date":"2017-10-10T17:46:30Z"},"committer":{"name":"Oleg Nenashev","email":"o.v.nenashev@gmail.com","date":"2017-10-10T17:46:30Z"},"message":"Cleanup upper Bound dependencies","tree":{"sha":"319c0b493b406e364138cd557b1c344946225857","url":"https://api.github.com/repos/stapler/stapler/git/trees/319c0b493b406e364138cd557b1c344946225857"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/4d59a74413f40f7064c8486d508684d38ebdfc38","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/4d59a74413f40f7064c8486d508684d38ebdfc38","html_url":"https://github.com/stapler/stapler/commit/4d59a74413f40f7064c8486d508684d38ebdfc38","comments_url":"https://api.github.com/repos/stapler/stapler/commits/4d59a74413f40f7064c8486d508684d38ebdfc38/comments","author":{"login":"oleg-nenashev","id":3000480,"node_id":"MDQ6VXNlcjMwMDA0ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/3000480?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"committer":{"login":"oleg-nenashev","id":3000480,"node_id":"MDQ6VXNlcjMwMDA0ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/3000480?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"parents":[{"sha":"dc2afaa80149f9b81269952d9cf4fdeff71030bc","url":"https://api.github.com/repos/stapler/stapler/commits/dc2afaa80149f9b81269952d9cf4fdeff71030bc","html_url":"https://github.com/stapler/stapler/commit/dc2afaa80149f9b81269952d9cf4fdeff71030bc"}]},{"sha":"b9827c91462e979e6780048bb115355af737a089","node_id":"MDY6Q29tbWl0MTU0ODUxNDpiOTgyN2M5MTQ2MmU5NzllNjc4MDA0OGJiMTE1MzU1YWY3MzdhMDg5","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-08-03T21:39:54Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-08-03T21:39:54Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"e0bd0e223e705b9d104d006f90c376704a76c257","url":"https://api.github.com/repos/stapler/stapler/git/trees/e0bd0e223e705b9d104d006f90c376704a76c257"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/b9827c91462e979e6780048bb115355af737a089","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/b9827c91462e979e6780048bb115355af737a089","html_url":"https://github.com/stapler/stapler/commit/b9827c91462e979e6780048bb115355af737a089","comments_url":"https://api.github.com/repos/stapler/stapler/commits/b9827c91462e979e6780048bb115355af737a089/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"ea125284477865c8344337877b5eefef0d48b9b3","url":"https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3","html_url":"https://github.com/stapler/stapler/commit/ea125284477865c8344337877b5eefef0d48b9b3"}]},{"sha":"ea125284477865c8344337877b5eefef0d48b9b3","node_id":"MDY6Q29tbWl0MTU0ODUxNDplYTEyNTI4NDQ3Nzg2NWM4MzQ0MzM3ODc3YjVlZWZlZjBkNDhiOWIz","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-08-03T21:39:49Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-08-03T21:39:49Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.252","tree":{"sha":"d97cb711080d966c6b129133a5fb7771781c9cfd","url":"https://api.github.com/repos/stapler/stapler/git/trees/d97cb711080d966c6b129133a5fb7771781c9cfd"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/ea125284477865c8344337877b5eefef0d48b9b3","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3","html_url":"https://github.com/stapler/stapler/commit/ea125284477865c8344337877b5eefef0d48b9b3","comments_url":"https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"8baac291ff0acc76f615310630c98de841f9554b","url":"https://api.github.com/repos/stapler/stapler/commits/8baac291ff0acc76f615310630c98de841f9554b","html_url":"https://github.com/stapler/stapler/commit/8baac291ff0acc76f615310630c98de841f9554b"}]},{"sha":"8baac291ff0acc76f615310630c98de841f9554b","node_id":"MDY6Q29tbWl0MTU0ODUxNDo4YmFhYzI5MWZmMGFjYzc2ZjYxNTMxMDYzMGM5OGRlODQxZjk1NTRi","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2017-08-03T21:34:19Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2017-08-03T21:34:19Z"},"message":"Merge pull request #113 from jglick/interfaceMethods\n\nVerifying that web methods may be defined as default interface methods","tree":{"sha":"cd2b635aedadc3314c452c3f7d1ad928f64fb50f","url":"https://api.github.com/repos/stapler/stapler/git/trees/cd2b635aedadc3314c452c3f7d1ad928f64fb50f"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/8baac291ff0acc76f615310630c98de841f9554b","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/8baac291ff0acc76f615310630c98de841f9554b","html_url":"https://github.com/stapler/stapler/commit/8baac291ff0acc76f615310630c98de841f9554b","comments_url":"https://api.github.com/repos/stapler/stapler/commits/8baac291ff0acc76f615310630c98de841f9554b/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"5f5e5fae6f5ddaa62cd3a8028a71c7ca05972347","url":"https://api.github.com/repos/stapler/stapler/commits/5f5e5fae6f5ddaa62cd3a8028a71c7ca05972347","html_url":"https://github.com/stapler/stapler/commit/5f5e5fae6f5ddaa62cd3a8028a71c7ca05972347"},{"sha":"6f9acc164d7108e16af91b548cf45892c228ec9b","url":"https://api.github.com/repos/stapler/stapler/commits/6f9acc164d7108e16af91b548cf45892c228ec9b","html_url":"https://github.com/stapler/stapler/commit/6f9acc164d7108e16af91b548cf45892c228ec9b"}]}] \ No newline at end of file +[ + { + "sha": "950acbd60ed4289520dcd2a395e5d77f181e1cff", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----", + "payload": "tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "html_url": "https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654" + } + ] + }, + { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.258", + "tree": { + "sha": "61eb4efc23a5899681e45c581290617c98856e26", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----", + "payload": "tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "3d3d6f01c553724350a6763d9b726fc3db268ccf", + "url": "https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf", + "html_url": "https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf" + } + ] + }, + { + "sha": "06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "37345299+jeffret-b@users.noreply.github.com", + "date": "2019-08-19T17:42:58Z" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "date": "2019-08-19T17:42:58Z" + }, + "message": "Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ", + "tree": { + "sha": "859fffa8ce0c958e4e4209c7a758be16f0c97c55", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n", + "payload": "tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick " + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "html_url": "https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "web-flow", + "id": 19864447, + "node_id": "MDQ6VXNlcjE5ODY0NDQ3", + "avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/web-flow", + "html_url": "https://github.com/web-flow", + "followers_url": "https://api.github.com/users/web-flow/followers", + "following_url": "https://api.github.com/users/web-flow/following{/other_user}", + "gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}", + "starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/web-flow/subscriptions", + "organizations_url": "https://api.github.com/users/web-flow/orgs", + "repos_url": "https://api.github.com/users/web-flow/repos", + "events_url": "https://api.github.com/users/web-flow/events{/privacy}", + "received_events_url": "https://api.github.com/users/web-flow/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679" + } + ] + }, + { + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:16:04Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:21:18Z" + }, + "message": "A little bit of pom cleanup.\n\nPrimarily about using https.", + "tree": { + "sha": "3ebce198db76fb2e0073f2698c255ea0eee6527c", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "url": "https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "html_url": "https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7" + } + ] + }, + { + "sha": "2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "f8ca916d33ffab1c342e6a92f7fd44dbad1609ec", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----", + "payload": "tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "html_url": "https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321" + } + ] + }, + { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.257", + "tree": { + "sha": "86a648b84700a80e22f089252cea0d70e61857bf", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----", + "payload": "tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0" + } + ] + }, + { + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "message": "#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.", + "tree": { + "sha": "109f198441d6524d99e237ac863e28e80ad77e59", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----", + "payload": "tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "08b13de864bc134fd790decd4f20db9074c7685f", + "url": "https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f", + "html_url": "https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f" + } + ] + }, + { + "sha": "53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "message": "Miscellaneous POM updates while I am here.", + "tree": { + "sha": "996a8d951dc95bc002ee4703865f45594418902e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----", + "payload": "tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "html_url": "https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "0e294ea94617a0926bd583dfe41515f4afb881e7", + "url": "https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7", + "html_url": "https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7" + } + ] + }, + { + "sha": "72343298733508cced8dcb8eb43594bcc6130b26", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3MjM0MzI5ODczMzUwOGNjZWQ4ZGNiOGViNDM1OTRiY2M2MTMwYjI2", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "message": "Update to latest versions.", + "tree": { + "sha": "e1299f37e2ce97636d923a5631265279a5377b6d", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e1299f37e2ce97636d923a5631265279a5377b6d" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "html_url": "https://github.com/stapler/stapler/commit/72343298733508cced8dcb8eb43594bcc6130b26", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "def3808ecd41583818aef3b35675756f00a45bbe", + "url": "https://api.github.com/repos/stapler/stapler/commits/def3808ecd41583818aef3b35675756f00a45bbe", + "html_url": "https://github.com/stapler/stapler/commit/def3808ecd41583818aef3b35675756f00a45bbe" + } + ] + }, + { + "sha": "4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "message": "Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.", + "tree": { + "sha": "575f9abb94a915cfc9fb0fdcc681648aade5cd1f", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "html_url": "https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "a019ca42d01dbe7d88f56deade245d7c0366624c", + "url": "https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c", + "html_url": "https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c" + } + ] + }, + { + "sha": "78f721eb58c25f2c742d93479ff66a3cf98f508a", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3OGY3MjFlYjU4YzI1ZjJjNzQyZDkzNDc5ZmY2NmEzY2Y5OGY1MDhh", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-12-14T20:22:38Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-12-14T20:22:38Z" + }, + "message": "Port of https://github.com/jenkinsci/pom/pull/34.", + "tree": { + "sha": "fbbb94d44b8c382d4cb20faf5824811be9bc9670", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/fbbb94d44b8c382d4cb20faf5824811be9bc9670" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlwUEQ4ACgkQHdpp2Uti\nQxFIegf+O6pldE7TilUNFUpruU1EeLsjhc7BiOMPYPD4gGx7/BF3hTJ5zm7KKip9\nr27Xjs+sQipDCKv9HV3t+PHVB6NvkHkivRVpKI8NKQtyK33K+0NH8mwpSfYRQxUa\npW78Ycs7e2mBomHD0Eiv2EDO+T343YhCvOkNhYO+GU2PMeRfaTr8fp5A8XlrqBDC\nNdEoKPZDmNRXQBTUW2QomuP28PNGzDWXMCJ/pZ8us+YYoBmn0mxf9F7azcgxlkUd\nqbSfgehjd+O5UlRuHqJ7SMN7PGP5fuEQ6xAFkTo/4pqy6U3A/eSDzJtKaRg1MQ8g\np/PQ2FjTt08q2UjvYu1rtDVeLQSmxw==\n=HSGY\n-----END PGP SIGNATURE-----", + "payload": "tree fbbb94d44b8c382d4cb20faf5824811be9bc9670\nparent cebe82d8aee82f93797f315a230fcc74ff950f64\nauthor Jesse Glick 1544818958 -0500\ncommitter Jesse Glick 1544818958 -0500\n\nPort of https://github.com/jenkinsci/pom/pull/34.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a", + "html_url": "https://github.com/stapler/stapler/commit/78f721eb58c25f2c742d93479ff66a3cf98f508a", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "cebe82d8aee82f93797f315a230fcc74ff950f64", + "url": "https://api.github.com/repos/stapler/stapler/commits/cebe82d8aee82f93797f315a230fcc74ff950f64", + "html_url": "https://github.com/stapler/stapler/commit/cebe82d8aee82f93797f315a230fcc74ff950f64" + } + ] + }, + { + "sha": "7b57b988f4af83d41ca2c17277bca4049522baaa", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3YjU3Yjk4OGY0YWY4M2Q0MWNhMmMxNzI3N2JjYTQwNDk1MjJiYWFh", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:07Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:07Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "cc2e431cfba52e2f2e56bac66e756f49fe879b48", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cc2e431cfba52e2f2e56bac66e756f49fe879b48" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/7b57b988f4af83d41ca2c17277bca4049522baaa", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/7b57b988f4af83d41ca2c17277bca4049522baaa", + "html_url": "https://github.com/stapler/stapler/commit/7b57b988f4af83d41ca2c17277bca4049522baaa", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/7b57b988f4af83d41ca2c17277bca4049522baaa/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "url": "https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "html_url": "https://github.com/stapler/stapler/commit/d9f05512169d70bbd8deff1e87afe3fdd251dc54" + } + ] + }, + { + "sha": "d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkOWYwNTUxMjE2OWQ3MGJiZDhkZWZmMWU4N2FmZTNmZGQyNTFkYzU0", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:06Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:06Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.256", + "tree": { + "sha": "72489bbab47bb18acb370d8f84b150343b7dd358", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/72489bbab47bb18acb370d8f84b150343b7dd358" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "html_url": "https://github.com/stapler/stapler/commit/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20", + "url": "https://api.github.com/repos/stapler/stapler/commits/d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20", + "html_url": "https://github.com/stapler/stapler/commit/d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20" + } + ] + }, + { + "sha": "86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo4NmUyMTNjMTY5ZWUwZWEzNTY1ZjliNWJkNTg3MDdiYzAwYTA5YjAy", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:48Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:48Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/TMgACgkQHdpp2Uti\nQxE9/Af+K1ShxOzSJcAa90xQZ3hMpj4H4EB6O85roPMakUlVdzhcAKny9FYuMH7H\nK+j+LMaXe17ZKOcj6FTg0MMA8eEE5WjMEHUIQKsJCes5V0xBfJtB6OGeR1nSNFR2\ndGCPuaPMqCT43JZCYgVr3o+/Eylpz1HQlljbp5eanfYX0AdSGmaFOLSrEC4HZ8VW\neTzJbElZTHLtwxOZJWIgRM/LgQA65pSDOBarSshw6pmNg/NnrMSqF+hiCQ+tuLxg\nIpp980DtB1DuXAjE92vdMe2SZLkF1TpeO01i4qnhHLzAAqDs5z2xZmr+Om8dOMg7\nJA95XVBFDZMK33hySR+QW3UtvBbgXg==\n=QROA\n-----END PGP SIGNATURE-----", + "payload": "tree c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56\nparent c7d9760c909ca34c9c8ad3e8959a79eec433b45e\nauthor Jesse Glick 1539263688 -0400\ncommitter Jesse Glick 1539263688 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "html_url": "https://github.com/stapler/stapler/commit/86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "url": "https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "html_url": "https://github.com/stapler/stapler/commit/c7d9760c909ca34c9c8ad3e8959a79eec433b45e" + } + ] + }, + { + "sha": "c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjN2Q5NzYwYzkwOWNhMzRjOWM4YWQzZTg5NTlhNzllZWM0MzNiNDVl", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:41Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:41Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.255", + "tree": { + "sha": "cb599cb07bfc68659244ba69d941e29263f91425", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cb599cb07bfc68659244ba69d941e29263f91425" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/TMEACgkQHdpp2Uti\nQxFiCwgAlSUgLjLRfmahF5y+T4wwQXWt1WeCLlkKdjEGoTovGEgz2Q8qCS9KmnlE\nD1E+SNb5XbLcQI88X61sl8cGiUvE0nvPdT6yxWAolmyrOKwquPocwwdAfSdHrb7F\nk+YtzxRl/Di2CMAzgpSFvdBW+qW+MCbPwOTsVpC9lPLluzEF4+zu6vkeRhdodxu+\nvsG+p4oxNyLRi7oyFHhzE+bODUoFBNfSmLoCkNeO0gEN81IFnE+fKbPE9uCuOqMf\n6NKQXJNzYd/K59fJA6IPcE+yCoh0qol8Y954PTfqHev6o9TABwxf+dUEz2aqNfl+\ndk7d6yGVZOWA1KuTWd10jFe5gpRTrA==\n=LsFr\n-----END PGP SIGNATURE-----", + "payload": "tree cb599cb07bfc68659244ba69d941e29263f91425\nparent 9de442464f5a40263e1c001c4c8ec4c8fbbefb30\nauthor Jesse Glick 1539263681 -0400\ncommitter Jesse Glick 1539263681 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.255\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "html_url": "https://github.com/stapler/stapler/commit/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "9de442464f5a40263e1c001c4c8ec4c8fbbefb30", + "url": "https://api.github.com/repos/stapler/stapler/commits/9de442464f5a40263e1c001c4c8ec4c8fbbefb30", + "html_url": "https://github.com/stapler/stapler/commit/9de442464f5a40263e1c001c4c8ec4c8fbbefb30" + } + ] + }, + { + "sha": "a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDphM2EyNDEyYTZkMzQ4Y2Q5N2Q1ZWRmZGY3Mjc5OTYxMThkNmM5YzQz", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T12:00:25Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T12:00:25Z" + }, + "message": "Reverting version change from #146.", + "tree": { + "sha": "2091120406431f581f483d2ce8329c7a7d9b5686", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/2091120406431f581f483d2ce8329c7a7d9b5686" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/O1kACgkQHdpp2Uti\nQxHm2Qf/bF+fwm1u2KfSW9CAJFzVntw6fEwiEtL7J1dUUMngDhhAuxQjer14ldru\nAy9bsf20/rNLOGL71ibivTR4ExZMbOByYmnh3Po9R/kYWZG5erFLNIf/ax2lpgEB\nCXnOKVnmTmCnLN6N4xWDEauzVBJyK2bk9gILWbFKi2of4M12KXXaXoBpJimg0yZr\neymffa3SYexO7cN6xGaM/HO2UEoi2zTQqqGgV6Mt1gbUHmahnuRjNxTJ23GStfZQ\nSOmFTCeMPjUOqhpt+n3vu6x9KrV+/JmL2GtD/HEdHn1TWEELE2mXx7+TYBExOShx\nEWISOQWwZh1iZSF3z0KfprwuhsaStw==\n=4U63\n-----END PGP SIGNATURE-----", + "payload": "tree 2091120406431f581f483d2ce8329c7a7d9b5686\nparent baae85648bcc3b7614e06136d69a3a3308161ac2\nauthor Jesse Glick 1539259225 -0400\ncommitter Jesse Glick 1539259225 -0400\n\nReverting version change from #146.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "html_url": "https://github.com/stapler/stapler/commit/a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "baae85648bcc3b7614e06136d69a3a3308161ac2", + "url": "https://api.github.com/repos/stapler/stapler/commits/baae85648bcc3b7614e06136d69a3a3308161ac2", + "html_url": "https://github.com/stapler/stapler/commit/baae85648bcc3b7614e06136d69a3a3308161ac2" + } + ] + }, + { + "sha": "7d06fa1264dc96380e37aa15eb12289ad68690aa", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3ZDA2ZmExMjY0ZGM5NjM4MGUzN2FhMTVlYjEyMjg5YWQ2ODY5MGFh", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:05Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:05Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "9f43ea7f6eeba931f4fb54ab992c0d6c5860b47e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/9f43ea7f6eeba931f4fb54ab992c0d6c5860b47e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa", + "html_url": "https://github.com/stapler/stapler/commit/7d06fa1264dc96380e37aa15eb12289ad68690aa", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "url": "https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "html_url": "https://github.com/stapler/stapler/commit/91087c2e85b9e9539fb291c8298fb4692a7c2d84" + } + ] + }, + { + "sha": "91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo5MTA4N2MyZTg1YjllOTUzOWZiMjkxYzgyOThmYjQ2OTJhN2MyZDg0", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:04Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:04Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.254.2", + "tree": { + "sha": "c928a28e808845dd5c6008c255205a3ca7f15650", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/c928a28e808845dd5c6008c255205a3ca7f15650" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "html_url": "https://github.com/stapler/stapler/commit/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "e161023b9284f7572064c7618c896e5c29035ab1", + "url": "https://api.github.com/repos/stapler/stapler/commits/e161023b9284f7572064c7618c896e5c29035ab1", + "html_url": "https://github.com/stapler/stapler/commit/e161023b9284f7572064c7618c896e5c29035ab1" + } + ] + }, + { + "sha": "5264351dda1af88557c0ebd9be6ce050bc883ca1", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo1MjY0MzUxZGRhMWFmODg1NTdjMGViZDliZTZjZTA1MGJjODgzY2Ex", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "2bab1a02c342004f23ba782d3bed830a6fe1943b", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/2bab1a02c342004f23ba782d3bed830a6fe1943b" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1", + "html_url": "https://github.com/stapler/stapler/commit/5264351dda1af88557c0ebd9be6ce050bc883ca1", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "url": "https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "html_url": "https://github.com/stapler/stapler/commit/eb7bb985c89187288fc54f9a50aeb80e90821f7c" + } + ] + }, + { + "sha": "eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplYjdiYjk4NWM4OTE4NzI4OGZjNTRmOWE1MGFlYjgwZTkwODIxZjdj", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.254.1", + "tree": { + "sha": "feecc3f969470e3d89d4bd003a9d63f78bff1b11", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/feecc3f969470e3d89d4bd003a9d63f78bff1b11" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "html_url": "https://github.com/stapler/stapler/commit/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1", + "url": "https://api.github.com/repos/stapler/stapler/commits/4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1", + "html_url": "https://github.com/stapler/stapler/commit/4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1" + } + ] + }, + { + "sha": "cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjYmZlMjc5N2VmYzMxODdlYzU4OTcxY2IwYTUzYWY0YzUxYTE1MGYy", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T09:36:07Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T09:36:07Z" + }, + "message": "Towards 1.254.1", + "tree": { + "sha": "47364ffca5098b87a28944e96a476530a2f75b2e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/47364ffca5098b87a28944e96a476530a2f75b2e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "html_url": "https://github.com/stapler/stapler/commit/cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d6d854ef11dceb4624478d43af503c73f6f075a6", + "url": "https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6", + "html_url": "https://github.com/stapler/stapler/commit/d6d854ef11dceb4624478d43af503c73f6f075a6" + } + ] + }, + { + "sha": "d6d854ef11dceb4624478d43af503c73f6f075a6", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkNmQ4NTRlZjExZGNlYjQ2MjQ0NzhkNDNhZjUwM2M3M2Y2ZjA3NWE2", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:45Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:45Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "48bea58de151790190cd3187c606857d3de4e37c", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/48bea58de151790190cd3187c606857d3de4e37c" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d6d854ef11dceb4624478d43af503c73f6f075a6", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEcBAABCAAGBQJaNBfhAAoJEB3aadlLYkMRcjsH/1hUfpv+PSjLG0Aio1fGU9qG\nsyystDM9LbEp3isRVfcQdqKosMQtCqpbAYcy37Cv7Jvcr98aaBueVX4aZgA+dxhM\nx9Xr7PiWk/7PBIntvzuxtc46STrwuZ/mSVitHYxYUx2/6/TotdNyETvujvPr/Cob\nR/7LjQ1EsjuLyGfcr7icepbpmAeHX5Ev+3phzMH/ZBpGjfGKDNTjx5hSI0ftbWYy\nHzkskS1SmlR3iSxJ+9cXBzokuJQ9k+0cGyZJlPtlC6trobphKKpCy6uXSz+zwq9g\ntnEMY+2RLbNkdxRyOrJHksHEsGOH4SCQGKgAMmmW0pR+FfYVcDbtek2mlLeSO7M=\n=kot9\n-----END PGP SIGNATURE-----", + "payload": "tree 48bea58de151790190cd3187c606857d3de4e37c\nparent 07a22fed12081904a6c6b89b02117279274b4065\nauthor Jesse Glick 1513363425 -0500\ncommitter Jesse Glick 1513363425 -0500\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6", + "html_url": "https://github.com/stapler/stapler/commit/d6d854ef11dceb4624478d43af503c73f6f075a6", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "07a22fed12081904a6c6b89b02117279274b4065", + "url": "https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065", + "html_url": "https://github.com/stapler/stapler/commit/07a22fed12081904a6c6b89b02117279274b4065" + } + ] + }, + { + "sha": "07a22fed12081904a6c6b89b02117279274b4065", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowN2EyMmZlZDEyMDgxOTA0YTZjNmI4OWIwMjExNzI3OTI3NGI0MDY1", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:41Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:41Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.254", + "tree": { + "sha": "e3245a995b2d3dec7441d4fc2f364d973da22180", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e3245a995b2d3dec7441d4fc2f364d973da22180" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/07a22fed12081904a6c6b89b02117279274b4065", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEcBAABCAAGBQJaNBfdAAoJEB3aadlLYkMR11AH/R8errX8ivHM8owjumQrPu3V\nne3GBScfRx9yjXhI1IaFp0s+H2Sx8ZwugA1xXti0Nt+uCrdtdCgEC8I2h4B8P/bb\nOWL8DcBr/pGvKmaBr5QXM6IolWEZHkv7uvbax9L5q19bwOFfLGWdBLMk+DVojFDe\ndYE/7oVBAj8el/zxOENsA8mLEmbrbVPNPreJkyQXQq+6SbkfSKY5/WqwFoIzwn3y\nJ1KCRTzgzbS9ISr4BRA+0UrEbDwqQNSTE7HO31RALdy1Wj4x35HtvOP7i2kFIotD\n2/l1JDo6wnwgNmh4Ir7axRprDwYnzwSlrgntM4/8fgIxPx6/PyzRvhPfcC7bnXA=\n=OZEQ\n-----END PGP SIGNATURE-----", + "payload": "tree e3245a995b2d3dec7441d4fc2f364d973da22180\nparent 741ad1a4534a4da79b83fbde99603b569984ad95\nauthor Jesse Glick 1513363421 -0500\ncommitter Jesse Glick 1513363421 -0500\n\n[maven-release-plugin] prepare release stapler-parent-1.254\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065", + "html_url": "https://github.com/stapler/stapler/commit/07a22fed12081904a6c6b89b02117279274b4065", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "741ad1a4534a4da79b83fbde99603b569984ad95", + "url": "https://api.github.com/repos/stapler/stapler/commits/741ad1a4534a4da79b83fbde99603b569984ad95", + "html_url": "https://github.com/stapler/stapler/commit/741ad1a4534a4da79b83fbde99603b569984ad95" + } + ] + }, + { + "sha": "ce37eb5449359ec890df229e00162d050a2eef01", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjZTM3ZWI1NDQ5MzU5ZWM4OTBkZjIyOWUwMDE2MmQwNTBhMmVlZjAx", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:37Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:37Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "0061bf64d4bdb1d5e7de6a23fe5688c16cf86806", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/0061bf64d4bdb1d5e7de6a23fe5688c16cf86806" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/ce37eb5449359ec890df229e00162d050a2eef01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/ce37eb5449359ec890df229e00162d050a2eef01", + "html_url": "https://github.com/stapler/stapler/commit/ce37eb5449359ec890df229e00162d050a2eef01", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/ce37eb5449359ec890df229e00162d050a2eef01/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "055ee2b100f8778049410289c0fa5a3baa07cfb9", + "url": "https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "html_url": "https://github.com/stapler/stapler/commit/055ee2b100f8778049410289c0fa5a3baa07cfb9" + } + ] + }, + { + "sha": "055ee2b100f8778049410289c0fa5a3baa07cfb9", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowNTVlZTJiMTAwZjg3NzgwNDk0MTAyODljMGZhNWEzYmFhMDdjZmI5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:32Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:32Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.253", + "tree": { + "sha": "940c7cea71c20ed3a711f627dad594088dbe0e30", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/940c7cea71c20ed3a711f627dad594088dbe0e30" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "html_url": "https://github.com/stapler/stapler/commit/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "04889cf8b7651100e199a7576f644d115c224cf3", + "url": "https://api.github.com/repos/stapler/stapler/commits/04889cf8b7651100e199a7576f644d115c224cf3", + "html_url": "https://github.com/stapler/stapler/commit/04889cf8b7651100e199a7576f644d115c224cf3" + } + ] + }, + { + "sha": "8d574a5ae22195a901a20bddf2a90f3357b4467c", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo4ZDU3NGE1YWUyMjE5NWE5MDFhMjBiZGRmMmE5MGYzMzU3YjQ0Njdj", + "commit": { + "author": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-13T10:27:27Z" + }, + "committer": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-13T10:27:27Z" + }, + "message": "Update Extra enforcer rules as suggested by @jglick", + "tree": { + "sha": "844f78ee7e1b0c2908c8b7dbbee7cf6e918f00e0", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/844f78ee7e1b0c2908c8b7dbbee7cf6e918f00e0" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c", + "html_url": "https://github.com/stapler/stapler/commit/8d574a5ae22195a901a20bddf2a90f3357b4467c", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c/comments", + "author": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "00405e223da20fe0409ab1e0766ad977645ead31", + "url": "https://api.github.com/repos/stapler/stapler/commits/00405e223da20fe0409ab1e0766ad977645ead31", + "html_url": "https://github.com/stapler/stapler/commit/00405e223da20fe0409ab1e0766ad977645ead31" + } + ] + }, + { + "sha": "4d59a74413f40f7064c8486d508684d38ebdfc38", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo0ZDU5YTc0NDEzZjQwZjcwNjRjODQ4NmQ1MDg2ODRkMzhlYmRmYzM4", + "commit": { + "author": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-10T17:46:30Z" + }, + "committer": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-10T17:46:30Z" + }, + "message": "Cleanup upper Bound dependencies", + "tree": { + "sha": "319c0b493b406e364138cd557b1c344946225857", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/319c0b493b406e364138cd557b1c344946225857" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/4d59a74413f40f7064c8486d508684d38ebdfc38", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/4d59a74413f40f7064c8486d508684d38ebdfc38", + "html_url": "https://github.com/stapler/stapler/commit/4d59a74413f40f7064c8486d508684d38ebdfc38", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/4d59a74413f40f7064c8486d508684d38ebdfc38/comments", + "author": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "dc2afaa80149f9b81269952d9cf4fdeff71030bc", + "url": "https://api.github.com/repos/stapler/stapler/commits/dc2afaa80149f9b81269952d9cf4fdeff71030bc", + "html_url": "https://github.com/stapler/stapler/commit/dc2afaa80149f9b81269952d9cf4fdeff71030bc" + } + ] + }, + { + "sha": "b9827c91462e979e6780048bb115355af737a089", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpiOTgyN2M5MTQ2MmU5NzllNjc4MDA0OGJiMTE1MzU1YWY3MzdhMDg5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-08-03T21:39:54Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-08-03T21:39:54Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "e0bd0e223e705b9d104d006f90c376704a76c257", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e0bd0e223e705b9d104d006f90c376704a76c257" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/b9827c91462e979e6780048bb115355af737a089", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/b9827c91462e979e6780048bb115355af737a089", + "html_url": "https://github.com/stapler/stapler/commit/b9827c91462e979e6780048bb115355af737a089", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/b9827c91462e979e6780048bb115355af737a089/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ea125284477865c8344337877b5eefef0d48b9b3", + "url": "https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3", + "html_url": "https://github.com/stapler/stapler/commit/ea125284477865c8344337877b5eefef0d48b9b3" + } + ] + }, + { + "sha": "ea125284477865c8344337877b5eefef0d48b9b3", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplYTEyNTI4NDQ3Nzg2NWM4MzQ0MzM3ODc3YjVlZWZlZjBkNDhiOWIz", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-08-03T21:39:49Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-08-03T21:39:49Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.252", + "tree": { + "sha": "d97cb711080d966c6b129133a5fb7771781c9cfd", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/d97cb711080d966c6b129133a5fb7771781c9cfd" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/ea125284477865c8344337877b5eefef0d48b9b3", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3", + "html_url": "https://github.com/stapler/stapler/commit/ea125284477865c8344337877b5eefef0d48b9b3", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "8baac291ff0acc76f615310630c98de841f9554b", + "url": "https://api.github.com/repos/stapler/stapler/commits/8baac291ff0acc76f615310630c98de841f9554b", + "html_url": "https://github.com/stapler/stapler/commit/8baac291ff0acc76f615310630c98de841f9554b" + } + ] + }, + { + "sha": "8baac291ff0acc76f615310630c98de841f9554b", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo4YmFhYzI5MWZmMGFjYzc2ZjYxNTMxMDYzMGM5OGRlODQxZjk1NTRi", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-08-03T21:34:19Z" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "date": "2017-08-03T21:34:19Z" + }, + "message": "Merge pull request #113 from jglick/interfaceMethods\n\nVerifying that web methods may be defined as default interface methods", + "tree": { + "sha": "cd2b635aedadc3314c452c3f7d1ad928f64fb50f", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cd2b635aedadc3314c452c3f7d1ad928f64fb50f" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/8baac291ff0acc76f615310630c98de841f9554b", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/8baac291ff0acc76f615310630c98de841f9554b", + "html_url": "https://github.com/stapler/stapler/commit/8baac291ff0acc76f615310630c98de841f9554b", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/8baac291ff0acc76f615310630c98de841f9554b/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "web-flow", + "id": 19864447, + "node_id": "MDQ6VXNlcjE5ODY0NDQ3", + "avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/web-flow", + "html_url": "https://github.com/web-flow", + "followers_url": "https://api.github.com/users/web-flow/followers", + "following_url": "https://api.github.com/users/web-flow/following{/other_user}", + "gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}", + "starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/web-flow/subscriptions", + "organizations_url": "https://api.github.com/users/web-flow/orgs", + "repos_url": "https://api.github.com/users/web-flow/repos", + "events_url": "https://api.github.com/users/web-flow/events{/privacy}", + "received_events_url": "https://api.github.com/users/web-flow/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "5f5e5fae6f5ddaa62cd3a8028a71c7ca05972347", + "url": "https://api.github.com/repos/stapler/stapler/commits/5f5e5fae6f5ddaa62cd3a8028a71c7ca05972347", + "html_url": "https://github.com/stapler/stapler/commit/5f5e5fae6f5ddaa62cd3a8028a71c7ca05972347" + }, + { + "sha": "6f9acc164d7108e16af91b548cf45892c228ec9b", + "url": "https://api.github.com/repos/stapler/stapler/commits/6f9acc164d7108e16af91b548cf45892c228ec9b", + "html_url": "https://github.com/stapler/stapler/commit/6f9acc164d7108e16af91b548cf45892c228ec9b" + } + ] + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json index 7e2472e78..cfb7b6752 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json @@ -1 +1,98 @@ -{"sha":"06b1108ec041fd8d6e7f54c8578d84a672fee9e4","node_id":"MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0","commit":{"author":{"name":"Jeff Thompson","email":"37345299+jeffret-b@users.noreply.github.com","date":"2019-08-19T17:42:58Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2019-08-19T17:42:58Z"},"message":"Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ","tree":{"sha":"859fffa8ce0c958e4e4209c7a758be16f0c97c55","url":"https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n","payload":"tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick "}},"url":"https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","html_url":"https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","comments_url":"https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"2a971c4e38c6d6693f7ad8b6768e4d74840d6679","url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","html_url":"https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679"}],"stats":{"total":2,"additions":1,"deletions":1},"files":[{"sha":"fcfba8d7fc2b339aaa73e28142b5dfc2234a35bc","filename":"pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=06b1108ec041fd8d6e7f54c8578d84a672fee9e4","patch":"@@ -30,7 +30,7 @@\n \n 2-clause BSD license\n repo\n- https://opensource.org/licenses/bsd-license\n+ https://opensource.org/licenses/BSD-2-Clause\n \n \n "}]} \ No newline at end of file +{ + "sha": "06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "37345299+jeffret-b@users.noreply.github.com", + "date": "2019-08-19T17:42:58Z" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "date": "2019-08-19T17:42:58Z" + }, + "message": "Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ", + "tree": { + "sha": "859fffa8ce0c958e4e4209c7a758be16f0c97c55", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n", + "payload": "tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick " + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "html_url": "https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "web-flow", + "id": 19864447, + "node_id": "MDQ6VXNlcjE5ODY0NDQ3", + "avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/web-flow", + "html_url": "https://github.com/web-flow", + "followers_url": "https://api.github.com/users/web-flow/followers", + "following_url": "https://api.github.com/users/web-flow/following{/other_user}", + "gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}", + "starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/web-flow/subscriptions", + "organizations_url": "https://api.github.com/users/web-flow/orgs", + "repos_url": "https://api.github.com/users/web-flow/repos", + "events_url": "https://api.github.com/users/web-flow/events{/privacy}", + "received_events_url": "https://api.github.com/users/web-flow/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679" + } + ], + "stats": { + "total": 2, + "additions": 1, + "deletions": 1 + }, + "files": [ + { + "sha": "fcfba8d7fc2b339aaa73e28142b5dfc2234a35bc", + "filename": "pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "patch": "@@ -30,7 +30,7 @@\n \n 2-clause BSD license\n repo\n- https://opensource.org/licenses/bsd-license\n+ https://opensource.org/licenses/BSD-2-Clause\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json index 7e2472e78..cfb7b6752 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json @@ -1 +1,98 @@ -{"sha":"06b1108ec041fd8d6e7f54c8578d84a672fee9e4","node_id":"MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0","commit":{"author":{"name":"Jeff Thompson","email":"37345299+jeffret-b@users.noreply.github.com","date":"2019-08-19T17:42:58Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2019-08-19T17:42:58Z"},"message":"Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ","tree":{"sha":"859fffa8ce0c958e4e4209c7a758be16f0c97c55","url":"https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n","payload":"tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick "}},"url":"https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","html_url":"https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4","comments_url":"https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"2a971c4e38c6d6693f7ad8b6768e4d74840d6679","url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","html_url":"https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679"}],"stats":{"total":2,"additions":1,"deletions":1},"files":[{"sha":"fcfba8d7fc2b339aaa73e28142b5dfc2234a35bc","filename":"pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=06b1108ec041fd8d6e7f54c8578d84a672fee9e4","patch":"@@ -30,7 +30,7 @@\n \n 2-clause BSD license\n repo\n- https://opensource.org/licenses/bsd-license\n+ https://opensource.org/licenses/BSD-2-Clause\n \n \n "}]} \ No newline at end of file +{ + "sha": "06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "37345299+jeffret-b@users.noreply.github.com", + "date": "2019-08-19T17:42:58Z" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "date": "2019-08-19T17:42:58Z" + }, + "message": "Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ", + "tree": { + "sha": "859fffa8ce0c958e4e4209c7a758be16f0c97c55", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n", + "payload": "tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick " + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "html_url": "https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "web-flow", + "id": 19864447, + "node_id": "MDQ6VXNlcjE5ODY0NDQ3", + "avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/web-flow", + "html_url": "https://github.com/web-flow", + "followers_url": "https://api.github.com/users/web-flow/followers", + "following_url": "https://api.github.com/users/web-flow/following{/other_user}", + "gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}", + "starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/web-flow/subscriptions", + "organizations_url": "https://api.github.com/users/web-flow/orgs", + "repos_url": "https://api.github.com/users/web-flow/repos", + "events_url": "https://api.github.com/users/web-flow/events{/privacy}", + "received_events_url": "https://api.github.com/users/web-flow/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679" + } + ], + "stats": { + "total": 2, + "additions": 1, + "deletions": 1 + }, + "files": [ + { + "sha": "fcfba8d7fc2b339aaa73e28142b5dfc2234a35bc", + "filename": "pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "patch": "@@ -30,7 +30,7 @@\n \n 2-clause BSD license\n repo\n- https://opensource.org/licenses/bsd-license\n+ https://opensource.org/licenses/BSD-2-Clause\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json index dc818b9ac..b1a283791 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json @@ -1 +1,110 @@ -{"sha":"2a971c4e38c6d6693f7ad8b6768e4d74840d6679","node_id":"MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-06-28T16:16:04Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-06-28T16:21:18Z"},"message":"A little bit of pom cleanup.\n\nPrimarily about using https.","tree":{"sha":"3ebce198db76fb2e0073f2698c255ea0eee6527c","url":"https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","html_url":"https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","comments_url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7","url":"https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7","html_url":"https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7"}],"stats":{"total":23,"additions":4,"deletions":19},"files":[{"sha":"5fa54083143c6b88b5a51ac31b470ab312a879c1","filename":"jrebel/pom.xml","status":"modified","additions":0,"deletions":15,"changes":15,"blob_url":"https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679","patch":"@@ -35,19 +35,4 @@\n \n \n \n- \n "},{"sha":"15dca3afa963e3ca7ef8946652fc9d74e1abd0b3","filename":"pom.xml","status":"modified","additions":4,"deletions":4,"changes":8,"blob_url":"https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679","patch":"@@ -24,13 +24,13 @@\n jrebel\n \n \n- http://stapler.kohsuke.org/\n+ https://stapler.kohsuke.org/\n \n \n \n 2-clause BSD license\n repo\n- http://opensource.org/licenses/bsd-license.php\n+ https://opensource.org/licenses/bsd-license\n \n \n \n@@ -67,14 +67,14 @@\n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n \n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n "}]} \ No newline at end of file +{ + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:16:04Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:21:18Z" + }, + "message": "A little bit of pom cleanup.\n\nPrimarily about using https.", + "tree": { + "sha": "3ebce198db76fb2e0073f2698c255ea0eee6527c", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "url": "https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "html_url": "https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7" + } + ], + "stats": { + "total": 23, + "additions": 4, + "deletions": 19 + }, + "files": [ + { + "sha": "5fa54083143c6b88b5a51ac31b470ab312a879c1", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 0, + "deletions": 15, + "changes": 15, + "blob_url": "https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "patch": "@@ -35,19 +35,4 @@\n \n \n \n- \n " + }, + { + "sha": "15dca3afa963e3ca7ef8946652fc9d74e1abd0b3", + "filename": "pom.xml", + "status": "modified", + "additions": 4, + "deletions": 4, + "changes": 8, + "blob_url": "https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "patch": "@@ -24,13 +24,13 @@\n jrebel\n \n \n- http://stapler.kohsuke.org/\n+ https://stapler.kohsuke.org/\n \n \n \n 2-clause BSD license\n repo\n- http://opensource.org/licenses/bsd-license.php\n+ https://opensource.org/licenses/bsd-license\n \n \n \n@@ -67,14 +67,14 @@\n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n \n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json index dc818b9ac..b1a283791 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json @@ -1 +1,110 @@ -{"sha":"2a971c4e38c6d6693f7ad8b6768e4d74840d6679","node_id":"MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-06-28T16:16:04Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-06-28T16:21:18Z"},"message":"A little bit of pom cleanup.\n\nPrimarily about using https.","tree":{"sha":"3ebce198db76fb2e0073f2698c255ea0eee6527c","url":"https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","html_url":"https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679","comments_url":"https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7","url":"https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7","html_url":"https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7"}],"stats":{"total":23,"additions":4,"deletions":19},"files":[{"sha":"5fa54083143c6b88b5a51ac31b470ab312a879c1","filename":"jrebel/pom.xml","status":"modified","additions":0,"deletions":15,"changes":15,"blob_url":"https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679","patch":"@@ -35,19 +35,4 @@\n \n \n \n- \n "},{"sha":"15dca3afa963e3ca7ef8946652fc9d74e1abd0b3","filename":"pom.xml","status":"modified","additions":4,"deletions":4,"changes":8,"blob_url":"https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679","patch":"@@ -24,13 +24,13 @@\n jrebel\n \n \n- http://stapler.kohsuke.org/\n+ https://stapler.kohsuke.org/\n \n \n \n 2-clause BSD license\n repo\n- http://opensource.org/licenses/bsd-license.php\n+ https://opensource.org/licenses/bsd-license\n \n \n \n@@ -67,14 +67,14 @@\n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n \n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n "}]} \ No newline at end of file +{ + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:16:04Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:21:18Z" + }, + "message": "A little bit of pom cleanup.\n\nPrimarily about using https.", + "tree": { + "sha": "3ebce198db76fb2e0073f2698c255ea0eee6527c", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "url": "https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "html_url": "https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7" + } + ], + "stats": { + "total": 23, + "additions": 4, + "deletions": 19 + }, + "files": [ + { + "sha": "5fa54083143c6b88b5a51ac31b470ab312a879c1", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 0, + "deletions": 15, + "changes": 15, + "blob_url": "https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "patch": "@@ -35,19 +35,4 @@\n \n \n \n- \n " + }, + { + "sha": "15dca3afa963e3ca7ef8946652fc9d74e1abd0b3", + "filename": "pom.xml", + "status": "modified", + "additions": 4, + "deletions": 4, + "changes": 8, + "blob_url": "https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "patch": "@@ -24,13 +24,13 @@\n jrebel\n \n \n- http://stapler.kohsuke.org/\n+ https://stapler.kohsuke.org/\n \n \n \n 2-clause BSD license\n repo\n- http://opensource.org/licenses/bsd-license.php\n+ https://opensource.org/licenses/bsd-license\n \n \n \n@@ -67,14 +67,14 @@\n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n \n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json index 1d0cd12a3..0b99503fa 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json @@ -1 +1,170 @@ -{"sha":"2f4ca0f03c1e6188867bddddce12ff213a107d9d","node_id":"MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:21Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:21Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"f8ca916d33ffab1c342e6a92f7fd44dbad1609ec","url":"https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----","payload":"tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d","html_url":"https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d","comments_url":"https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"d922b808068cf95d6f6ab624ce2c7f49d51f5321","url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","html_url":"https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321"}],"stats":{"total":18,"additions":9,"deletions":9},"files":[{"sha":"d5db8c67ff1f81d36f1e827f9167efef73a90e11","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler"},{"sha":"df30de83b3590c884f757b29cbe192ed7448ad9a","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-groovy"},{"sha":"d9d4fe7b1f40a1d7a32fce0d56a8fdfa11e58dac","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jelly"},{"sha":"549ac913ab8d7d5b715e550dbe01d948d3f3794b","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jrebel"},{"sha":"8309e3bea60cdedb5920a821247fe726b2ef9cea","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jruby"},{"sha":"5ce1d053c5c853854188bc7bc99c17e675856d29","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jsp"},{"sha":"72dfbbc2151c03becdedfc6f2ae8ec930c912ced","filename":"pom.xml","status":"modified","additions":3,"deletions":3,"changes":6,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.257\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.257\n+ 1.258\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD"}]} \ No newline at end of file +{ + "sha": "2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "f8ca916d33ffab1c342e6a92f7fd44dbad1609ec", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----", + "payload": "tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "html_url": "https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321" + } + ], + "stats": { + "total": 18, + "additions": 9, + "deletions": 9 + }, + "files": [ + { + "sha": "d5db8c67ff1f81d36f1e827f9167efef73a90e11", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler" + }, + { + "sha": "df30de83b3590c884f757b29cbe192ed7448ad9a", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-groovy" + }, + { + "sha": "d9d4fe7b1f40a1d7a32fce0d56a8fdfa11e58dac", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jelly" + }, + { + "sha": "549ac913ab8d7d5b715e550dbe01d948d3f3794b", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jrebel" + }, + { + "sha": "8309e3bea60cdedb5920a821247fe726b2ef9cea", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jruby" + }, + { + "sha": "5ce1d053c5c853854188bc7bc99c17e675856d29", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jsp" + }, + { + "sha": "72dfbbc2151c03becdedfc6f2ae8ec930c912ced", + "filename": "pom.xml", + "status": "modified", + "additions": 3, + "deletions": 3, + "changes": 6, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.257\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.257\n+ 1.258\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json index 1d0cd12a3..0b99503fa 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json @@ -1 +1,170 @@ -{"sha":"2f4ca0f03c1e6188867bddddce12ff213a107d9d","node_id":"MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:21Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:21Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"f8ca916d33ffab1c342e6a92f7fd44dbad1609ec","url":"https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----","payload":"tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d","html_url":"https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d","comments_url":"https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"d922b808068cf95d6f6ab624ce2c7f49d51f5321","url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","html_url":"https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321"}],"stats":{"total":18,"additions":9,"deletions":9},"files":[{"sha":"d5db8c67ff1f81d36f1e827f9167efef73a90e11","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler"},{"sha":"df30de83b3590c884f757b29cbe192ed7448ad9a","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-groovy"},{"sha":"d9d4fe7b1f40a1d7a32fce0d56a8fdfa11e58dac","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jelly"},{"sha":"549ac913ab8d7d5b715e550dbe01d948d3f3794b","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jrebel"},{"sha":"8309e3bea60cdedb5920a821247fe726b2ef9cea","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jruby"},{"sha":"5ce1d053c5c853854188bc7bc99c17e675856d29","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jsp"},{"sha":"72dfbbc2151c03becdedfc6f2ae8ec930c912ced","filename":"pom.xml","status":"modified","additions":3,"deletions":3,"changes":6,"blob_url":"https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.257\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.257\n+ 1.258\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD"}]} \ No newline at end of file +{ + "sha": "2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "f8ca916d33ffab1c342e6a92f7fd44dbad1609ec", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----", + "payload": "tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "html_url": "https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321" + } + ], + "stats": { + "total": 18, + "additions": 9, + "deletions": 9 + }, + "files": [ + { + "sha": "d5db8c67ff1f81d36f1e827f9167efef73a90e11", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler" + }, + { + "sha": "df30de83b3590c884f757b29cbe192ed7448ad9a", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-groovy" + }, + { + "sha": "d9d4fe7b1f40a1d7a32fce0d56a8fdfa11e58dac", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jelly" + }, + { + "sha": "549ac913ab8d7d5b715e550dbe01d948d3f3794b", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jrebel" + }, + { + "sha": "8309e3bea60cdedb5920a821247fe726b2ef9cea", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jruby" + }, + { + "sha": "5ce1d053c5c853854188bc7bc99c17e675856d29", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jsp" + }, + { + "sha": "72dfbbc2151c03becdedfc6f2ae8ec930c912ced", + "filename": "pom.xml", + "status": "modified", + "additions": 3, + "deletions": 3, + "changes": 6, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.257\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.257\n+ 1.258\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json index a879e7a0a..1777270b9 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json @@ -1 +1,122 @@ -{"sha":"4f260c560ec120f4e2c2ed727244690b1f4d5dca","node_id":"MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-18T22:52:29Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-18T22:52:29Z"},"message":"Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.","tree":{"sha":"575f9abb94a915cfc9fb0fdcc681648aade5cd1f","url":"https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca","html_url":"https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca","comments_url":"https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"a019ca42d01dbe7d88f56deade245d7c0366624c","url":"https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c","html_url":"https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c"}],"stats":{"total":154,"additions":152,"deletions":2},"files":[{"sha":"db1d854113d1361cc67d6eba8055554eb1f2e414","filename":".mvn/extensions.xml","status":"added","additions":7,"deletions":0,"changes":7,"blob_url":"https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml","raw_url":"https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca","patch":"@@ -0,0 +1,7 @@\n+\n+ \n+ io.jenkins.tools.incrementals\n+ git-changelist-maven-extension\n+ 1.0-beta-2\n+ \n+"},{"sha":"2a0299c4865d58b47a576f7effc4a15f3fcf4ee9","filename":".mvn/maven.config","status":"added","additions":2,"deletions":0,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config","raw_url":"https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config","contents_url":"https://api.github.com/repos/stapler/stapler/contents/.mvn/maven.config?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca","patch":"@@ -0,0 +1,2 @@\n+-Pconsume-incrementals\n+-Pmight-produce-incrementals"},{"sha":"262410bec1cd8e5c2bb839cf193e8abdf2fc7fbf","filename":"pom.xml","status":"modified","additions":143,"deletions":2,"changes":145,"blob_url":"https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca","patch":"@@ -9,7 +9,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257-SNAPSHOT\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -37,7 +37,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- HEAD\n+ ${scmTag}\n \n \n \n@@ -84,6 +84,10 @@\n \n UTF-8\n 8\n+ 1.257\n+ -SNAPSHOT\n+ https://repo.jenkins-ci.org/incrementals/\n+ HEAD\n \n \n \n@@ -281,4 +285,141 @@\n \n \n \n+\n+ \n+ \n+ \n+ consume-incrementals\n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ might-produce-incrementals\n+ \n+ \n+ \n+ org.codehaus.mojo\n+ flatten-maven-plugin\n+ 1.0.1\n+ \n+ true\n+ \n+ \n+ \n+ flatten\n+ process-resources\n+ \n+ flatten\n+ \n+ \n+ oss\n+ ${project.build.directory}\n+ ${project.artifactId}-${project.version}.pom\n+ \n+ \n+ \n+ \n+ \n+ maven-enforcer-plugin\n+ \n+ \n+ display-info\n+ \n+ \n+ \n+ [3.5.0,)\n+ 3.5.0+ required to use Incrementals.\n+ \n+ \n+ [1.0-beta-4,)\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-enforcer-rules\n+ 1.0-beta-4\n+ \n+ \n+ \n+ \n+ maven-release-plugin\n+ \n+ incrementals:reincrementalify\n+ \n+ \n+ \n+ \n+ \n+ \n+ produce-incrementals\n+ \n+ \n+ set.changelist\n+ true\n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ \n+ \n+ \n+ \n+ \n+ maven-source-plugin\n+ \n+ \n+ attach-sources\n+ \n+ jar-no-fork\n+ \n+ \n+ \n+ attach-test-sources\n+ \n+ test-jar-no-fork\n+ \n+ \n+ ${no-test-jar}\n+ \n+ \n+ \n+ \n+ \n+ maven-javadoc-plugin\n+ \n+ \n+ attach-javadocs\n+ \n+ jar\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n "}]} \ No newline at end of file +{ + "sha": "4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "message": "Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.", + "tree": { + "sha": "575f9abb94a915cfc9fb0fdcc681648aade5cd1f", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "html_url": "https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "a019ca42d01dbe7d88f56deade245d7c0366624c", + "url": "https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c", + "html_url": "https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c" + } + ], + "stats": { + "total": 154, + "additions": 152, + "deletions": 2 + }, + "files": [ + { + "sha": "db1d854113d1361cc67d6eba8055554eb1f2e414", + "filename": ".mvn/extensions.xml", + "status": "added", + "additions": 7, + "deletions": 0, + "changes": 7, + "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml", + "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "patch": "@@ -0,0 +1,7 @@\n+\n+ \n+ io.jenkins.tools.incrementals\n+ git-changelist-maven-extension\n+ 1.0-beta-2\n+ \n+" + }, + { + "sha": "2a0299c4865d58b47a576f7effc4a15f3fcf4ee9", + "filename": ".mvn/maven.config", + "status": "added", + "additions": 2, + "deletions": 0, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config", + "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/maven.config?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "patch": "@@ -0,0 +1,2 @@\n+-Pconsume-incrementals\n+-Pmight-produce-incrementals" + }, + { + "sha": "262410bec1cd8e5c2bb839cf193e8abdf2fc7fbf", + "filename": "pom.xml", + "status": "modified", + "additions": 143, + "deletions": 2, + "changes": 145, + "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "patch": "@@ -9,7 +9,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257-SNAPSHOT\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -37,7 +37,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- HEAD\n+ ${scmTag}\n \n \n \n@@ -84,6 +84,10 @@\n \n UTF-8\n 8\n+ 1.257\n+ -SNAPSHOT\n+ https://repo.jenkins-ci.org/incrementals/\n+ HEAD\n \n \n \n@@ -281,4 +285,141 @@\n \n \n \n+\n+ \n+ \n+ \n+ consume-incrementals\n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ might-produce-incrementals\n+ \n+ \n+ \n+ org.codehaus.mojo\n+ flatten-maven-plugin\n+ 1.0.1\n+ \n+ true\n+ \n+ \n+ \n+ flatten\n+ process-resources\n+ \n+ flatten\n+ \n+ \n+ oss\n+ ${project.build.directory}\n+ ${project.artifactId}-${project.version}.pom\n+ \n+ \n+ \n+ \n+ \n+ maven-enforcer-plugin\n+ \n+ \n+ display-info\n+ \n+ \n+ \n+ [3.5.0,)\n+ 3.5.0+ required to use Incrementals.\n+ \n+ \n+ [1.0-beta-4,)\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-enforcer-rules\n+ 1.0-beta-4\n+ \n+ \n+ \n+ \n+ maven-release-plugin\n+ \n+ incrementals:reincrementalify\n+ \n+ \n+ \n+ \n+ \n+ \n+ produce-incrementals\n+ \n+ \n+ set.changelist\n+ true\n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ \n+ \n+ \n+ \n+ \n+ maven-source-plugin\n+ \n+ \n+ attach-sources\n+ \n+ jar-no-fork\n+ \n+ \n+ \n+ attach-test-sources\n+ \n+ test-jar-no-fork\n+ \n+ \n+ ${no-test-jar}\n+ \n+ \n+ \n+ \n+ \n+ maven-javadoc-plugin\n+ \n+ \n+ attach-javadocs\n+ \n+ jar\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json index a879e7a0a..1777270b9 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json @@ -1 +1,122 @@ -{"sha":"4f260c560ec120f4e2c2ed727244690b1f4d5dca","node_id":"MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-18T22:52:29Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-18T22:52:29Z"},"message":"Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.","tree":{"sha":"575f9abb94a915cfc9fb0fdcc681648aade5cd1f","url":"https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca","html_url":"https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca","comments_url":"https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"a019ca42d01dbe7d88f56deade245d7c0366624c","url":"https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c","html_url":"https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c"}],"stats":{"total":154,"additions":152,"deletions":2},"files":[{"sha":"db1d854113d1361cc67d6eba8055554eb1f2e414","filename":".mvn/extensions.xml","status":"added","additions":7,"deletions":0,"changes":7,"blob_url":"https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml","raw_url":"https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca","patch":"@@ -0,0 +1,7 @@\n+\n+ \n+ io.jenkins.tools.incrementals\n+ git-changelist-maven-extension\n+ 1.0-beta-2\n+ \n+"},{"sha":"2a0299c4865d58b47a576f7effc4a15f3fcf4ee9","filename":".mvn/maven.config","status":"added","additions":2,"deletions":0,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config","raw_url":"https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config","contents_url":"https://api.github.com/repos/stapler/stapler/contents/.mvn/maven.config?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca","patch":"@@ -0,0 +1,2 @@\n+-Pconsume-incrementals\n+-Pmight-produce-incrementals"},{"sha":"262410bec1cd8e5c2bb839cf193e8abdf2fc7fbf","filename":"pom.xml","status":"modified","additions":143,"deletions":2,"changes":145,"blob_url":"https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca","patch":"@@ -9,7 +9,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257-SNAPSHOT\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -37,7 +37,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- HEAD\n+ ${scmTag}\n \n \n \n@@ -84,6 +84,10 @@\n \n UTF-8\n 8\n+ 1.257\n+ -SNAPSHOT\n+ https://repo.jenkins-ci.org/incrementals/\n+ HEAD\n \n \n \n@@ -281,4 +285,141 @@\n \n \n \n+\n+ \n+ \n+ \n+ consume-incrementals\n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ might-produce-incrementals\n+ \n+ \n+ \n+ org.codehaus.mojo\n+ flatten-maven-plugin\n+ 1.0.1\n+ \n+ true\n+ \n+ \n+ \n+ flatten\n+ process-resources\n+ \n+ flatten\n+ \n+ \n+ oss\n+ ${project.build.directory}\n+ ${project.artifactId}-${project.version}.pom\n+ \n+ \n+ \n+ \n+ \n+ maven-enforcer-plugin\n+ \n+ \n+ display-info\n+ \n+ \n+ \n+ [3.5.0,)\n+ 3.5.0+ required to use Incrementals.\n+ \n+ \n+ [1.0-beta-4,)\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-enforcer-rules\n+ 1.0-beta-4\n+ \n+ \n+ \n+ \n+ maven-release-plugin\n+ \n+ incrementals:reincrementalify\n+ \n+ \n+ \n+ \n+ \n+ \n+ produce-incrementals\n+ \n+ \n+ set.changelist\n+ true\n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ \n+ \n+ \n+ \n+ \n+ maven-source-plugin\n+ \n+ \n+ attach-sources\n+ \n+ jar-no-fork\n+ \n+ \n+ \n+ attach-test-sources\n+ \n+ test-jar-no-fork\n+ \n+ \n+ ${no-test-jar}\n+ \n+ \n+ \n+ \n+ \n+ maven-javadoc-plugin\n+ \n+ \n+ attach-javadocs\n+ \n+ jar\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n "}]} \ No newline at end of file +{ + "sha": "4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "message": "Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.", + "tree": { + "sha": "575f9abb94a915cfc9fb0fdcc681648aade5cd1f", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "html_url": "https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "a019ca42d01dbe7d88f56deade245d7c0366624c", + "url": "https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c", + "html_url": "https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c" + } + ], + "stats": { + "total": 154, + "additions": 152, + "deletions": 2 + }, + "files": [ + { + "sha": "db1d854113d1361cc67d6eba8055554eb1f2e414", + "filename": ".mvn/extensions.xml", + "status": "added", + "additions": 7, + "deletions": 0, + "changes": 7, + "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml", + "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "patch": "@@ -0,0 +1,7 @@\n+\n+ \n+ io.jenkins.tools.incrementals\n+ git-changelist-maven-extension\n+ 1.0-beta-2\n+ \n+" + }, + { + "sha": "2a0299c4865d58b47a576f7effc4a15f3fcf4ee9", + "filename": ".mvn/maven.config", + "status": "added", + "additions": 2, + "deletions": 0, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config", + "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/maven.config?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "patch": "@@ -0,0 +1,2 @@\n+-Pconsume-incrementals\n+-Pmight-produce-incrementals" + }, + { + "sha": "262410bec1cd8e5c2bb839cf193e8abdf2fc7fbf", + "filename": "pom.xml", + "status": "modified", + "additions": 143, + "deletions": 2, + "changes": 145, + "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "patch": "@@ -9,7 +9,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257-SNAPSHOT\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -37,7 +37,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- HEAD\n+ ${scmTag}\n \n \n \n@@ -84,6 +84,10 @@\n \n UTF-8\n 8\n+ 1.257\n+ -SNAPSHOT\n+ https://repo.jenkins-ci.org/incrementals/\n+ HEAD\n \n \n \n@@ -281,4 +285,141 @@\n \n \n \n+\n+ \n+ \n+ \n+ consume-incrementals\n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ false\n+ \n+ \n+ \n+ \n+ \n+ might-produce-incrementals\n+ \n+ \n+ \n+ org.codehaus.mojo\n+ flatten-maven-plugin\n+ 1.0.1\n+ \n+ true\n+ \n+ \n+ \n+ flatten\n+ process-resources\n+ \n+ flatten\n+ \n+ \n+ oss\n+ ${project.build.directory}\n+ ${project.artifactId}-${project.version}.pom\n+ \n+ \n+ \n+ \n+ \n+ maven-enforcer-plugin\n+ \n+ \n+ display-info\n+ \n+ \n+ \n+ [3.5.0,)\n+ 3.5.0+ required to use Incrementals.\n+ \n+ \n+ [1.0-beta-4,)\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-enforcer-rules\n+ 1.0-beta-4\n+ \n+ \n+ \n+ \n+ maven-release-plugin\n+ \n+ incrementals:reincrementalify\n+ \n+ \n+ \n+ \n+ \n+ \n+ produce-incrementals\n+ \n+ \n+ set.changelist\n+ true\n+ \n+ \n+ \n+ \n+ incrementals\n+ ${incrementals.url}\n+ \n+ \n+ \n+ \n+ \n+ \n+ maven-source-plugin\n+ \n+ \n+ attach-sources\n+ \n+ jar-no-fork\n+ \n+ \n+ \n+ attach-test-sources\n+ \n+ test-jar-no-fork\n+ \n+ \n+ ${no-test-jar}\n+ \n+ \n+ \n+ \n+ \n+ maven-javadoc-plugin\n+ \n+ \n+ attach-javadocs\n+ \n+ jar\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json index 296eda5df..af12d8f85 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json @@ -1 +1,98 @@ -{"sha":"53ce34d7d89c5172ae4f4f3167e35852b1910b59","node_id":"MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-03T19:03:54Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-03T19:03:54Z"},"message":"Miscellaneous POM updates while I am here.","tree":{"sha":"996a8d951dc95bc002ee4703865f45594418902e","url":"https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----","payload":"tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59","html_url":"https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59","comments_url":"https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"0e294ea94617a0926bd583dfe41515f4afb881e7","url":"https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7","html_url":"https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7"}],"stats":{"total":7,"additions":2,"deletions":5},"files":[{"sha":"2c12ec3f8c2d8b52772784b939ccea49b1fa904d","filename":"pom.xml","status":"modified","additions":2,"deletions":5,"changes":7,"blob_url":"https://github.com/stapler/stapler/blob/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=53ce34d7d89c5172ae4f4f3167e35852b1910b59","patch":"@@ -4,7 +4,8 @@\n \n org.kohsuke\n pom\n- 19\n+ 21\n+ \n \n org.kohsuke.stapler\n stapler-parent\n@@ -40,10 +41,6 @@\n ${scmTag}\n \n \n- \n- 3.0.4\n- \n-\n \n \n maven.jenkins-ci.org"}]} \ No newline at end of file +{ + "sha": "53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "message": "Miscellaneous POM updates while I am here.", + "tree": { + "sha": "996a8d951dc95bc002ee4703865f45594418902e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----", + "payload": "tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "html_url": "https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "0e294ea94617a0926bd583dfe41515f4afb881e7", + "url": "https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7", + "html_url": "https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7" + } + ], + "stats": { + "total": 7, + "additions": 2, + "deletions": 5 + }, + "files": [ + { + "sha": "2c12ec3f8c2d8b52772784b939ccea49b1fa904d", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 5, + "changes": 7, + "blob_url": "https://github.com/stapler/stapler/blob/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "patch": "@@ -4,7 +4,8 @@\n \n org.kohsuke\n pom\n- 19\n+ 21\n+ \n \n org.kohsuke.stapler\n stapler-parent\n@@ -40,10 +41,6 @@\n ${scmTag}\n \n \n- \n- 3.0.4\n- \n-\n \n \n maven.jenkins-ci.org" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json index 296eda5df..af12d8f85 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json @@ -1 +1,98 @@ -{"sha":"53ce34d7d89c5172ae4f4f3167e35852b1910b59","node_id":"MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-03T19:03:54Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-03T19:03:54Z"},"message":"Miscellaneous POM updates while I am here.","tree":{"sha":"996a8d951dc95bc002ee4703865f45594418902e","url":"https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----","payload":"tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59","html_url":"https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59","comments_url":"https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"0e294ea94617a0926bd583dfe41515f4afb881e7","url":"https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7","html_url":"https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7"}],"stats":{"total":7,"additions":2,"deletions":5},"files":[{"sha":"2c12ec3f8c2d8b52772784b939ccea49b1fa904d","filename":"pom.xml","status":"modified","additions":2,"deletions":5,"changes":7,"blob_url":"https://github.com/stapler/stapler/blob/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=53ce34d7d89c5172ae4f4f3167e35852b1910b59","patch":"@@ -4,7 +4,8 @@\n \n org.kohsuke\n pom\n- 19\n+ 21\n+ \n \n org.kohsuke.stapler\n stapler-parent\n@@ -40,10 +41,6 @@\n ${scmTag}\n \n \n- \n- 3.0.4\n- \n-\n \n \n maven.jenkins-ci.org"}]} \ No newline at end of file +{ + "sha": "53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "message": "Miscellaneous POM updates while I am here.", + "tree": { + "sha": "996a8d951dc95bc002ee4703865f45594418902e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----", + "payload": "tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "html_url": "https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "0e294ea94617a0926bd583dfe41515f4afb881e7", + "url": "https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7", + "html_url": "https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7" + } + ], + "stats": { + "total": 7, + "additions": 2, + "deletions": 5 + }, + "files": [ + { + "sha": "2c12ec3f8c2d8b52772784b939ccea49b1fa904d", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 5, + "changes": 7, + "blob_url": "https://github.com/stapler/stapler/blob/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "patch": "@@ -4,7 +4,8 @@\n \n org.kohsuke\n pom\n- 19\n+ 21\n+ \n \n org.kohsuke.stapler\n stapler-parent\n@@ -40,10 +41,6 @@\n ${scmTag}\n \n \n- \n- 3.0.4\n- \n-\n \n \n maven.jenkins-ci.org" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json index a53f4eb41..cd1ba6e40 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json @@ -1 +1,170 @@ -{"sha":"6a243869aa3c3f80579102d00848a0083953d654","node_id":"MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:42Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:42Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.258","tree":{"sha":"61eb4efc23a5899681e45c581290617c98856e26","url":"https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----","payload":"tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654","html_url":"https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654","comments_url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"3d3d6f01c553724350a6763d9b726fc3db268ccf","url":"https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf","html_url":"https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf"}],"stats":{"total":16,"additions":8,"deletions":8},"files":[{"sha":"3db06058b622f33fffbcf05fa3a4278ebb25aeca","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler"},{"sha":"90f2de8c4bd577de291ebd69279b8ad6d543bcda","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-groovy"},{"sha":"828321e36a571d4572cc4ef64a8be1126f1a2468","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jelly"},{"sha":"d67b6481ffc873ddc9ae4bb765003752c44cd7fb","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jrebel"},{"sha":"0880c54411fab4d2ecc7cac972c9c0eb65bea007","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jruby"},{"sha":"95656583899744b7e58777f16a460f608ad16bcc","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jsp"},{"sha":"c6a16143c825686ffcb52b107e4f81912be47310","filename":"pom.xml","status":"modified","additions":2,"deletions":2,"changes":4,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.258\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.258\n \n \n "}]} \ No newline at end of file +{ + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.258", + "tree": { + "sha": "61eb4efc23a5899681e45c581290617c98856e26", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----", + "payload": "tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "3d3d6f01c553724350a6763d9b726fc3db268ccf", + "url": "https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf", + "html_url": "https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf" + } + ], + "stats": { + "total": 16, + "additions": 8, + "deletions": 8 + }, + "files": [ + { + "sha": "3db06058b622f33fffbcf05fa3a4278ebb25aeca", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler" + }, + { + "sha": "90f2de8c4bd577de291ebd69279b8ad6d543bcda", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-groovy" + }, + { + "sha": "828321e36a571d4572cc4ef64a8be1126f1a2468", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jelly" + }, + { + "sha": "d67b6481ffc873ddc9ae4bb765003752c44cd7fb", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jrebel" + }, + { + "sha": "0880c54411fab4d2ecc7cac972c9c0eb65bea007", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jruby" + }, + { + "sha": "95656583899744b7e58777f16a460f608ad16bcc", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jsp" + }, + { + "sha": "c6a16143c825686ffcb52b107e4f81912be47310", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 2, + "changes": 4, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.258\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.258\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json index a53f4eb41..cd1ba6e40 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json @@ -1 +1,170 @@ -{"sha":"6a243869aa3c3f80579102d00848a0083953d654","node_id":"MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:42Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:42Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.258","tree":{"sha":"61eb4efc23a5899681e45c581290617c98856e26","url":"https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----","payload":"tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654","html_url":"https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654","comments_url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"3d3d6f01c553724350a6763d9b726fc3db268ccf","url":"https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf","html_url":"https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf"}],"stats":{"total":16,"additions":8,"deletions":8},"files":[{"sha":"3db06058b622f33fffbcf05fa3a4278ebb25aeca","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler"},{"sha":"90f2de8c4bd577de291ebd69279b8ad6d543bcda","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-groovy"},{"sha":"828321e36a571d4572cc4ef64a8be1126f1a2468","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jelly"},{"sha":"d67b6481ffc873ddc9ae4bb765003752c44cd7fb","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jrebel"},{"sha":"0880c54411fab4d2ecc7cac972c9c0eb65bea007","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jruby"},{"sha":"95656583899744b7e58777f16a460f608ad16bcc","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jsp"},{"sha":"c6a16143c825686ffcb52b107e4f81912be47310","filename":"pom.xml","status":"modified","additions":2,"deletions":2,"changes":4,"blob_url":"https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.258\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.258\n \n \n "}]} \ No newline at end of file +{ + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.258", + "tree": { + "sha": "61eb4efc23a5899681e45c581290617c98856e26", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----", + "payload": "tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "3d3d6f01c553724350a6763d9b726fc3db268ccf", + "url": "https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf", + "html_url": "https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf" + } + ], + "stats": { + "total": 16, + "additions": 8, + "deletions": 8 + }, + "files": [ + { + "sha": "3db06058b622f33fffbcf05fa3a4278ebb25aeca", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler" + }, + { + "sha": "90f2de8c4bd577de291ebd69279b8ad6d543bcda", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-groovy" + }, + { + "sha": "828321e36a571d4572cc4ef64a8be1126f1a2468", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jelly" + }, + { + "sha": "d67b6481ffc873ddc9ae4bb765003752c44cd7fb", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jrebel" + }, + { + "sha": "0880c54411fab4d2ecc7cac972c9c0eb65bea007", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jruby" + }, + { + "sha": "95656583899744b7e58777f16a460f608ad16bcc", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jsp" + }, + { + "sha": "c6a16143c825686ffcb52b107e4f81912be47310", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 2, + "changes": 4, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.258\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.258\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json index 73af4917f..8da3c95df 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json @@ -1 +1,110 @@ -{"sha":"72343298733508cced8dcb8eb43594bcc6130b26","node_id":"MDY6Q29tbWl0MTU0ODUxNDo3MjM0MzI5ODczMzUwOGNjZWQ4ZGNiOGViNDM1OTRiY2M2MTMwYjI2","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-19T21:27:25Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-19T21:27:25Z"},"message":"Update to latest versions.","tree":{"sha":"e1299f37e2ce97636d923a5631265279a5377b6d","url":"https://api.github.com/repos/stapler/stapler/git/trees/e1299f37e2ce97636d923a5631265279a5377b6d"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/72343298733508cced8dcb8eb43594bcc6130b26","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26","html_url":"https://github.com/stapler/stapler/commit/72343298733508cced8dcb8eb43594bcc6130b26","comments_url":"https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"def3808ecd41583818aef3b35675756f00a45bbe","url":"https://api.github.com/repos/stapler/stapler/commits/def3808ecd41583818aef3b35675756f00a45bbe","html_url":"https://github.com/stapler/stapler/commit/def3808ecd41583818aef3b35675756f00a45bbe"}],"stats":{"total":4,"additions":2,"deletions":2},"files":[{"sha":"94863e605b263eac4033a58ae826865663ac844a","filename":".mvn/extensions.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml","raw_url":"https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26","patch":"@@ -2,6 +2,6 @@\n \n io.jenkins.tools.incrementals\n git-changelist-maven-extension\n- 1.0-beta-2\n+ 1.0-beta-7\n \n "},{"sha":"4976b0e34415ab2138ee63db72b1f374517bb2fd","filename":"pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26","patch":"@@ -357,7 +357,7 @@\n \n io.jenkins.tools.incrementals\n incrementals-enforcer-rules\n- 1.0-beta-4\n+ 1.0-beta-5\n \n \n "}]} \ No newline at end of file +{ + "sha": "72343298733508cced8dcb8eb43594bcc6130b26", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3MjM0MzI5ODczMzUwOGNjZWQ4ZGNiOGViNDM1OTRiY2M2MTMwYjI2", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "message": "Update to latest versions.", + "tree": { + "sha": "e1299f37e2ce97636d923a5631265279a5377b6d", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e1299f37e2ce97636d923a5631265279a5377b6d" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "html_url": "https://github.com/stapler/stapler/commit/72343298733508cced8dcb8eb43594bcc6130b26", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "def3808ecd41583818aef3b35675756f00a45bbe", + "url": "https://api.github.com/repos/stapler/stapler/commits/def3808ecd41583818aef3b35675756f00a45bbe", + "html_url": "https://github.com/stapler/stapler/commit/def3808ecd41583818aef3b35675756f00a45bbe" + } + ], + "stats": { + "total": 4, + "additions": 2, + "deletions": 2 + }, + "files": [ + { + "sha": "94863e605b263eac4033a58ae826865663ac844a", + "filename": ".mvn/extensions.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml", + "raw_url": "https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26", + "patch": "@@ -2,6 +2,6 @@\n \n io.jenkins.tools.incrementals\n git-changelist-maven-extension\n- 1.0-beta-2\n+ 1.0-beta-7\n \n " + }, + { + "sha": "4976b0e34415ab2138ee63db72b1f374517bb2fd", + "filename": "pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26", + "patch": "@@ -357,7 +357,7 @@\n \n io.jenkins.tools.incrementals\n incrementals-enforcer-rules\n- 1.0-beta-4\n+ 1.0-beta-5\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json index 73af4917f..8da3c95df 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json @@ -1 +1,110 @@ -{"sha":"72343298733508cced8dcb8eb43594bcc6130b26","node_id":"MDY6Q29tbWl0MTU0ODUxNDo3MjM0MzI5ODczMzUwOGNjZWQ4ZGNiOGViNDM1OTRiY2M2MTMwYjI2","commit":{"author":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-19T21:27:25Z"},"committer":{"name":"Jeff Thompson","email":"jeffret.g@gmail.com","date":"2019-02-19T21:27:25Z"},"message":"Update to latest versions.","tree":{"sha":"e1299f37e2ce97636d923a5631265279a5377b6d","url":"https://api.github.com/repos/stapler/stapler/git/trees/e1299f37e2ce97636d923a5631265279a5377b6d"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/72343298733508cced8dcb8eb43594bcc6130b26","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26","html_url":"https://github.com/stapler/stapler/commit/72343298733508cced8dcb8eb43594bcc6130b26","comments_url":"https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26/comments","author":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"committer":{"login":"jeffret-b","id":37345299,"node_id":"MDQ6VXNlcjM3MzQ1Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/37345299?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffret-b","html_url":"https://github.com/jeffret-b","followers_url":"https://api.github.com/users/jeffret-b/followers","following_url":"https://api.github.com/users/jeffret-b/following{/other_user}","gists_url":"https://api.github.com/users/jeffret-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffret-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffret-b/subscriptions","organizations_url":"https://api.github.com/users/jeffret-b/orgs","repos_url":"https://api.github.com/users/jeffret-b/repos","events_url":"https://api.github.com/users/jeffret-b/events{/privacy}","received_events_url":"https://api.github.com/users/jeffret-b/received_events","type":"User","site_admin":false},"parents":[{"sha":"def3808ecd41583818aef3b35675756f00a45bbe","url":"https://api.github.com/repos/stapler/stapler/commits/def3808ecd41583818aef3b35675756f00a45bbe","html_url":"https://github.com/stapler/stapler/commit/def3808ecd41583818aef3b35675756f00a45bbe"}],"stats":{"total":4,"additions":2,"deletions":2},"files":[{"sha":"94863e605b263eac4033a58ae826865663ac844a","filename":".mvn/extensions.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml","raw_url":"https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26","patch":"@@ -2,6 +2,6 @@\n \n io.jenkins.tools.incrementals\n git-changelist-maven-extension\n- 1.0-beta-2\n+ 1.0-beta-7\n \n "},{"sha":"4976b0e34415ab2138ee63db72b1f374517bb2fd","filename":"pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26","patch":"@@ -357,7 +357,7 @@\n \n io.jenkins.tools.incrementals\n incrementals-enforcer-rules\n- 1.0-beta-4\n+ 1.0-beta-5\n \n \n "}]} \ No newline at end of file +{ + "sha": "72343298733508cced8dcb8eb43594bcc6130b26", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3MjM0MzI5ODczMzUwOGNjZWQ4ZGNiOGViNDM1OTRiY2M2MTMwYjI2", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "message": "Update to latest versions.", + "tree": { + "sha": "e1299f37e2ce97636d923a5631265279a5377b6d", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e1299f37e2ce97636d923a5631265279a5377b6d" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "html_url": "https://github.com/stapler/stapler/commit/72343298733508cced8dcb8eb43594bcc6130b26", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "def3808ecd41583818aef3b35675756f00a45bbe", + "url": "https://api.github.com/repos/stapler/stapler/commits/def3808ecd41583818aef3b35675756f00a45bbe", + "html_url": "https://github.com/stapler/stapler/commit/def3808ecd41583818aef3b35675756f00a45bbe" + } + ], + "stats": { + "total": 4, + "additions": 2, + "deletions": 2 + }, + "files": [ + { + "sha": "94863e605b263eac4033a58ae826865663ac844a", + "filename": ".mvn/extensions.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml", + "raw_url": "https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/.mvn/extensions.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26", + "patch": "@@ -2,6 +2,6 @@\n \n io.jenkins.tools.incrementals\n git-changelist-maven-extension\n- 1.0-beta-2\n+ 1.0-beta-7\n \n " + }, + { + "sha": "4976b0e34415ab2138ee63db72b1f374517bb2fd", + "filename": "pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/72343298733508cced8dcb8eb43594bcc6130b26/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=72343298733508cced8dcb8eb43594bcc6130b26", + "patch": "@@ -357,7 +357,7 @@\n \n io.jenkins.tools.incrementals\n incrementals-enforcer-rules\n- 1.0-beta-4\n+ 1.0-beta-5\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json index 82f7fb065..94257479a 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json @@ -1 +1,170 @@ -{"sha":"950acbd60ed4289520dcd2a395e5d77f181e1cff","node_id":"MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:53Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:53Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8","url":"https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----","payload":"tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff","html_url":"https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff","comments_url":"https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"6a243869aa3c3f80579102d00848a0083953d654","url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654","html_url":"https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654"}],"stats":{"total":18,"additions":9,"deletions":9},"files":[{"sha":"d5db8c67ff1f81d36f1e827f9167efef73a90e11","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler"},{"sha":"df30de83b3590c884f757b29cbe192ed7448ad9a","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-groovy"},{"sha":"04a2e597ea9a15b153da5c17e92a0e8df44ec31a","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jelly"},{"sha":"5fa54083143c6b88b5a51ac31b470ab312a879c1","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jrebel"},{"sha":"8309e3bea60cdedb5920a821247fe726b2ef9cea","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jruby"},{"sha":"5ce1d053c5c853854188bc7bc99c17e675856d29","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jsp"},{"sha":"a5d53737cfb81a8cd139b084a7f196452c120ffa","filename":"pom.xml","status":"modified","additions":3,"deletions":3,"changes":6,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.258\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.258\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.258\n+ 1.259\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD"}]} \ No newline at end of file +{ + "sha": "950acbd60ed4289520dcd2a395e5d77f181e1cff", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----", + "payload": "tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "html_url": "https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654" + } + ], + "stats": { + "total": 18, + "additions": 9, + "deletions": 9 + }, + "files": [ + { + "sha": "d5db8c67ff1f81d36f1e827f9167efef73a90e11", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler" + }, + { + "sha": "df30de83b3590c884f757b29cbe192ed7448ad9a", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-groovy" + }, + { + "sha": "04a2e597ea9a15b153da5c17e92a0e8df44ec31a", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jelly" + }, + { + "sha": "5fa54083143c6b88b5a51ac31b470ab312a879c1", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jrebel" + }, + { + "sha": "8309e3bea60cdedb5920a821247fe726b2ef9cea", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jruby" + }, + { + "sha": "5ce1d053c5c853854188bc7bc99c17e675856d29", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jsp" + }, + { + "sha": "a5d53737cfb81a8cd139b084a7f196452c120ffa", + "filename": "pom.xml", + "status": "modified", + "additions": 3, + "deletions": 3, + "changes": 6, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.258\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.258\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.258\n+ 1.259\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json index 82f7fb065..94257479a 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json @@ -1 +1,170 @@ -{"sha":"950acbd60ed4289520dcd2a395e5d77f181e1cff","node_id":"MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:53Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-08-19T18:38:53Z"},"message":"[maven-release-plugin] prepare for next development iteration","tree":{"sha":"cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8","url":"https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----","payload":"tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff","html_url":"https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff","comments_url":"https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"6a243869aa3c3f80579102d00848a0083953d654","url":"https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654","html_url":"https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654"}],"stats":{"total":18,"additions":9,"deletions":9},"files":[{"sha":"d5db8c67ff1f81d36f1e827f9167efef73a90e11","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler"},{"sha":"df30de83b3590c884f757b29cbe192ed7448ad9a","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-groovy"},{"sha":"04a2e597ea9a15b153da5c17e92a0e8df44ec31a","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jelly"},{"sha":"5fa54083143c6b88b5a51ac31b470ab312a879c1","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jrebel"},{"sha":"8309e3bea60cdedb5920a821247fe726b2ef9cea","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jruby"},{"sha":"5ce1d053c5c853854188bc7bc99c17e675856d29","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jsp"},{"sha":"a5d53737cfb81a8cd139b084a7f196452c120ffa","filename":"pom.xml","status":"modified","additions":3,"deletions":3,"changes":6,"blob_url":"https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.258\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.258\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.258\n+ 1.259\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD"}]} \ No newline at end of file +{ + "sha": "950acbd60ed4289520dcd2a395e5d77f181e1cff", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----", + "payload": "tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "html_url": "https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654" + } + ], + "stats": { + "total": 18, + "additions": 9, + "deletions": 9 + }, + "files": [ + { + "sha": "d5db8c67ff1f81d36f1e827f9167efef73a90e11", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler" + }, + { + "sha": "df30de83b3590c884f757b29cbe192ed7448ad9a", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-groovy" + }, + { + "sha": "04a2e597ea9a15b153da5c17e92a0e8df44ec31a", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jelly" + }, + { + "sha": "5fa54083143c6b88b5a51ac31b470ab312a879c1", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jrebel" + }, + { + "sha": "8309e3bea60cdedb5920a821247fe726b2ef9cea", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jruby" + }, + { + "sha": "5ce1d053c5c853854188bc7bc99c17e675856d29", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jsp" + }, + { + "sha": "a5d53737cfb81a8cd139b084a7f196452c120ffa", + "filename": "pom.xml", + "status": "modified", + "additions": 3, + "deletions": 3, + "changes": 6, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.258\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.258\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.258\n+ 1.259\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json index 0ba02c648..31a2f5ac3 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json @@ -1 +1,170 @@ -{"sha":"d922b808068cf95d6f6ab624ce2c7f49d51f5321","node_id":"MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:11Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:11Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.257","tree":{"sha":"86a648b84700a80e22f089252cea0d70e61857bf","url":"https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----","payload":"tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","html_url":"https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321","comments_url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"efe737fa365a0187e052bc81391efbd84847a1b0","url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0","html_url":"https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0"}],"stats":{"total":16,"additions":8,"deletions":8},"files":[{"sha":"286ca8dd7b8018f3140674710f7473523393782e","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler"},{"sha":"1a4475dd35726dbba416e63d994736cbe1c7ab99","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-groovy"},{"sha":"8146cea2347fdadeca07bcc73e023ca92486b063","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jelly"},{"sha":"51b4ec42334a4fba9da46acea3f4fb17685d8019","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jrebel"},{"sha":"a9320b466ffd0c35dbf5dcfb04ce21d120676ef2","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jruby"},{"sha":"5782199c8726ec8938a63630cef1deb7336b3e41","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jsp"},{"sha":"bb9539f22936ea88efd4e73c080370957210f56b","filename":"pom.xml","status":"modified","additions":2,"deletions":2,"changes":4,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.257\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.257\n \n \n "}]} \ No newline at end of file +{ + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.257", + "tree": { + "sha": "86a648b84700a80e22f089252cea0d70e61857bf", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----", + "payload": "tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0" + } + ], + "stats": { + "total": 16, + "additions": 8, + "deletions": 8 + }, + "files": [ + { + "sha": "286ca8dd7b8018f3140674710f7473523393782e", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler" + }, + { + "sha": "1a4475dd35726dbba416e63d994736cbe1c7ab99", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-groovy" + }, + { + "sha": "8146cea2347fdadeca07bcc73e023ca92486b063", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jelly" + }, + { + "sha": "51b4ec42334a4fba9da46acea3f4fb17685d8019", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jrebel" + }, + { + "sha": "a9320b466ffd0c35dbf5dcfb04ce21d120676ef2", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jruby" + }, + { + "sha": "5782199c8726ec8938a63630cef1deb7336b3e41", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jsp" + }, + { + "sha": "bb9539f22936ea88efd4e73c080370957210f56b", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 2, + "changes": 4, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.257\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.257\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json index 0ba02c648..31a2f5ac3 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json @@ -1 +1,170 @@ -{"sha":"d922b808068cf95d6f6ab624ce2c7f49d51f5321","node_id":"MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:11Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:19:11Z"},"message":"[maven-release-plugin] prepare release stapler-parent-1.257","tree":{"sha":"86a648b84700a80e22f089252cea0d70e61857bf","url":"https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----","payload":"tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321","html_url":"https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321","comments_url":"https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"efe737fa365a0187e052bc81391efbd84847a1b0","url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0","html_url":"https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0"}],"stats":{"total":16,"additions":8,"deletions":8},"files":[{"sha":"286ca8dd7b8018f3140674710f7473523393782e","filename":"core/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler"},{"sha":"1a4475dd35726dbba416e63d994736cbe1c7ab99","filename":"groovy/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-groovy"},{"sha":"8146cea2347fdadeca07bcc73e023ca92486b063","filename":"jelly/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jelly"},{"sha":"51b4ec42334a4fba9da46acea3f4fb17685d8019","filename":"jrebel/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jrebel"},{"sha":"a9320b466ffd0c35dbf5dcfb04ce21d120676ef2","filename":"jruby/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jruby"},{"sha":"5782199c8726ec8938a63630cef1deb7336b3e41","filename":"jsp/pom.xml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jsp"},{"sha":"bb9539f22936ea88efd4e73c080370957210f56b","filename":"pom.xml","status":"modified","additions":2,"deletions":2,"changes":4,"blob_url":"https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321","patch":"@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.257\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.257\n \n \n "}]} \ No newline at end of file +{ + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.257", + "tree": { + "sha": "86a648b84700a80e22f089252cea0d70e61857bf", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----", + "payload": "tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0" + } + ], + "stats": { + "total": 16, + "additions": 8, + "deletions": 8 + }, + "files": [ + { + "sha": "286ca8dd7b8018f3140674710f7473523393782e", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler" + }, + { + "sha": "1a4475dd35726dbba416e63d994736cbe1c7ab99", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-groovy" + }, + { + "sha": "8146cea2347fdadeca07bcc73e023ca92486b063", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jelly" + }, + { + "sha": "51b4ec42334a4fba9da46acea3f4fb17685d8019", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jrebel" + }, + { + "sha": "a9320b466ffd0c35dbf5dcfb04ce21d120676ef2", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jruby" + }, + { + "sha": "5782199c8726ec8938a63630cef1deb7336b3e41", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jsp" + }, + { + "sha": "bb9539f22936ea88efd4e73c080370957210f56b", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 2, + "changes": 4, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.257\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.257\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json index dd7dca00a..22efaee73 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json @@ -1 +1,98 @@ -{"sha":"efe737fa365a0187e052bc81391efbd84847a1b0","node_id":"MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:17:55Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:17:55Z"},"message":"#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.","tree":{"sha":"109f198441d6524d99e237ac863e28e80ad77e59","url":"https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----","payload":"tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0","html_url":"https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0","comments_url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"08b13de864bc134fd790decd4f20db9074c7685f","url":"https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f","html_url":"https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f"}],"stats":{"total":9,"additions":9,"deletions":0},"files":[{"sha":"879f7cfd81594702efa34611f52b94c795230436","filename":"pom.xml","status":"modified","additions":9,"deletions":0,"changes":9,"blob_url":"https://github.com/stapler/stapler/blob/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=efe737fa365a0187e052bc81391efbd84847a1b0","patch":"@@ -206,6 +206,15 @@\n -Djdk.net.URLClassPath.disableClassPathURLCheck=true\n \n \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-maven-plugin\n+ 1.0-beta-7\n+ \n+ false\n+ false\n+ \n+ \n \n \n "}]} \ No newline at end of file +{ + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "message": "#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.", + "tree": { + "sha": "109f198441d6524d99e237ac863e28e80ad77e59", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----", + "payload": "tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "08b13de864bc134fd790decd4f20db9074c7685f", + "url": "https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f", + "html_url": "https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f" + } + ], + "stats": { + "total": 9, + "additions": 9, + "deletions": 0 + }, + "files": [ + { + "sha": "879f7cfd81594702efa34611f52b94c795230436", + "filename": "pom.xml", + "status": "modified", + "additions": 9, + "deletions": 0, + "changes": 9, + "blob_url": "https://github.com/stapler/stapler/blob/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=efe737fa365a0187e052bc81391efbd84847a1b0", + "patch": "@@ -206,6 +206,15 @@\n -Djdk.net.URLClassPath.disableClassPathURLCheck=true\n \n \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-maven-plugin\n+ 1.0-beta-7\n+ \n+ false\n+ false\n+ \n+ \n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json index dd7dca00a..22efaee73 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json @@ -1 +1,98 @@ -{"sha":"efe737fa365a0187e052bc81391efbd84847a1b0","node_id":"MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw","commit":{"author":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:17:55Z"},"committer":{"name":"Jesse Glick","email":"jglick@cloudbees.com","date":"2019-04-08T14:17:55Z"},"message":"#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.","tree":{"sha":"109f198441d6524d99e237ac863e28e80ad77e59","url":"https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59"},"url":"https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----","payload":"tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n"}},"url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0","html_url":"https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0","comments_url":"https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments","author":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"committer":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"parents":[{"sha":"08b13de864bc134fd790decd4f20db9074c7685f","url":"https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f","html_url":"https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f"}],"stats":{"total":9,"additions":9,"deletions":0},"files":[{"sha":"879f7cfd81594702efa34611f52b94c795230436","filename":"pom.xml","status":"modified","additions":9,"deletions":0,"changes":9,"blob_url":"https://github.com/stapler/stapler/blob/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml","raw_url":"https://github.com/stapler/stapler/raw/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml","contents_url":"https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=efe737fa365a0187e052bc81391efbd84847a1b0","patch":"@@ -206,6 +206,15 @@\n -Djdk.net.URLClassPath.disableClassPathURLCheck=true\n \n \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-maven-plugin\n+ 1.0-beta-7\n+ \n+ false\n+ false\n+ \n+ \n \n \n "}]} \ No newline at end of file +{ + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "message": "#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.", + "tree": { + "sha": "109f198441d6524d99e237ac863e28e80ad77e59", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----", + "payload": "tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "08b13de864bc134fd790decd4f20db9074c7685f", + "url": "https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f", + "html_url": "https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f" + } + ], + "stats": { + "total": 9, + "additions": 9, + "deletions": 0 + }, + "files": [ + { + "sha": "879f7cfd81594702efa34611f52b94c795230436", + "filename": "pom.xml", + "status": "modified", + "additions": 9, + "deletions": 0, + "changes": 9, + "blob_url": "https://github.com/stapler/stapler/blob/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=efe737fa365a0187e052bc81391efbd84847a1b0", + "patch": "@@ -206,6 +206,15 @@\n -Djdk.net.URLClassPath.disableClassPathURLCheck=true\n \n \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-maven-plugin\n+ 1.0-beta-7\n+ \n+ false\n+ false\n+ \n+ \n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json index 91444a04b..b9ce24cb0 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json @@ -1 +1,33 @@ -{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":133,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 166, + "public_gists": 4, + "followers": 133, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-06-03T17:47:20Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json index 9e30fe8ca..f32e3166c 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json @@ -1,40 +1,43 @@ { - "id" : "34276839-6f01-44ea-856d-5b26cc12edf8", - "name" : "repos_stapler_stapler", - "request" : { - "url" : "/repos/stapler/stapler", - "method" : "GET" + "id": "34276839-6f01-44ea-856d-5b26cc12edf8", + "name": "repos_stapler_stapler", + "request": { + "url": "/repos/stapler/stapler", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:00 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4955", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"449cae6ec2615b7bcbe15d6e821627cc\"", - "Last-Modified" : "Tue, 27 Aug 2019 16:42:33 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2058:C010F:5D769A63" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler-34276839-6f01-44ea-856d-5b26cc12edf8.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4955", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"449cae6ec2615b7bcbe15d6e821627cc\"", + "Last-Modified": "Tue, 27 Aug 2019 16:42:33 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2058:C010F:5D769A63" } }, - "uuid" : "34276839-6f01-44ea-856d-5b26cc12edf8", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "34276839-6f01-44ea-856d-5b26cc12edf8", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json index 63f9cbef4..a618d2c0c 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json @@ -1,41 +1,44 @@ { - "id" : "6214feb0-5ed5-4325-8407-2f75bef1c4bd", - "name" : "repos_stapler_stapler_commits", - "request" : { - "url" : "/repos/stapler/stapler/commits?path=pom.xml", - "method" : "GET" + "id": "6214feb0-5ed5-4325-8407-2f75bef1c4bd", + "name": "repos_stapler_stapler_commits", + "request": { + "url": "/repos/stapler/stapler/commits?path=pom.xml", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:00 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4954", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"e637dc76b698b0b086c2753b30498d0a\"", - "Last-Modified" : "Mon, 19 Aug 2019 18:38:53 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Link" : "; rel=\"next\", ; rel=\"last\"", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2072:C014B:5D769A64" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits-6214feb0-5ed5-4325-8407-2f75bef1c4bd.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4954", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"e637dc76b698b0b086c2753b30498d0a\"", + "Last-Modified": "Mon, 19 Aug 2019 18:38:53 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Link": "; rel=\"next\", ; rel=\"last\"", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2072:C014B:5D769A64" } }, - "uuid" : "6214feb0-5ed5-4325-8407-2f75bef1c4bd", - "persistent" : true, - "insertionIndex" : 3 + "uuid": "6214feb0-5ed5-4325-8407-2f75bef1c4bd", + "persistent": true, + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json index e564f4669..3edec13ae 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json @@ -1,43 +1,46 @@ { - "id" : "4fa8c092-5fdf-4ac3-a09a-8713da340f66", - "name" : "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4", - "request" : { - "url" : "/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", - "method" : "GET" + "id": "4fa8c092-5fdf-4ac3-a09a-8713da340f66", + "name": "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "request": { + "url": "/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:02 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4949", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"0563d0f3c97c60e7ae7e2195d94abb92\"", - "Last-Modified" : "Mon, 19 Aug 2019 17:42:58 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2154:C0274:5D769A65" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-4fa8c092-5fdf-4ac3-a09a-8713da340f66.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4949", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0563d0f3c97c60e7ae7e2195d94abb92\"", + "Last-Modified": "Mon, 19 Aug 2019 17:42:58 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2154:C0274:5D769A65" } }, - "uuid" : "4fa8c092-5fdf-4ac3-a09a-8713da340f66", - "persistent" : true, - "scenarioName" : "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4-2", - "insertionIndex" : 8 + "uuid": "4fa8c092-5fdf-4ac3-a09a-8713da340f66", + "persistent": true, + "scenarioName": "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4-2", + "insertionIndex": 8 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json index 8d0c7dab1..39164f657 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json @@ -1,42 +1,45 @@ { - "id" : "ad6e998e-9ae1-4bae-9da2-1dd49495d5cb", - "name" : "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4", - "request" : { - "url" : "/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", - "method" : "GET" + "id": "ad6e998e-9ae1-4bae-9da2-1dd49495d5cb", + "name": "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "request": { + "url": "/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:02 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4948", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"0563d0f3c97c60e7ae7e2195d94abb92\"", - "Last-Modified" : "Mon, 19 Aug 2019 17:42:58 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A217C:C02A1:5D769A66" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-ad6e998e-9ae1-4bae-9da2-1dd49495d5cb.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4948", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0563d0f3c97c60e7ae7e2195d94abb92\"", + "Last-Modified": "Mon, 19 Aug 2019 17:42:58 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A217C:C02A1:5D769A66" } }, - "uuid" : "ad6e998e-9ae1-4bae-9da2-1dd49495d5cb", - "persistent" : true, - "scenarioName" : "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4", - "requiredScenarioState" : "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4-2", - "insertionIndex" : 9 + "uuid": "ad6e998e-9ae1-4bae-9da2-1dd49495d5cb", + "persistent": true, + "scenarioName": "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "requiredScenarioState": "scenario-3-repos-stapler-stapler-commits-06b1108ec041fd8d6e7f54c8578d84a672fee9e4-2", + "insertionIndex": 9 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json index 4b6c9e6c7..d4581380c 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json @@ -1,43 +1,46 @@ { - "id" : "8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7", - "name" : "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679", - "request" : { - "url" : "/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", - "method" : "GET" + "id": "8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7", + "name": "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "request": { + "url": "/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:02 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4947", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"210b8038c41dfbe9d59f53360f6c2b2b\"", - "Last-Modified" : "Fri, 28 Jun 2019 16:21:18 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A219F:C02CD:5D769A66" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4947", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"210b8038c41dfbe9d59f53360f6c2b2b\"", + "Last-Modified": "Fri, 28 Jun 2019 16:21:18 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A219F:C02CD:5D769A66" } }, - "uuid" : "8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7", - "persistent" : true, - "scenarioName" : "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679-2", - "insertionIndex" : 10 + "uuid": "8ac20af2-3f87-419a-b5cb-a96f5f2fd3c7", + "persistent": true, + "scenarioName": "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679-2", + "insertionIndex": 10 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json index 9d1050aa9..876e9d80c 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json @@ -1,42 +1,45 @@ { - "id" : "c9650076-4963-4d6a-9c1c-07c6339a48dd", - "name" : "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679", - "request" : { - "url" : "/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", - "method" : "GET" + "id": "c9650076-4963-4d6a-9c1c-07c6339a48dd", + "name": "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "request": { + "url": "/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:02 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4946", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"210b8038c41dfbe9d59f53360f6c2b2b\"", - "Last-Modified" : "Fri, 28 Jun 2019 16:21:18 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A21B5:C02E7:5D769A66" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-c9650076-4963-4d6a-9c1c-07c6339a48dd.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4946", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"210b8038c41dfbe9d59f53360f6c2b2b\"", + "Last-Modified": "Fri, 28 Jun 2019 16:21:18 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A21B5:C02E7:5D769A66" } }, - "uuid" : "c9650076-4963-4d6a-9c1c-07c6339a48dd", - "persistent" : true, - "scenarioName" : "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679", - "requiredScenarioState" : "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679-2", - "insertionIndex" : 11 + "uuid": "c9650076-4963-4d6a-9c1c-07c6339a48dd", + "persistent": true, + "scenarioName": "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "requiredScenarioState": "scenario-4-repos-stapler-stapler-commits-2a971c4e38c6d6693f7ad8b6768e4d74840d6679-2", + "insertionIndex": 11 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json index 3e1998ea7..1edc6901a 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json @@ -1,42 +1,45 @@ { - "id" : "b7c821b4-b43e-44a2-bea6-83304ffae91f", - "name" : "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d", - "request" : { - "url" : "/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", - "method" : "GET" + "id": "b7c821b4-b43e-44a2-bea6-83304ffae91f", + "name": "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "request": { + "url": "/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:03 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4944", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"ed3c1e9504b58dbca20c126b9e36718f\"", - "Last-Modified" : "Mon, 08 Apr 2019 14:19:21 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2201:C0339:5D769A66" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-b7c821b4-b43e-44a2-bea6-83304ffae91f.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4944", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"ed3c1e9504b58dbca20c126b9e36718f\"", + "Last-Modified": "Mon, 08 Apr 2019 14:19:21 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2201:C0339:5D769A66" } }, - "uuid" : "b7c821b4-b43e-44a2-bea6-83304ffae91f", - "persistent" : true, - "scenarioName" : "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d", - "requiredScenarioState" : "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d-2", - "insertionIndex" : 13 + "uuid": "b7c821b4-b43e-44a2-bea6-83304ffae91f", + "persistent": true, + "scenarioName": "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "requiredScenarioState": "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d-2", + "insertionIndex": 13 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json index 5d6938ae4..67741e4f8 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json @@ -1,43 +1,46 @@ { - "id" : "dd34f14b-38e1-406d-94b8-c650832d9bd4", - "name" : "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d", - "request" : { - "url" : "/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", - "method" : "GET" + "id": "dd34f14b-38e1-406d-94b8-c650832d9bd4", + "name": "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "request": { + "url": "/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:02 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4945", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"ed3c1e9504b58dbca20c126b9e36718f\"", - "Last-Modified" : "Mon, 08 Apr 2019 14:19:21 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A21D2:C030E:5D769A66" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-dd34f14b-38e1-406d-94b8-c650832d9bd4.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4945", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"ed3c1e9504b58dbca20c126b9e36718f\"", + "Last-Modified": "Mon, 08 Apr 2019 14:19:21 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A21D2:C030E:5D769A66" } }, - "uuid" : "dd34f14b-38e1-406d-94b8-c650832d9bd4", - "persistent" : true, - "scenarioName" : "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d-2", - "insertionIndex" : 12 + "uuid": "dd34f14b-38e1-406d-94b8-c650832d9bd4", + "persistent": true, + "scenarioName": "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-5-repos-stapler-stapler-commits-2f4ca0f03c1e6188867bddddce12ff213a107d9d-2", + "insertionIndex": 12 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json index 1ac89fff0..18c818f7a 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json @@ -1,43 +1,46 @@ { - "id" : "3e6d369c-c2ff-4835-abb3-00858c380485", - "name" : "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca", - "request" : { - "url" : "/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", - "method" : "GET" + "id": "3e6d369c-c2ff-4835-abb3-00858c380485", + "name": "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "request": { + "url": "/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:05 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4935", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"2524c8a4ca350cca9cada10977584c79\"", - "Last-Modified" : "Mon, 18 Feb 2019 22:52:29 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2369:C04E2:5D769A69" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-3e6d369c-c2ff-4835-abb3-00858c380485.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4935", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"2524c8a4ca350cca9cada10977584c79\"", + "Last-Modified": "Mon, 18 Feb 2019 22:52:29 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2369:C04E2:5D769A69" } }, - "uuid" : "3e6d369c-c2ff-4835-abb3-00858c380485", - "persistent" : true, - "scenarioName" : "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca-2", - "insertionIndex" : 22 + "uuid": "3e6d369c-c2ff-4835-abb3-00858c380485", + "persistent": true, + "scenarioName": "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca-2", + "insertionIndex": 22 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json index a53cb9e0d..9bfc725f4 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json @@ -1,42 +1,45 @@ { - "id" : "8573f146-63d0-4ffe-9d91-e05573680be5", - "name" : "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca", - "request" : { - "url" : "/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", - "method" : "GET" + "id": "8573f146-63d0-4ffe-9d91-e05573680be5", + "name": "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "request": { + "url": "/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:05 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4934", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"2524c8a4ca350cca9cada10977584c79\"", - "Last-Modified" : "Mon, 18 Feb 2019 22:52:29 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2386:C04FF:5D769A69" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-8573f146-63d0-4ffe-9d91-e05573680be5.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4934", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"2524c8a4ca350cca9cada10977584c79\"", + "Last-Modified": "Mon, 18 Feb 2019 22:52:29 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2386:C04FF:5D769A69" } }, - "uuid" : "8573f146-63d0-4ffe-9d91-e05573680be5", - "persistent" : true, - "scenarioName" : "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca", - "requiredScenarioState" : "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca-2", - "insertionIndex" : 23 + "uuid": "8573f146-63d0-4ffe-9d91-e05573680be5", + "persistent": true, + "scenarioName": "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "requiredScenarioState": "scenario-10-repos-stapler-stapler-commits-4f260c560ec120f4e2c2ed727244690b1f4d5dca-2", + "insertionIndex": 23 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json index c6a9b13df..f82b53449 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json @@ -1,43 +1,46 @@ { - "id" : "4c78237a-7bc9-49ce-9a1b-0bed99e888b4", - "name" : "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59", - "request" : { - "url" : "/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", - "method" : "GET" + "id": "4c78237a-7bc9-49ce-9a1b-0bed99e888b4", + "name": "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "request": { + "url": "/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:04 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4939", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"a4dd6b0ee041284621a857e8ea23c8a1\"", - "Last-Modified" : "Wed, 03 Apr 2019 19:03:54 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A22C3:C041E:5D769A68" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-4c78237a-7bc9-49ce-9a1b-0bed99e888b4.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4939", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"a4dd6b0ee041284621a857e8ea23c8a1\"", + "Last-Modified": "Wed, 03 Apr 2019 19:03:54 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A22C3:C041E:5D769A68" } }, - "uuid" : "4c78237a-7bc9-49ce-9a1b-0bed99e888b4", - "persistent" : true, - "scenarioName" : "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59-2", - "insertionIndex" : 18 + "uuid": "4c78237a-7bc9-49ce-9a1b-0bed99e888b4", + "persistent": true, + "scenarioName": "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59-2", + "insertionIndex": 18 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json index 78be1cec0..ff6a88b5c 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json @@ -1,42 +1,45 @@ { - "id" : "5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b", - "name" : "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59", - "request" : { - "url" : "/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", - "method" : "GET" + "id": "5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b", + "name": "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "request": { + "url": "/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:04 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4938", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"a4dd6b0ee041284621a857e8ea23c8a1\"", - "Last-Modified" : "Wed, 03 Apr 2019 19:03:54 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A22E2:C0448:5D769A68" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4938", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"a4dd6b0ee041284621a857e8ea23c8a1\"", + "Last-Modified": "Wed, 03 Apr 2019 19:03:54 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A22E2:C0448:5D769A68" } }, - "uuid" : "5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b", - "persistent" : true, - "scenarioName" : "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59", - "requiredScenarioState" : "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59-2", - "insertionIndex" : 19 + "uuid": "5f3cc3b8-f231-4c58-9ffd-f0cf3c14d49b", + "persistent": true, + "scenarioName": "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "requiredScenarioState": "scenario-8-repos-stapler-stapler-commits-53ce34d7d89c5172ae4f4f3167e35852b1910b59-2", + "insertionIndex": 19 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json index a9dcec1a9..32e09cc07 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json @@ -1,42 +1,45 @@ { - "id" : "a7972e0c-a2e0-4e50-bd1a-374cfad5576c", - "name" : "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654", - "request" : { - "url" : "/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", - "method" : "GET" + "id": "a7972e0c-a2e0-4e50-bd1a-374cfad5576c", + "name": "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654", + "request": { + "url": "/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:01 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4950", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"94ef432d31efc82dd4627bbd7fdac3ea\"", - "Last-Modified" : "Mon, 19 Aug 2019 18:38:42 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2139:C0242:5D769A65" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-a7972e0c-a2e0-4e50-bd1a-374cfad5576c.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4950", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"94ef432d31efc82dd4627bbd7fdac3ea\"", + "Last-Modified": "Mon, 19 Aug 2019 18:38:42 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2139:C0242:5D769A65" } }, - "uuid" : "a7972e0c-a2e0-4e50-bd1a-374cfad5576c", - "persistent" : true, - "scenarioName" : "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654", - "requiredScenarioState" : "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654-2", - "insertionIndex" : 7 + "uuid": "a7972e0c-a2e0-4e50-bd1a-374cfad5576c", + "persistent": true, + "scenarioName": "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654", + "requiredScenarioState": "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654-2", + "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json index 9be26bf90..b14f92610 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json @@ -1,43 +1,46 @@ { - "id" : "d76af952-0ff3-4514-9a38-93d9570c5b3c", - "name" : "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654", - "request" : { - "url" : "/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", - "method" : "GET" + "id": "d76af952-0ff3-4514-9a38-93d9570c5b3c", + "name": "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654", + "request": { + "url": "/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:01 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4951", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"94ef432d31efc82dd4627bbd7fdac3ea\"", - "Last-Modified" : "Mon, 19 Aug 2019 18:38:42 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A20F4:C01FD:5D769A65" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-d76af952-0ff3-4514-9a38-93d9570c5b3c.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4951", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"94ef432d31efc82dd4627bbd7fdac3ea\"", + "Last-Modified": "Mon, 19 Aug 2019 18:38:42 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A20F4:C01FD:5D769A65" } }, - "uuid" : "d76af952-0ff3-4514-9a38-93d9570c5b3c", - "persistent" : true, - "scenarioName" : "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654-2", - "insertionIndex" : 6 + "uuid": "d76af952-0ff3-4514-9a38-93d9570c5b3c", + "persistent": true, + "scenarioName": "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-stapler-stapler-commits-6a243869aa3c3f80579102d00848a0083953d654-2", + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json index f718aaad7..a71431571 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json @@ -1,43 +1,46 @@ { - "id" : "73ac5fc1-ea49-4c48-bc8a-f306908d7836", - "name" : "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26", - "request" : { - "url" : "/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", - "method" : "GET" + "id": "73ac5fc1-ea49-4c48-bc8a-f306908d7836", + "name": "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26", + "request": { + "url": "/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:04 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4937", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"133ab1934268062df543529934ac067f\"", - "Last-Modified" : "Tue, 19 Feb 2019 21:27:25 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2333:C049A:5D769A68" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-73ac5fc1-ea49-4c48-bc8a-f306908d7836.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4937", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"133ab1934268062df543529934ac067f\"", + "Last-Modified": "Tue, 19 Feb 2019 21:27:25 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2333:C049A:5D769A68" } }, - "uuid" : "73ac5fc1-ea49-4c48-bc8a-f306908d7836", - "persistent" : true, - "scenarioName" : "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26-2", - "insertionIndex" : 20 + "uuid": "73ac5fc1-ea49-4c48-bc8a-f306908d7836", + "persistent": true, + "scenarioName": "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26-2", + "insertionIndex": 20 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json index fa965d20d..7843c8e0b 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json @@ -1,42 +1,45 @@ { - "id" : "77b7d93a-9cd6-48a5-af7d-2ee6e4efa296", - "name" : "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26", - "request" : { - "url" : "/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", - "method" : "GET" + "id": "77b7d93a-9cd6-48a5-af7d-2ee6e4efa296", + "name": "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26", + "request": { + "url": "/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:05 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4936", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"133ab1934268062df543529934ac067f\"", - "Last-Modified" : "Tue, 19 Feb 2019 21:27:25 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A2351:C04C1:5D769A68" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-77b7d93a-9cd6-48a5-af7d-2ee6e4efa296.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4936", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"133ab1934268062df543529934ac067f\"", + "Last-Modified": "Tue, 19 Feb 2019 21:27:25 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A2351:C04C1:5D769A68" } }, - "uuid" : "77b7d93a-9cd6-48a5-af7d-2ee6e4efa296", - "persistent" : true, - "scenarioName" : "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26", - "requiredScenarioState" : "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26-2", - "insertionIndex" : 21 + "uuid": "77b7d93a-9cd6-48a5-af7d-2ee6e4efa296", + "persistent": true, + "scenarioName": "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26", + "requiredScenarioState": "scenario-9-repos-stapler-stapler-commits-72343298733508cced8dcb8eb43594bcc6130b26-2", + "insertionIndex": 21 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json index 4d45e622b..50d8c071c 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json @@ -1,42 +1,45 @@ { - "id" : "1aa53060-8df1-4455-ae37-21eed443f58b", - "name" : "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff", - "request" : { - "url" : "/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", - "method" : "GET" + "id": "1aa53060-8df1-4455-ae37-21eed443f58b", + "name": "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff", + "request": { + "url": "/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:01 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4952", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"6726f0c54296f6478d8760f10a8946f5\"", - "Last-Modified" : "Mon, 19 Aug 2019 18:38:53 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A20D9:C01DE:5D769A65" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-1aa53060-8df1-4455-ae37-21eed443f58b.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4952", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"6726f0c54296f6478d8760f10a8946f5\"", + "Last-Modified": "Mon, 19 Aug 2019 18:38:53 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A20D9:C01DE:5D769A65" } }, - "uuid" : "1aa53060-8df1-4455-ae37-21eed443f58b", - "persistent" : true, - "scenarioName" : "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff", - "requiredScenarioState" : "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff-2", - "insertionIndex" : 5 + "uuid": "1aa53060-8df1-4455-ae37-21eed443f58b", + "persistent": true, + "scenarioName": "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff", + "requiredScenarioState": "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff-2", + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json index c38899fff..141e12a15 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json @@ -1,43 +1,46 @@ { - "id" : "45c73127-9113-4bb6-8193-cedf907fa96a", - "name" : "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff", - "request" : { - "url" : "/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", - "method" : "GET" + "id": "45c73127-9113-4bb6-8193-cedf907fa96a", + "name": "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff", + "request": { + "url": "/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:01 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4953", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"6726f0c54296f6478d8760f10a8946f5\"", - "Last-Modified" : "Mon, 19 Aug 2019 18:38:53 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A20BD:C01B8:5D769A64" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-45c73127-9113-4bb6-8193-cedf907fa96a.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4953", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"6726f0c54296f6478d8760f10a8946f5\"", + "Last-Modified": "Mon, 19 Aug 2019 18:38:53 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A20BD:C01B8:5D769A64" } }, - "uuid" : "45c73127-9113-4bb6-8193-cedf907fa96a", - "persistent" : true, - "scenarioName" : "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff-2", - "insertionIndex" : 4 + "uuid": "45c73127-9113-4bb6-8193-cedf907fa96a", + "persistent": true, + "scenarioName": "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-stapler-stapler-commits-950acbd60ed4289520dcd2a395e5d77f181e1cff-2", + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json index 14f334aff..390f52081 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json @@ -1,43 +1,46 @@ { - "id" : "35c73b49-8705-4fee-abd6-36c9f4bc2825", - "name" : "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321", - "request" : { - "url" : "/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", - "method" : "GET" + "id": "35c73b49-8705-4fee-abd6-36c9f4bc2825", + "name": "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "request": { + "url": "/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:03 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4943", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"b596f4895bf3131a6d518d8a4c5a4f41\"", - "Last-Modified" : "Mon, 08 Apr 2019 14:19:11 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A222D:C0378:5D769A67" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-35c73b49-8705-4fee-abd6-36c9f4bc2825.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4943", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"b596f4895bf3131a6d518d8a4c5a4f41\"", + "Last-Modified": "Mon, 08 Apr 2019 14:19:11 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A222D:C0378:5D769A67" } }, - "uuid" : "35c73b49-8705-4fee-abd6-36c9f4bc2825", - "persistent" : true, - "scenarioName" : "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321-2", - "insertionIndex" : 14 + "uuid": "35c73b49-8705-4fee-abd6-36c9f4bc2825", + "persistent": true, + "scenarioName": "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321-2", + "insertionIndex": 14 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json index 02d7186cd..2902fd537 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json @@ -1,42 +1,45 @@ { - "id" : "fb5ea1a9-6086-40a2-a542-7a87ee6bb437", - "name" : "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321", - "request" : { - "url" : "/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", - "method" : "GET" + "id": "fb5ea1a9-6086-40a2-a542-7a87ee6bb437", + "name": "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "request": { + "url": "/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:03 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4942", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"b596f4895bf3131a6d518d8a4c5a4f41\"", - "Last-Modified" : "Mon, 08 Apr 2019 14:19:11 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A226E:C03A1:5D769A67" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-fb5ea1a9-6086-40a2-a542-7a87ee6bb437.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4942", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"b596f4895bf3131a6d518d8a4c5a4f41\"", + "Last-Modified": "Mon, 08 Apr 2019 14:19:11 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A226E:C03A1:5D769A67" } }, - "uuid" : "fb5ea1a9-6086-40a2-a542-7a87ee6bb437", - "persistent" : true, - "scenarioName" : "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321", - "requiredScenarioState" : "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321-2", - "insertionIndex" : 15 + "uuid": "fb5ea1a9-6086-40a2-a542-7a87ee6bb437", + "persistent": true, + "scenarioName": "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "requiredScenarioState": "scenario-6-repos-stapler-stapler-commits-d922b808068cf95d6f6ab624ce2c7f49d51f5321-2", + "insertionIndex": 15 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json index 1c9b48141..57ca9f174 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json @@ -1,43 +1,46 @@ { - "id" : "3621ddfb-672d-47aa-8b45-5d15a3e6caaa", - "name" : "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0", - "request" : { - "url" : "/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", - "method" : "GET" + "id": "3621ddfb-672d-47aa-8b45-5d15a3e6caaa", + "name": "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0", + "request": { + "url": "/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:03 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4941", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"105b96446da95ff8ee109ccaf4fd0d26\"", - "Last-Modified" : "Mon, 08 Apr 2019 14:17:55 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A228A:C03E4:5D769A67" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-3621ddfb-672d-47aa-8b45-5d15a3e6caaa.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4941", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"105b96446da95ff8ee109ccaf4fd0d26\"", + "Last-Modified": "Mon, 08 Apr 2019 14:17:55 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A228A:C03E4:5D769A67" } }, - "uuid" : "3621ddfb-672d-47aa-8b45-5d15a3e6caaa", - "persistent" : true, - "scenarioName" : "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0-2", - "insertionIndex" : 16 + "uuid": "3621ddfb-672d-47aa-8b45-5d15a3e6caaa", + "persistent": true, + "scenarioName": "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0-2", + "insertionIndex": 16 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json index e3029f2d6..40f719769 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json @@ -1,42 +1,45 @@ { - "id" : "ca95823a-7ad8-4b14-8d90-c619d98c589f", - "name" : "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0", - "request" : { - "url" : "/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", - "method" : "GET" + "id": "ca95823a-7ad8-4b14-8d90-c619d98c589f", + "name": "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0", + "request": { + "url": "/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:31:04 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4940", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"105b96446da95ff8ee109ccaf4fd0d26\"", - "Last-Modified" : "Mon, 08 Apr 2019 14:17:55 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A22A6:C0400:5D769A67" + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-ca95823a-7ad8-4b14-8d90-c619d98c589f.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:31:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4940", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"105b96446da95ff8ee109ccaf4fd0d26\"", + "Last-Modified": "Mon, 08 Apr 2019 14:17:55 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A22A6:C0400:5D769A67" } }, - "uuid" : "ca95823a-7ad8-4b14-8d90-c619d98c589f", - "persistent" : true, - "scenarioName" : "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0", - "requiredScenarioState" : "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0-2", - "insertionIndex" : 17 + "uuid": "ca95823a-7ad8-4b14-8d90-c619d98c589f", + "persistent": true, + "scenarioName": "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0", + "requiredScenarioState": "scenario-7-repos-stapler-stapler-commits-efe737fa365a0187e052bc81391efbd84847a1b0-2", + "insertionIndex": 17 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json index cbca7e749..f242a81b0 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json @@ -1,40 +1,43 @@ { - "id" : "1b6473bc-f679-44ec-8a6a-6a9d036c91aa", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "1b6473bc-f679-44ec-8a6a-6a9d036c91aa", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 18:30:59 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4956", - "X-RateLimit-Reset" : "1568056823", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"3ba1de3523043df743651bd23efc7def\"", - "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "D99C:7CF7:A201C:C00FA:5D769A63" + "response": { + "status": 200, + "bodyFileName": "user-1b6473bc-f679-44ec-8a6a-6a9d036c91aa.json", + "headers": { + "Date": "Mon, 09 Sep 2019 18:30:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4956", + "X-RateLimit-Reset": "1568056823", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"3ba1de3523043df743651bd23efc7def\"", + "Last-Modified": "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "D99C:7CF7:A201C:C00FA:5D769A63" } }, - "uuid" : "1b6473bc-f679-44ec-8a6a-6a9d036c91aa", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "1b6473bc-f679-44ec-8a6a-6a9d036c91aa", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/orgs_github-api-test-org-b2d80ea5-16e2-42ed-9de1-71ed44de990a.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/orgs_github-api-test-org-b2d80ea5-16e2-42ed-9de1-71ed44de990a.json index 5096039ec..61d5cb7d5 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/orgs_github-api-test-org-b2d80ea5-16e2-42ed-9de1-71ed44de990a.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/orgs_github-api-test-org-b2d80ea5-16e2-42ed-9de1-71ed44de990a.json @@ -1,40 +1,43 @@ { - "id" : "b2d80ea5-16e2-42ed-9de1-71ed44de990a", - "name" : "orgs_github-api-test-org", - "request" : { - "url" : "/orgs/github-api-test-org", - "method" : "GET" + "id": "b2d80ea5-16e2-42ed-9de1-71ed44de990a", + "name": "orgs_github-api-test-org", + "request": { + "url": "/orgs/github-api-test-org", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "orgs_github-api-test-org-b2d80ea5-16e2-42ed-9de1-71ed44de990a.json", - "headers" : { - "Date" : "Sun, 08 Sep 2019 23:20:37 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4993", - "X-RateLimit-Reset" : "1567988436", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"d36965e157281b2a309c39e4c2343a55\"", - "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes" : "gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "C902:4FAE:D72061:FD3203:5D758CC4" + "response": { + "status": 200, + "bodyFileName": "orgs_github-api-test-org-b2d80ea5-16e2-42ed-9de1-71ed44de990a.json", + "headers": { + "Date": "Sun, 08 Sep 2019 23:20:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1567988436", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"d36965e157281b2a309c39e4c2343a55\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C902:4FAE:D72061:FD3203:5D758CC4" } }, - "uuid" : "b2d80ea5-16e2-42ed-9de1-71ed44de990a", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "b2d80ea5-16e2-42ed-9de1-71ed44de990a", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-31587743-aa9c-4bdd-8e99-6d2603914f13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-31587743-aa9c-4bdd-8e99-6d2603914f13.json index 0d75328b0..47502a6ae 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-31587743-aa9c-4bdd-8e99-6d2603914f13.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-31587743-aa9c-4bdd-8e99-6d2603914f13.json @@ -1,42 +1,45 @@ { - "id" : "31587743-aa9c-4bdd-8e99-6d2603914f13", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "31587743-aa9c-4bdd-8e99-6d2603914f13", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-31587743-aa9c-4bdd-8e99-6d2603914f13.json", - "headers" : { - "Date" : "Sun, 08 Sep 2019 23:20:38 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4990", - "X-RateLimit-Reset" : "1567988436", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"38a6130bf6ecb7d4e7548d5db29a69ab\"", - "Last-Modified" : "Sun, 08 Sep 2019 07:25:40 GMT", - "X-OAuth-Scopes" : "gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "C902:4FAE:D720B0:FD3276:5D758CC6" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-31587743-aa9c-4bdd-8e99-6d2603914f13.json", + "headers": { + "Date": "Sun, 08 Sep 2019 23:20:38 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1567988436", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"38a6130bf6ecb7d4e7548d5db29a69ab\"", + "Last-Modified": "Sun, 08 Sep 2019 07:25:40 GMT", + "X-OAuth-Scopes": "gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C902:4FAE:D720B0:FD3276:5D758CC6" } }, - "uuid" : "31587743-aa9c-4bdd-8e99-6d2603914f13", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "insertionIndex" : 5 + "uuid": "31587743-aa9c-4bdd-8e99-6d2603914f13", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-e04f90b8-9e4c-42f6-867c-1d729dcdf83f.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-e04f90b8-9e4c-42f6-867c-1d729dcdf83f.json index 7af417d06..ca30fd672 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-e04f90b8-9e4c-42f6-867c-1d729dcdf83f.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api-e04f90b8-9e4c-42f6-867c-1d729dcdf83f.json @@ -1,43 +1,46 @@ { - "id" : "e04f90b8-9e4c-42f6-867c-1d729dcdf83f", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "e04f90b8-9e4c-42f6-867c-1d729dcdf83f", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-e04f90b8-9e4c-42f6-867c-1d729dcdf83f.json", - "headers" : { - "Date" : "Sun, 08 Sep 2019 23:20:37 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4992", - "X-RateLimit-Reset" : "1567988436", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"100f22563cf39ef74c77122e808791ec\"", - "Last-Modified" : "Sun, 08 Sep 2019 07:25:40 GMT", - "X-OAuth-Scopes" : "gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "C902:4FAE:D72069:FD321E:5D758CC5" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-e04f90b8-9e4c-42f6-867c-1d729dcdf83f.json", + "headers": { + "Date": "Sun, 08 Sep 2019 23:20:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1567988436", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"100f22563cf39ef74c77122e808791ec\"", + "Last-Modified": "Sun, 08 Sep 2019 07:25:40 GMT", + "X-OAuth-Scopes": "gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C902:4FAE:D72069:FD321E:5D758CC5" } }, - "uuid" : "e04f90b8-9e4c-42f6-867c-1d729dcdf83f", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "insertionIndex" : 3 + "uuid": "e04f90b8-9e4c-42f6-867c-1d729dcdf83f", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-21bacc38-2501-4be1-a5ed-63d59668aecf.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-21bacc38-2501-4be1-a5ed-63d59668aecf.json index adabcd3ba..009309a1f 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-21bacc38-2501-4be1-a5ed-63d59668aecf.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-21bacc38-2501-4be1-a5ed-63d59668aecf.json @@ -1,39 +1,42 @@ { - "id" : "21bacc38-2501-4be1-a5ed-63d59668aecf", - "name" : "repos_github-api-test-org_github-api_pulls", - "request" : { - "url" : "/repos/github-api-test-org/github-api/pulls?state=open", - "method" : "GET" + "id": "21bacc38-2501-4be1-a5ed-63d59668aecf", + "name": "repos_github-api-test-org_github-api_pulls", + "request": { + "url": "/repos/github-api-test-org/github-api/pulls?state=open", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api_pulls-21bacc38-2501-4be1-a5ed-63d59668aecf.json", - "headers" : { - "Date" : "Sun, 08 Sep 2019 23:20:38 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4989", - "X-RateLimit-Reset" : "1567988436", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"c99ec4a6900516f992fd7ef1ed6bdc3d\"", - "X-OAuth-Scopes" : "gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "C902:4FAE:D720C0:FD328A:5D758CC6" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api_pulls-21bacc38-2501-4be1-a5ed-63d59668aecf.json", + "headers": { + "Date": "Sun, 08 Sep 2019 23:20:38 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1567988436", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c99ec4a6900516f992fd7ef1ed6bdc3d\"", + "X-OAuth-Scopes": "gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C902:4FAE:D720C0:FD328A:5D758CC6" } }, - "uuid" : "21bacc38-2501-4be1-a5ed-63d59668aecf", - "persistent" : true, - "insertionIndex" : 6 + "uuid": "21bacc38-2501-4be1-a5ed-63d59668aecf", + "persistent": true, + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-e393556d-0f08-48c2-9ec1-ecebeced216a.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-e393556d-0f08-48c2-9ec1-ecebeced216a.json index 70f38f79c..3ce626d63 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-e393556d-0f08-48c2-9ec1-ecebeced216a.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls-e393556d-0f08-48c2-9ec1-ecebeced216a.json @@ -1,45 +1,50 @@ { - "id" : "e393556d-0f08-48c2-9ec1-ecebeced216a", - "name" : "repos_github-api-test-org_github-api_pulls", - "request" : { - "url" : "/repos/github-api-test-org/github-api/pulls", - "method" : "POST", - "bodyPatterns" : [ { - "equalToJson" : "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"createPullRequest\",\"body\":\"## test\",\"base\":\"master\"}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - } ] + "id": "e393556d-0f08-48c2-9ec1-ecebeced216a", + "name": "repos_github-api-test-org_github-api_pulls", + "request": { + "url": "/repos/github-api-test-org/github-api/pulls", + "method": "POST", + "bodyPatterns": [ + { + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"createPullRequest\",\"body\":\"## test\",\"base\":\"master\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] }, - "response" : { - "status" : 201, - "bodyFileName" : "repos_github-api-test-org_github-api_pulls-e393556d-0f08-48c2-9ec1-ecebeced216a.json", - "headers" : { - "Date" : "Sun, 08 Sep 2019 23:20:38 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "201 Created", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4991", - "X-RateLimit-Reset" : "1567988436", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"88d30690a6750391197735fa610d29c7\"", - "X-OAuth-Scopes" : "gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "Location" : "https://api.github.com/repos/github-api-test-org/github-api/pulls/273", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "C902:4FAE:D72080:FD3235:5D758CC5" + "response": { + "status": 201, + "bodyFileName": "repos_github-api-test-org_github-api_pulls-e393556d-0f08-48c2-9ec1-ecebeced216a.json", + "headers": { + "Date": "Sun, 08 Sep 2019 23:20:38 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1567988436", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"88d30690a6750391197735fa610d29c7\"", + "X-OAuth-Scopes": "gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "Location": "https://api.github.com/repos/github-api-test-org/github-api/pulls/273", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C902:4FAE:D72080:FD3235:5D758CC5" } }, - "uuid" : "e393556d-0f08-48c2-9ec1-ecebeced216a", - "persistent" : true, - "insertionIndex" : 4 + "uuid": "e393556d-0f08-48c2-9ec1-ecebeced216a", + "persistent": true, + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls_273-66712670-b79b-48e8-8593-01f7564ff169.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls_273-66712670-b79b-48e8-8593-01f7564ff169.json index fcf85696b..f3c1a8b26 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls_273-66712670-b79b-48e8-8593-01f7564ff169.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_github-api-test-org_github-api_pulls_273-66712670-b79b-48e8-8593-01f7564ff169.json @@ -1,44 +1,49 @@ { - "id" : "66712670-b79b-48e8-8593-01f7564ff169", - "name" : "repos_github-api-test-org_github-api_pulls_273", - "request" : { - "url" : "/repos/github-api-test-org/github-api/pulls/273", - "method" : "PATCH", - "bodyPatterns" : [ { - "equalToJson" : "{\"state\":\"closed\"}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - } ] + "id": "66712670-b79b-48e8-8593-01f7564ff169", + "name": "repos_github-api-test-org_github-api_pulls_273", + "request": { + "url": "/repos/github-api-test-org/github-api/pulls/273", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"state\":\"closed\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api_pulls_273-66712670-b79b-48e8-8593-01f7564ff169.json", - "headers" : { - "Date" : "Sun, 08 Sep 2019 23:20:38 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4988", - "X-RateLimit-Reset" : "1567988436", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"2305a6d26f2503df8f8e389e3f5e8132\"", - "X-OAuth-Scopes" : "gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "C902:4FAE:D720D3:FD329E:5D758CC6" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api_pulls_273-66712670-b79b-48e8-8593-01f7564ff169.json", + "headers": { + "Date": "Sun, 08 Sep 2019 23:20:38 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1567988436", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"2305a6d26f2503df8f8e389e3f5e8132\"", + "X-OAuth-Scopes": "gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C902:4FAE:D720D3:FD329E:5D758CC6" } }, - "uuid" : "66712670-b79b-48e8-8593-01f7564ff169", - "persistent" : true, - "insertionIndex" : 7 + "uuid": "66712670-b79b-48e8-8593-01f7564ff169", + "persistent": true, + "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/user-17990d92-81a4-43e2-b41b-bf3f95f79276.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/user-17990d92-81a4-43e2-b41b-bf3f95f79276.json index 1dba6a1f2..3e98bb123 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/user-17990d92-81a4-43e2-b41b-bf3f95f79276.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/user-17990d92-81a4-43e2-b41b-bf3f95f79276.json @@ -1,40 +1,43 @@ { - "id" : "17990d92-81a4-43e2-b41b-bf3f95f79276", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "17990d92-81a4-43e2-b41b-bf3f95f79276", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-17990d92-81a4-43e2-b41b-bf3f95f79276.json", - "headers" : { - "Date" : "Sun, 08 Sep 2019 23:20:36 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4994", - "X-RateLimit-Reset" : "1567988436", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"3ba1de3523043df743651bd23efc7def\"", - "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", - "X-OAuth-Scopes" : "gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "C902:4FAE:D7204A:FD31FB:5D758CC4" + "response": { + "status": 200, + "bodyFileName": "user-17990d92-81a4-43e2-b41b-bf3f95f79276.json", + "headers": { + "Date": "Sun, 08 Sep 2019 23:20:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1567988436", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"3ba1de3523043df743651bd23efc7def\"", + "Last-Modified": "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes": "gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "C902:4FAE:D7204A:FD31FB:5D758CC4" } }, - "uuid" : "17990d92-81a4-43e2-b41b-bf3f95f79276", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "17990d92-81a4-43e2-b41b-bf3f95f79276", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json similarity index 99% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json index 80ffe11d8..11a9491aa 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json @@ -9,7 +9,7 @@ "number": 263, "state": "open", "locked": false, - "title": "getUser", + "title": "getUserTest", "user": { "login": "bitwiseman", "id": 1958953, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json similarity index 99% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json index c7215685a..711a77dc7 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json @@ -10,7 +10,7 @@ "number": 263, "state": "open", "locked": false, - "title": "getUser", + "title": "getUserTest", "user": { "login": "bitwiseman", "id": 1958953, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json similarity index 99% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json index c7215685a..711a77dc7 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json @@ -10,7 +10,7 @@ "number": 263, "state": "open", "locked": false, - "title": "getUser", + "title": "getUserTest", "user": { "login": "bitwiseman", "id": 1958953, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json similarity index 99% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json index b3a6dd345..9f75f4431 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json @@ -9,7 +9,7 @@ "number": 263, "state": "open", "locked": false, - "title": "getUser", + "title": "getUserTest", "user": { "login": "bitwiseman", "id": 1958953, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json similarity index 99% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json index 140235b16..96ef8c331 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json @@ -9,7 +9,7 @@ "number": 263, "state": "closed", "locked": false, - "title": "getUser", + "title": "getUserTest", "user": { "login": "bitwiseman", "id": 1958953, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/user-07979842-29a1-401d-be2b-0c5847525fc3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/user-07979842-29a1-401d-be2b-0c5847525fc3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/__files/user-07979842-29a1-401d-be2b-0c5847525fc3.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/user-07979842-29a1-401d-be2b-0c5847525fc3.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/orgs_github-api-test-org-9700f9b4-6787-4942-94bd-1e47116da93b.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-43e6882d-8843-479b-8da0-0de90a6edc39.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-ab230383-b8a2-4e18-848c-31637758036c.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-c0d68f0b-8041-4a02-902c-e277971f2364.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api-e79ad56e-9598-45d0-854b-d3b1596e0bf0.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json index 51d4a06a6..bd8454f57 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls-344c3bf1-68d8-4ed4-8d28-31f06f7ef465.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"getUser\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"getUserTest\",\"body\":\"## test\",\"base\":\"master\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls-5f8eb032-94f9-4306-922e-21141d15228b.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls-e32f79db-5f0b-4b94-b7ee-540ef61d9fc2.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls_263-034f14a1-2ee6-4451-b553-d02da875468e.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_github-api-test-org_github-api_pulls_263-efb36413-ff3e-4b8b-af82-e5fe336051e8.json diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/user-07979842-29a1-401d-be2b-0c5847525fc3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/user-07979842-29a1-401d-be2b-0c5847525fc3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUser/mappings/user-07979842-29a1-401d-be2b-0c5847525fc3.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/user-07979842-29a1-401d-be2b-0c5847525fc3.json diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json index b27dde908..add01c1b3 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json @@ -1 +1,42 @@ -{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"members_allowed_repository_creation_type":"none","plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file +{ + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/github-api-test-org", + "repos_url": "https://api.github.com/orgs/github-api-test-org/repos", + "events_url": "https://api.github.com/orgs/github-api-test-org/events", + "hooks_url": "https://api.github.com/orgs/github-api-test-org/hooks", + "issues_url": "https://api.github.com/orgs/github-api-test-org/issues", + "members_url": "https://api.github.com/orgs/github-api-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/github-api-test-org/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 9, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/github-api-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2015-04-20T00:42:30Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": 0, + "disk_usage": 132, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 0, + "filled_seats": 3, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json index f14702cce..428bee013 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-25T23:32:35Z","pushed_at":"2019-09-21T14:29:14Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11387,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T22:47:32Z","pushed_at":"2019-09-25T22:56:18Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11678,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":96,"watchers":553,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T22:47:32Z","pushed_at":"2019-09-25T22:56:18Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11678,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":96,"watchers":553,"default_branch":"master"},"network_count":427,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "Tricky", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-25T23:32:35Z", + "pushed_at": "2019-09-21T14:29:14Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11387, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "master" + }, + "network_count": 427, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json index 4b74fa9e8..8f545390e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-25T23:35:59Z","pushed_at":"2019-09-21T14:29:14Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11387,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":true,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T22:47:32Z","pushed_at":"2019-09-25T22:56:18Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11678,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":96,"watchers":553,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T22:47:32Z","pushed_at":"2019-09-25T22:56:18Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11678,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":96,"watchers":553,"default_branch":"master"},"network_count":427,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "Tricky", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-25T23:35:59Z", + "pushed_at": "2019-09-21T14:29:14Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11387, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": true, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "master" + }, + "network_count": 427, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json index 4b74fa9e8..8f545390e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-25T23:35:59Z","pushed_at":"2019-09-21T14:29:14Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11387,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":true,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T22:47:32Z","pushed_at":"2019-09-25T22:56:18Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11678,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":96,"watchers":553,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T22:47:32Z","pushed_at":"2019-09-25T22:56:18Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11678,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":96,"watchers":553,"default_branch":"master"},"network_count":427,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "Tricky", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-25T23:35:59Z", + "pushed_at": "2019-09-21T14:29:14Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11387, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": true, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "master" + }, + "network_count": 427, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json index 8fa94288c..eab16ea06 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json @@ -1 +1,33 @@ -{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":135,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-09-24T19:32:29Z"} \ No newline at end of file +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 166, + "public_gists": 4, + "followers": 135, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json index a1066b624..31cd8fc53 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json @@ -1,40 +1,43 @@ { - "id" : "cb173af2-c793-444a-acdf-c3850e7afdbe", - "name" : "orgs_github-api-test-org", - "request" : { - "url" : "/orgs/github-api-test-org", - "method" : "GET" + "id": "cb173af2-c793-444a-acdf-c3850e7afdbe", + "name": "orgs_github-api-test-org", + "request": { + "url": "/orgs/github-api-test-org", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json", - "headers" : { - "Date" : "Wed, 25 Sep 2019 23:35:58 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4989", - "X-RateLimit-Reset" : "1569457884", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"b7989d48e6539c9c76038995b902421b\"", - "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F855:59E1:1397ED7:171400E:5D8BF9DE" + "response": { + "status": 200, + "bodyFileName": "orgs_github-api-test-org-cb173af2-c793-444a-acdf-c3850e7afdbe.json", + "headers": { + "Date": "Wed, 25 Sep 2019 23:35:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"b7989d48e6539c9c76038995b902421b\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F855:59E1:1397ED7:171400E:5D8BF9DE" } }, - "uuid" : "cb173af2-c793-444a-acdf-c3850e7afdbe", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "cb173af2-c793-444a-acdf-c3850e7afdbe", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json index ac7bea1d3..5300dab0a 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json @@ -1,43 +1,46 @@ { - "id" : "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json", - "headers" : { - "Date" : "Wed, 25 Sep 2019 23:35:58 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4988", - "X-RateLimit-Reset" : "1569457884", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"0678d1c39ea574f68cc0fb330b067cb7\"", - "Last-Modified" : "Wed, 25 Sep 2019 23:32:35 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F855:59E1:1397EEB:1714029:5D8BF9DE" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-0a4d7a1a-f99c-47ca-840a-3e920c18bd1f.json", + "headers": { + "Date": "Wed, 25 Sep 2019 23:35:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0678d1c39ea574f68cc0fb330b067cb7\"", + "Last-Modified": "Wed, 25 Sep 2019 23:32:35 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F855:59E1:1397EEB:1714029:5D8BF9DE" } }, - "uuid" : "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "insertionIndex" : 3 + "uuid": "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json index e119758cd..72ba30ebd 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json @@ -1,42 +1,45 @@ { - "id" : "1c529d7c-99f0-43ae-8231-044f48beac1a", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "1c529d7c-99f0-43ae-8231-044f48beac1a", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json", - "headers" : { - "Date" : "Wed, 25 Sep 2019 23:35:59 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4986", - "X-RateLimit-Reset" : "1569457884", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"e40487cafd3670c0de171f4250dbefb8\"", - "Last-Modified" : "Wed, 25 Sep 2019 23:35:59 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F855:59E1:1397F42:1714091:5D8BF9DF" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-1c529d7c-99f0-43ae-8231-044f48beac1a.json", + "headers": { + "Date": "Wed, 25 Sep 2019 23:35:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"e40487cafd3670c0de171f4250dbefb8\"", + "Last-Modified": "Wed, 25 Sep 2019 23:35:59 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F855:59E1:1397F42:1714091:5D8BF9DF" } }, - "uuid" : "1c529d7c-99f0-43ae-8231-044f48beac1a", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "insertionIndex" : 5 + "uuid": "1c529d7c-99f0-43ae-8231-044f48beac1a", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json index d5f149163..b3a7b193f 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json @@ -1,44 +1,49 @@ { - "id" : "2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "PATCH", - "bodyPatterns" : [ { - "equalToJson" : "{\"archived\":\"true\",\"name\":\"github-api\"}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - } ] + "id": "2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"archived\":\"true\",\"name\":\"github-api\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json", - "headers" : { - "Date" : "Wed, 25 Sep 2019 23:35:59 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4987", - "X-RateLimit-Reset" : "1569457884", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"e40487cafd3670c0de171f4250dbefb8\"", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F855:59E1:1397F0E:1714041:5D8BF9DE" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd.json", + "headers": { + "Date": "Wed, 25 Sep 2019 23:35:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"e40487cafd3670c0de171f4250dbefb8\"", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F855:59E1:1397F0E:1714041:5D8BF9DE" } }, - "uuid" : "2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd", - "persistent" : true, - "insertionIndex" : 4 + "uuid": "2c69d5c8-dd81-4204-bad9-ee37f5b0ebfd", + "persistent": true, + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json index b0d68d590..74f306e60 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/mappings/user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json @@ -1,40 +1,43 @@ { - "id" : "7f6e9a01-5bfa-4f72-9947-07df902f56c3", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "7f6e9a01-5bfa-4f72-9947-07df902f56c3", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json", - "headers" : { - "Date" : "Wed, 25 Sep 2019 23:35:33 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4992", - "X-RateLimit-Reset" : "1569457884", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"14ffd29009ddc2209c450bb29a5a8330\"", - "Last-Modified" : "Tue, 24 Sep 2019 19:32:29 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F845:5D1D:FFA88A:12FE539:5D8BF9C5" + "response": { + "status": 200, + "bodyFileName": "user-7f6e9a01-5bfa-4f72-9947-07df902f56c3.json", + "headers": { + "Date": "Wed, 25 Sep 2019 23:35:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"14ffd29009ddc2209c450bb29a5a8330\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F845:5D1D:FFA88A:12FE539:5D8BF9C5" } }, - "uuid" : "7f6e9a01-5bfa-4f72-9947-07df902f56c3", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "7f6e9a01-5bfa-4f72-9947-07df902f56c3", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json index b27dde908..add01c1b3 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json @@ -1 +1,42 @@ -{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"members_allowed_repository_creation_type":"none","plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file +{ + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/github-api-test-org", + "repos_url": "https://api.github.com/orgs/github-api-test-org/repos", + "events_url": "https://api.github.com/orgs/github-api-test-org/events", + "hooks_url": "https://api.github.com/orgs/github-api-test-org/hooks", + "issues_url": "https://api.github.com/orgs/github-api-test-org/issues", + "members_url": "https://api.github.com/orgs/github-api-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/github-api-test-org/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 9, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/github-api-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2015-04-20T00:42:30Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": 0, + "disk_usage": 132, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 0, + "filled_seats": 3, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json index dea33743f..4ae55dacd 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-25T23:37:07Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11387,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T23:55:16Z","pushed_at":"2019-09-26T00:00:09Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11660,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":94,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":94,"watchers":553,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-25T23:55:16Z","pushed_at":"2019-09-26T00:00:09Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11660,"stargazers_count":553,"watchers_count":553,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":427,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":94,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":427,"open_issues":94,"watchers":553,"default_branch":"master"},"network_count":427,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "Tricky", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-25T23:37:07Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11387, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T23:55:16Z", + "pushed_at": "2019-09-26T00:00:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11660, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 94, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 94, + "watchers": 553, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-25T23:55:16Z", + "pushed_at": "2019-09-26T00:00:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11660, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 94, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 94, + "watchers": 553, + "default_branch": "master" + }, + "network_count": 427, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json index ab61b32d2..aa54de576 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json @@ -1 +1,95 @@ -{"name":"test/#UrlEncode","commit":{"sha":"14fa3698221f91613b9e1d809434326e5ed546af","node_id":"MDY6Q29tbWl0MjA2ODg4MjAxOjE0ZmEzNjk4MjIxZjkxNjEzYjllMWQ4MDk0MzQzMjZlNWVkNTQ2YWY=","commit":{"author":{"name":"Liam Newman","email":"bitwiseman@gmail.com","date":"2019-09-06T23:38:04Z"},"committer":{"name":"Liam Newman","email":"bitwiseman@gmail.com","date":"2019-09-07T00:09:09Z"},"message":"Update README","tree":{"sha":"f791b2c2752a83ddd7604a800800b18e7c1d0196","url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees/f791b2c2752a83ddd7604a800800b18e7c1d0196"},"url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits/14fa3698221f91613b9e1d809434326e5ed546af","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/github-api-test-org/github-api/commits/14fa3698221f91613b9e1d809434326e5ed546af","html_url":"https://github.com/github-api-test-org/github-api/commit/14fa3698221f91613b9e1d809434326e5ed546af","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/commits/14fa3698221f91613b9e1d809434326e5ed546af/comments","author":{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"committer":{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"parents":[{"sha":"3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353","url":"https://api.github.com/repos/github-api-test-org/github-api/commits/3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353","html_url":"https://github.com/github-api-test-org/github-api/commit/3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353"}]},"_links":{"self":"https://api.github.com/repos/github-api-test-org/github-api/branches/test/#UrlEncode","html":"https://github.com/github-api-test-org/github-api/tree/test/#UrlEncode"},"protected":false,"protection":{"enabled":false,"required_status_checks":{"enforcement_level":"off","contexts":[]}},"protection_url":"https://api.github.com/repos/github-api-test-org/github-api/branches/test/#UrlEncode/protection"} \ No newline at end of file +{ + "name": "test/#UrlEncode", + "commit": { + "sha": "14fa3698221f91613b9e1d809434326e5ed546af", + "node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjE0ZmEzNjk4MjIxZjkxNjEzYjllMWQ4MDk0MzQzMjZlNWVkNTQ2YWY=", + "commit": { + "author": { + "name": "Liam Newman", + "email": "bitwiseman@gmail.com", + "date": "2019-09-06T23:38:04Z" + }, + "committer": { + "name": "Liam Newman", + "email": "bitwiseman@gmail.com", + "date": "2019-09-07T00:09:09Z" + }, + "message": "Update README", + "tree": { + "sha": "f791b2c2752a83ddd7604a800800b18e7c1d0196", + "url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees/f791b2c2752a83ddd7604a800800b18e7c1d0196" + }, + "url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits/14fa3698221f91613b9e1d809434326e5ed546af", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api-test-org/github-api/commits/14fa3698221f91613b9e1d809434326e5ed546af", + "html_url": "https://github.com/github-api-test-org/github-api/commit/14fa3698221f91613b9e1d809434326e5ed546af", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/commits/14fa3698221f91613b9e1d809434326e5ed546af/comments", + "author": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", + "url": "https://api.github.com/repos/github-api-test-org/github-api/commits/3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", + "html_url": "https://github.com/github-api-test-org/github-api/commit/3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353" + } + ] + }, + "_links": { + "self": "https://api.github.com/repos/github-api-test-org/github-api/branches/test/#UrlEncode", + "html": "https://github.com/github-api-test-org/github-api/tree/test/#UrlEncode" + }, + "protected": false, + "protection": { + "enabled": false, + "required_status_checks": { + "enforcement_level": "off", + "contexts": [] + } + }, + "protection_url": "https://api.github.com/repos/github-api-test-org/github-api/branches/test/#UrlEncode/protection" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json index 8fa94288c..eab16ea06 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json @@ -1 +1,33 @@ -{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":135,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-09-24T19:32:29Z"} \ No newline at end of file +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 166, + "public_gists": 4, + "followers": 135, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json index 34131c7dd..1843f6531 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json @@ -1,40 +1,43 @@ { - "id" : "5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d", - "name" : "orgs_github-api-test-org", - "request" : { - "url" : "/orgs/github-api-test-org", - "method" : "GET" + "id": "5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d", + "name": "orgs_github-api-test-org", + "request": { + "url": "/orgs/github-api-test-org", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json", - "headers" : { - "Date" : "Thu, 26 Sep 2019 00:11:04 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4992", - "X-RateLimit-Reset" : "1569460192", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"b7989d48e6539c9c76038995b902421b\"", - "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FD24:3764:2322DB:2A314B:5D8C0218" + "response": { + "status": 200, + "bodyFileName": "orgs_github-api-test-org-5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d.json", + "headers": { + "Date": "Thu, 26 Sep 2019 00:11:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1569460192", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"b7989d48e6539c9c76038995b902421b\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FD24:3764:2322DB:2A314B:5D8C0218" } }, - "uuid" : "5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "5e8ae8ed-0988-4df2-89d3-eda4c6bdc60d", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json index 3b0d5d7da..a4aca47d4 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json @@ -1,40 +1,43 @@ { - "id" : "30364e1b-193c-4929-9dd0-5aab7b47dbb9", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "30364e1b-193c-4929-9dd0-5aab7b47dbb9", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json", - "headers" : { - "Date" : "Thu, 26 Sep 2019 00:11:05 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4991", - "X-RateLimit-Reset" : "1569460192", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"afa5bdcd11463905460dc32b4cbac3ba\"", - "Last-Modified" : "Wed, 25 Sep 2019 23:37:07 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FD24:3764:2322DE:2A315A:5D8C0218" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-30364e1b-193c-4929-9dd0-5aab7b47dbb9.json", + "headers": { + "Date": "Thu, 26 Sep 2019 00:11:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1569460192", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"afa5bdcd11463905460dc32b4cbac3ba\"", + "Last-Modified": "Wed, 25 Sep 2019 23:37:07 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FD24:3764:2322DE:2A315A:5D8C0218" } }, - "uuid" : "30364e1b-193c-4929-9dd0-5aab7b47dbb9", - "persistent" : true, - "insertionIndex" : 3 + "uuid": "30364e1b-193c-4929-9dd0-5aab7b47dbb9", + "persistent": true, + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json index be89b7722..fd3245a1c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json @@ -1,39 +1,42 @@ { - "id" : "ed8bf5ba-65e0-47d8-bb4d-614063828c87", - "name" : "repos_github-api-test-org_github-api_branches_test_urlencode", - "request" : { - "url" : "/repos/github-api-test-org/github-api/branches/test%2F%23UrlEncode", - "method" : "GET" + "id": "ed8bf5ba-65e0-47d8-bb4d-614063828c87", + "name": "repos_github-api-test-org_github-api_branches_test_urlencode", + "request": { + "url": "/repos/github-api-test-org/github-api/branches/test%2F%23UrlEncode", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json", - "headers" : { - "Date" : "Thu, 26 Sep 2019 00:11:05 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4990", - "X-RateLimit-Reset" : "1569460192", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"70021000b4de67768f66b57bbeead27c\"", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FD24:3764:2322E4:2A3160:5D8C0219" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api_branches_test_urlencode-ed8bf5ba-65e0-47d8-bb4d-614063828c87.json", + "headers": { + "Date": "Thu, 26 Sep 2019 00:11:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1569460192", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"70021000b4de67768f66b57bbeead27c\"", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FD24:3764:2322E4:2A3160:5D8C0219" } }, - "uuid" : "ed8bf5ba-65e0-47d8-bb4d-614063828c87", - "persistent" : true, - "insertionIndex" : 4 + "uuid": "ed8bf5ba-65e0-47d8-bb4d-614063828c87", + "persistent": true, + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json index 895c392bf..4f883af35 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/mappings/user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json @@ -1,40 +1,43 @@ { - "id" : "c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json", - "headers" : { - "Date" : "Thu, 26 Sep 2019 00:11:04 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4994", - "X-RateLimit-Reset" : "1569460192", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"14ffd29009ddc2209c450bb29a5a8330\"", - "Last-Modified" : "Tue, 24 Sep 2019 19:32:29 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FD24:3764:2322CA:2A3143:5D8C0218" + "response": { + "status": 200, + "bodyFileName": "user-c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc.json", + "headers": { + "Date": "Thu, 26 Sep 2019 00:11:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1569460192", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"14ffd29009ddc2209c450bb29a5a8330\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FD24:3764:2322CA:2A3143:5D8C0218" } }, - "uuid" : "c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "c92cdb3f-7cae-43ba-bee2-e5aa6863dcbc", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json index 366eab95a..06af41519 100644 --- a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json +++ b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json @@ -1 +1,33 @@ -{"login":"rtyler","id":26594,"node_id":"MDQ6VXNlcjI2NTk0","avatar_url":"https://avatars0.githubusercontent.com/u/26594?v=4","gravatar_id":"","url":"https://api.github.com/users/rtyler","html_url":"https://github.com/rtyler","followers_url":"https://api.github.com/users/rtyler/followers","following_url":"https://api.github.com/users/rtyler/following{/other_user}","gists_url":"https://api.github.com/users/rtyler/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyler/subscriptions","organizations_url":"https://api.github.com/users/rtyler/orgs","repos_url":"https://api.github.com/users/rtyler/repos","events_url":"https://api.github.com/users/rtyler/events{/privacy}","received_events_url":"https://api.github.com/users/rtyler/received_events","type":"User","site_admin":false,"name":"R. Tyler Croy","company":null,"blog":"https://brokenco.de/","location":"California","email":null,"hireable":null,"bio":"person","public_repos":239,"public_gists":470,"followers":397,"following":41,"created_at":"2008-09-28T07:28:42Z","updated_at":"2019-04-24T00:04:36Z"} \ No newline at end of file +{ + "login": "rtyler", + "id": 26594, + "node_id": "MDQ6VXNlcjI2NTk0", + "avatar_url": "https://avatars0.githubusercontent.com/u/26594?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/rtyler", + "html_url": "https://github.com/rtyler", + "followers_url": "https://api.github.com/users/rtyler/followers", + "following_url": "https://api.github.com/users/rtyler/following{/other_user}", + "gists_url": "https://api.github.com/users/rtyler/gists{/gist_id}", + "starred_url": "https://api.github.com/users/rtyler/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/rtyler/subscriptions", + "organizations_url": "https://api.github.com/users/rtyler/orgs", + "repos_url": "https://api.github.com/users/rtyler/repos", + "events_url": "https://api.github.com/users/rtyler/events{/privacy}", + "received_events_url": "https://api.github.com/users/rtyler/received_events", + "type": "User", + "site_admin": false, + "name": "R. Tyler Croy", + "company": null, + "blog": "https://brokenco.de/", + "location": "California", + "email": null, + "hireable": null, + "bio": "person", + "public_repos": 239, + "public_gists": 470, + "followers": 397, + "following": 41, + "created_at": "2008-09-28T07:28:42Z", + "updated_at": "2019-04-24T00:04:36Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json index 4951220fc..ebc425e2a 100644 --- a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json +++ b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/__files/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json @@ -1 +1,14 @@ -[{"id":1066173,"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAueiy12T5bvFhsc9YjfLc3aVIxgySd3gDxQWy/bletIoZL8omKmzocBYJ7F58U1asoyfWsy2ToTOY8jJp1eToXmbD6L5+xvHba0A7djYh9aQRrFam7doKQ0zp0ZSUF6+R1v0OM4nnWqK4n2ECIYd+Bdzrp+xA5+XlW3ZSNzlnW2BeWznzmgRMcp6wI+zQ9GMHWviR1cxpml5Z6wrxTZ0aX91btvnNPqoOGva976B6e6403FOEkkIFTk6CC1TFKwc/VjbqxYBg4kU0JhiTP+iEZibcQrYjWdYUgAotYbFVe5/DneHMLNsMPdeihba4PUwt62rXyNegenuCRmCntLcaFQ=="},{"id":28136459,"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTU0s5OKCC6VpKZGL9NJD4mNLY0AtujkVB1JkkuQ4OkMi2YGUHJtGhTbTwEVhNxpm0x2dM5KSzse6MLDYuGBW0qkE/VVuD9+9I73hbq461KqP0+WlupNh+Qc86kbiLBDv64+vWc+50mp1dbINpoM5xvaPYxgjnemydPv7vu5bhCHBugW7aN8VcLgfFgcp8vZCEanMtd3hIRjRU8v8Skk233ZGu1bXkG8iIOBQPabvEtZ0VDMg9pT3Q1R6lnnKqfCwHXd6zP6uAtejFSxvKRGKpu3OLGQMHwk7NlImVuhkVdaEFBq7pQtpOaGuP2eLKcN1wy5jsTYE+ZB6pvHCi2ecb"},{"id":31452581,"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3JhH2FZBDmHLjXTcBoV6tdcYKmsQ7sgu8k1RsUhwxGsXm65+Cuas6GcMVoA1DncKfJGQkulHDFiTxIROIBmedh9/otHWBlZ4HqYZ4MQ1A8W5quULkXwX/kF+UdRBUxFvjigibEbuHB+LARVxRRzFlPnTSE9rAfAv8OOEsb3lNUGT/IGhN8w1vwe8GclB90tgqN1RBDgrVqwLFwn5AfrW9kUIa2f2oT4RjYu1OrhKhVIIzfHADo85aD+s8wEhqwI96BCJG3qTWrypoHwBUoj1O6Ak5CGc1iKz9o8XyTMjudRt2ddCjfOtxsuwSlTbVtQXJGIpgKviX1sgh4pPvGh7BVAFP+mdAK4F+mEugDnuj47GO/K5KGGDRCL56kh9+h28l4q/+fZvp7DhtmSN2EzrVAdQFskF8yY/6Xit/aAvjeKm03DcjbylSXbG26EJefaLHlwYFq2mUFRMak25wuuCZS71GF3RC3Sl/bMoxBKRYkyfYtGafeaYTFNGn8Dbd+hfVUCz31ebI8cvmlQR5b5AbCre3T7HTVgw8FKbAxWRf1Fio56PnqHsj+sT1KVj255Zo1F8iD9GrgERSVAlkh5bY/CKszQ8ZSd01c9Qp2a47/gR7XAAbxhzGHP+cSOlrqDlJ24fbPtcpVsM0llqKUcxpmoOBFNboRmE1QqnSmAf9ww=="}] \ No newline at end of file +[ + { + "id": 1066173, + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAueiy12T5bvFhsc9YjfLc3aVIxgySd3gDxQWy/bletIoZL8omKmzocBYJ7F58U1asoyfWsy2ToTOY8jJp1eToXmbD6L5+xvHba0A7djYh9aQRrFam7doKQ0zp0ZSUF6+R1v0OM4nnWqK4n2ECIYd+Bdzrp+xA5+XlW3ZSNzlnW2BeWznzmgRMcp6wI+zQ9GMHWviR1cxpml5Z6wrxTZ0aX91btvnNPqoOGva976B6e6403FOEkkIFTk6CC1TFKwc/VjbqxYBg4kU0JhiTP+iEZibcQrYjWdYUgAotYbFVe5/DneHMLNsMPdeihba4PUwt62rXyNegenuCRmCntLcaFQ==" + }, + { + "id": 28136459, + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTU0s5OKCC6VpKZGL9NJD4mNLY0AtujkVB1JkkuQ4OkMi2YGUHJtGhTbTwEVhNxpm0x2dM5KSzse6MLDYuGBW0qkE/VVuD9+9I73hbq461KqP0+WlupNh+Qc86kbiLBDv64+vWc+50mp1dbINpoM5xvaPYxgjnemydPv7vu5bhCHBugW7aN8VcLgfFgcp8vZCEanMtd3hIRjRU8v8Skk233ZGu1bXkG8iIOBQPabvEtZ0VDMg9pT3Q1R6lnnKqfCwHXd6zP6uAtejFSxvKRGKpu3OLGQMHwk7NlImVuhkVdaEFBq7pQtpOaGuP2eLKcN1wy5jsTYE+ZB6pvHCi2ecb" + }, + { + "id": 31452581, + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3JhH2FZBDmHLjXTcBoV6tdcYKmsQ7sgu8k1RsUhwxGsXm65+Cuas6GcMVoA1DncKfJGQkulHDFiTxIROIBmedh9/otHWBlZ4HqYZ4MQ1A8W5quULkXwX/kF+UdRBUxFvjigibEbuHB+LARVxRRzFlPnTSE9rAfAv8OOEsb3lNUGT/IGhN8w1vwe8GclB90tgqN1RBDgrVqwLFwn5AfrW9kUIa2f2oT4RjYu1OrhKhVIIzfHADo85aD+s8wEhqwI96BCJG3qTWrypoHwBUoj1O6Ak5CGc1iKz9o8XyTMjudRt2ddCjfOtxsuwSlTbVtQXJGIpgKviX1sgh4pPvGh7BVAFP+mdAK4F+mEugDnuj47GO/K5KGGDRCL56kh9+h28l4q/+fZvp7DhtmSN2EzrVAdQFskF8yY/6Xit/aAvjeKm03DcjbylSXbG26EJefaLHlwYFq2mUFRMak25wuuCZS71GF3RC3Sl/bMoxBKRYkyfYtGafeaYTFNGn8Dbd+hfVUCz31ebI8cvmlQR5b5AbCre3T7HTVgw8FKbAxWRf1Fio56PnqHsj+sT1KVj255Zo1F8iD9GrgERSVAlkh5bY/CKszQ8ZSd01c9Qp2a47/gR7XAAbxhzGHP+cSOlrqDlJ24fbPtcpVsM0llqKUcxpmoOBFNboRmE1QqnSmAf9ww==" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json index 6c7eba658..3cc445491 100644 --- a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json +++ b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json @@ -1,38 +1,41 @@ { - "id" : "11f4235a-9149-4727-bb9b-91b6dce384b5", - "name" : "users_rtyler", - "request" : { - "url" : "/users/rtyler", - "method" : "GET" + "id": "11f4235a-9149-4727-bb9b-91b6dce384b5", + "name": "users_rtyler", + "request": { + "url": "/users/rtyler", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json", - "headers" : { - "Date" : "Tue, 17 Sep 2019 12:55:38 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "60", - "X-RateLimit-Remaining" : "42", - "X-RateLimit-Reset" : "1568727505", - "Cache-Control" : "public, max-age=60, s-maxage=60", - "Vary" : [ "Accept", "Accept-Encoding" ], - "ETag" : "W/\"c51918a9f877202da96a3904b2445a4f\"", - "Last-Modified" : "Wed, 24 Apr 2019 00:04:36 GMT", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "EA4A:354F9:5E84C1B:7289588:5D80D7C9" + "response": { + "status": 200, + "bodyFileName": "users_rtyler-11f4235a-9149-4727-bb9b-91b6dce384b5.json", + "headers": { + "Date": "Tue, 17 Sep 2019 12:55:38 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "42", + "X-RateLimit-Reset": "1568727505", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding" + ], + "ETag": "W/\"c51918a9f877202da96a3904b2445a4f\"", + "Last-Modified": "Wed, 24 Apr 2019 00:04:36 GMT", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "EA4A:354F9:5E84C1B:7289588:5D80D7C9" } }, - "uuid" : "11f4235a-9149-4727-bb9b-91b6dce384b5", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "11f4235a-9149-4727-bb9b-91b6dce384b5", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json index 028874d89..746e1381f 100644 --- a/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json +++ b/src/test/resources/org/kohsuke/github/UserTest/wiremock/getKeys/mappings/users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json @@ -1,37 +1,40 @@ { - "id" : "395dc00a-5234-4866-815c-d7b49cdd0157", - "name" : "users_rtyler_keys", - "request" : { - "url" : "/users/rtyler/keys", - "method" : "GET" + "id": "395dc00a-5234-4866-815c-d7b49cdd0157", + "name": "users_rtyler_keys", + "request": { + "url": "/users/rtyler/keys", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json", - "headers" : { - "Date" : "Tue, 17 Sep 2019 12:55:38 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "60", - "X-RateLimit-Remaining" : "41", - "X-RateLimit-Reset" : "1568727505", - "Cache-Control" : "public, max-age=60, s-maxage=60", - "Vary" : [ "Accept", "Accept-Encoding" ], - "ETag" : "W/\"257fbc4218f6908012a1054fb084df45\"", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "EA4A:354F9:5E84CA9:7289633:5D80D7CA" + "response": { + "status": 200, + "bodyFileName": "users_rtyler_keys-395dc00a-5234-4866-815c-d7b49cdd0157.json", + "headers": { + "Date": "Tue, 17 Sep 2019 12:55:38 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "41", + "X-RateLimit-Reset": "1568727505", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding" + ], + "ETag": "W/\"257fbc4218f6908012a1054fb084df45\"", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "EA4A:354F9:5E84CA9:7289633:5D80D7CA" } }, - "uuid" : "395dc00a-5234-4866-815c-d7b49cdd0157", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "395dc00a-5234-4866-815c-d7b49cdd0157", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/user_whenNotProxying_Stubbed/mappings/user-67d218ce-0abd-4a0a-98ea-626565e977ca.json b/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/user_whenNotProxying_Stubbed/mappings/user-67d218ce-0abd-4a0a-98ea-626565e977ca.json index e95d93053..96d469df2 100644 --- a/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/user_whenNotProxying_Stubbed/mappings/user-67d218ce-0abd-4a0a-98ea-626565e977ca.json +++ b/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/user_whenNotProxying_Stubbed/mappings/user-67d218ce-0abd-4a0a-98ea-626565e977ca.json @@ -1,40 +1,43 @@ { - "id" : "67d218ce-0abd-4a0a-98ea-626565e977ca", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "67d218ce-0abd-4a0a-98ea-626565e977ca", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-67d218ce-0abd-4a0a-98ea-626565e977ca.json", - "headers" : { - "Date" : "Mon, 09 Sep 2019 21:24:28 GMT", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4981", - "X-RateLimit-Reset" : "1568067845", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"3ba1de3523043df743651bd23efc7def\"", - "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", - "X-OAuth-Scopes" : "delete_repo, gist, notifications, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "unknown, github.v3", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "DEFC:7CF6:1726A3:1B693D:5D76C30C" + "response": { + "status": 200, + "bodyFileName": "user-67d218ce-0abd-4a0a-98ea-626565e977ca.json", + "headers": { + "Date": "Mon, 09 Sep 2019 21:24:28 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1568067845", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"3ba1de3523043df743651bd23efc7def\"", + "Last-Modified": "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes": "delete_repo, gist, notifications, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "DEFC:7CF6:1726A3:1B693D:5D76C30C" } }, - "uuid" : "67d218ce-0abd-4a0a-98ea-626565e977ca", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "67d218ce-0abd-4a0a-98ea-626565e977ca", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json index 887621a09..61547e3d9 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json @@ -1 +1,41 @@ -{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file +{ + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/github-api-test-org", + "repos_url": "https://api.github.com/orgs/github-api-test-org/repos", + "events_url": "https://api.github.com/orgs/github-api-test-org/events", + "hooks_url": "https://api.github.com/orgs/github-api-test-org/hooks", + "issues_url": "https://api.github.com/orgs/github-api-test-org/issues", + "members_url": "https://api.github.com/orgs/github-api-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/github-api-test-org/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 9, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/github-api-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2015-04-20T00:42:30Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": 0, + "disk_usage": 132, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 0, + "filled_seats": 3, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json index 6d93c013a..c92888ad3 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json @@ -1 +1,29 @@ -{"resources":{"core":{"limit":5000,"remaining":4970,"reset":1569875630},"search":{"limit":30,"remaining":30,"reset":1569872097},"graphql":{"limit":5000,"remaining":5000,"reset":1569875637},"integration_manifest":{"limit":5000,"remaining":5000,"reset":1569875637}},"rate":{"limit":5000,"remaining":4970,"reset":1569875630}} \ No newline at end of file +{ + "resources": { + "core": { + "limit": 5000, + "remaining": 4970, + "reset": 1569875630 + }, + "search": { + "limit": 30, + "remaining": 30, + "reset": 1569872097 + }, + "graphql": { + "limit": 5000, + "remaining": 5000, + "reset": 1569875637 + }, + "integration_manifest": { + "limit": 5000, + "remaining": 5000, + "reset": 1569875637 + } + }, + "rate": { + "limit": 5000, + "remaining": 4970, + "reset": 1569875630 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-0db05723-d8ab-412d-bcaf-fa416eb44138.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-0db05723-d8ab-412d-bcaf-fa416eb44138.json index 7d2cedb48..ab84644cc 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-0db05723-d8ab-412d-bcaf-fa416eb44138.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-0db05723-d8ab-412d-bcaf-fa416eb44138.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeDefault_Zero","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-30T19:34:05Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11391,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "OkHttpConnector_Cache_MaxAgeDefault_Zero", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-30T19:34:05Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11391, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "network_count": 428, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-5432b23c-70f2-4ecf-a380-a232afeef015.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-5432b23c-70f2-4ecf-a380-a232afeef015.json index 7d2cedb48..ab84644cc 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-5432b23c-70f2-4ecf-a380-a232afeef015.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-5432b23c-70f2-4ecf-a380-a232afeef015.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeDefault_Zero","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-30T19:34:05Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11391,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "OkHttpConnector_Cache_MaxAgeDefault_Zero", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-30T19:34:05Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11391, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "network_count": 428, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json index 7f029dc46..ae739dc61 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-30T19:34:12Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11391,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "Tricky", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-30T19:34:12Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11391, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "network_count": 428, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json index 93c2dff86..c795c5e84 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-30T19:33:51Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11391,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "Resetting", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-30T19:33:51Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11391, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "network_count": 428, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json index 71a47adc3..8f5f36168 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json @@ -1 +1,33 @@ -{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":136,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-09-24T19:32:29Z"} \ No newline at end of file +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 166, + "public_gists": 4, + "followers": 136, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json index 71496f276..1f6737cab 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json @@ -1,40 +1,43 @@ { - "id" : "ec2931f3-a8cd-4482-a866-aca52276d270", - "name" : "orgs_github-api-test-org", - "request" : { - "url" : "/orgs/github-api-test-org", - "method" : "GET" + "id": "ec2931f3-a8cd-4482-a866-aca52276d270", + "name": "orgs_github-api-test-org", + "request": { + "url": "/orgs/github-api-test-org", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4969", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"ab2c566dc8a17d041f948a563e2387f0\"", - "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E0D01:19F3DCF:5D9258A5" + "response": { + "status": 200, + "bodyFileName": "orgs_github-api-test-org-ec2931f3-a8cd-4482-a866-aca52276d270.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4969", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"ab2c566dc8a17d041f948a563e2387f0\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E0D01:19F3DCF:5D9258A5" } }, - "uuid" : "ec2931f3-a8cd-4482-a866-aca52276d270", - "persistent" : true, - "insertionIndex" : 3 + "uuid": "ec2931f3-a8cd-4482-a866-aca52276d270", + "persistent": true, + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json index 55cc1939d..6ffb0c6a4 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json @@ -1,38 +1,38 @@ { - "id" : "36588a64-cb68-4ea5-8995-c2cdced6b84a", - "name" : "rate_limit", - "request" : { - "url" : "/rate_limit", - "method" : "GET" + "id": "36588a64-cb68-4ea5-8995-c2cdced6b84a", + "name": "rate_limit", + "request": { + "url": "/rate_limit", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4970", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "no-cache", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "Vary" : "Accept-Encoding", - "X-GitHub-Request-Id" : "FBD4:8499:15E0CF6:19F3DA6:5D9258A5" + "response": { + "status": 200, + "bodyFileName": "rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4970", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "no-cache", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding", + "X-GitHub-Request-Id": "FBD4:8499:15E0CF6:19F3DA6:5D9258A5" } }, - "uuid" : "36588a64-cb68-4ea5-8995-c2cdced6b84a", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "36588a64-cb68-4ea5-8995-c2cdced6b84a", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-10-5432b23c-70f2-4ecf-a380-a232afeef015.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-10-5432b23c-70f2-4ecf-a380-a232afeef015.json index d4ea08e9b..7369bc5f1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-10-5432b23c-70f2-4ecf-a380-a232afeef015.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-10-5432b23c-70f2-4ecf-a380-a232afeef015.json @@ -1,43 +1,46 @@ { - "id" : "5432b23c-70f2-4ecf-a380-a232afeef015", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "5432b23c-70f2-4ecf-a380-a232afeef015", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-5432b23c-70f2-4ecf-a380-a232afeef015.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4966", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"4f508593b64df214fee8f6ab42df633c\"", - "Last-Modified" : "{{now offset='-1 seconds'}}", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E11B0:19F4373:5D9258AD" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-5432b23c-70f2-4ecf-a380-a232afeef015.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"4f508593b64df214fee8f6ab42df633c\"", + "Last-Modified": "{{now offset='-1 seconds'}}", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E11B0:19F4373:5D9258AD" } }, - "uuid" : "5432b23c-70f2-4ecf-a380-a232afeef015", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "newScenarioState" : "scenario-3-repos-github-api-test-org-github-api-0", - "insertionIndex" : 10 + "uuid": "5432b23c-70f2-4ecf-a380-a232afeef015", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "newScenarioState": "scenario-3-repos-github-api-test-org-github-api-0", + "insertionIndex": 10 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-11-2e2a6e0f-5c5c-4181-a501-91aa8e93c341.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-11-2e2a6e0f-5c5c-4181-a501-91aa8e93c341.json index 81c3d50b2..ecac014b9 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-11-2e2a6e0f-5c5c-4181-a501-91aa8e93c341.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-11-2e2a6e0f-5c5c-4181-a501-91aa8e93c341.json @@ -1,43 +1,46 @@ { - "id" : "2e2a6e0f-5c5c-4181-a501-91aa8e93c341", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "W/\"4f508593b64df214fee8f6ab42df633c\"" + "id": "2e2a6e0f-5c5c-4181-a501-91aa8e93c341", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "W/\"4f508593b64df214fee8f6ab42df633c\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4966", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"4f508593b64df214fee8f6ab42df633c\"", - "Last-Modified" : "{{now offset='-1 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E1216:19F439A:5D9258AE" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"4f508593b64df214fee8f6ab42df633c\"", + "Last-Modified": "{{now offset='-1 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E1216:19F439A:5D9258AE" } }, - "uuid" : "2e2a6e0f-5c5c-4181-a501-91aa8e93c341", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-3-repos-github-api-test-org-github-api-0", - "newScenarioState" : "scenario-3-repos-github-api-test-org-github-api-1", - "insertionIndex" : 11 + "uuid": "2e2a6e0f-5c5c-4181-a501-91aa8e93c341", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-3-repos-github-api-test-org-github-api-0", + "newScenarioState": "scenario-3-repos-github-api-test-org-github-api-1", + "insertionIndex": 11 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-12-a9ae7944-f02c-461d-a42e-9503abe5b470.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-12-a9ae7944-f02c-461d-a42e-9503abe5b470.json index 84ca4c01f..1ad843af6 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-12-a9ae7944-f02c-461d-a42e-9503abe5b470.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-12-a9ae7944-f02c-461d-a42e-9503abe5b470.json @@ -1,43 +1,46 @@ { - "id" : "a9ae7944-f02c-461d-a42e-9503abe5b470", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "\"4f508593b64df214fee8f6ab42df633c\"" + "id": "a9ae7944-f02c-461d-a42e-9503abe5b470", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "\"4f508593b64df214fee8f6ab42df633c\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4966", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"4f508593b64df214fee8f6ab42df633c\"", - "Last-Modified" : "{{now offset='-2 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E12A5:19F440A:5D9258AF" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"4f508593b64df214fee8f6ab42df633c\"", + "Last-Modified": "{{now offset='-2 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E12A5:19F440A:5D9258AF" } }, - "uuid" : "a9ae7944-f02c-461d-a42e-9503abe5b470", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-3-repos-github-api-test-org-github-api-1", - "newScenarioState" : "scenario-3-repos-github-api-test-org-github-api-2", - "insertionIndex" : 12 + "uuid": "a9ae7944-f02c-461d-a42e-9503abe5b470", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-3-repos-github-api-test-org-github-api-1", + "newScenarioState": "scenario-3-repos-github-api-test-org-github-api-2", + "insertionIndex": 12 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-13-b2221ad6-90f5-4a23-9248-cd0049c1d33f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-13-b2221ad6-90f5-4a23-9248-cd0049c1d33f.json index 04d2a9b15..d5cdf22a5 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-13-b2221ad6-90f5-4a23-9248-cd0049c1d33f.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-13-b2221ad6-90f5-4a23-9248-cd0049c1d33f.json @@ -1,43 +1,46 @@ { - "id" : "b2221ad6-90f5-4a23-9248-cd0049c1d33f", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "\"4f508593b64df214fee8f6ab42df633c\"" + "id": "b2221ad6-90f5-4a23-9248-cd0049c1d33f", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "\"4f508593b64df214fee8f6ab42df633c\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4966", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"4f508593b64df214fee8f6ab42df633c\"", - "Last-Modified" : "{{now offset='-3 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E14B4:19F44A5:5D9258B0" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"4f508593b64df214fee8f6ab42df633c\"", + "Last-Modified": "{{now offset='-3 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E14B4:19F44A5:5D9258B0" } }, - "uuid" : "b2221ad6-90f5-4a23-9248-cd0049c1d33f", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-3-repos-github-api-test-org-github-api-2", - "newScenarioState" : "scenario-3-repos-github-api-test-org-github-api-3", - "insertionIndex" : 13 + "uuid": "b2221ad6-90f5-4a23-9248-cd0049c1d33f", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-3-repos-github-api-test-org-github-api-2", + "newScenarioState": "scenario-3-repos-github-api-test-org-github-api-3", + "insertionIndex": 13 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-14-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-14-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json index 6b0fb6981..02c96fcb9 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-14-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-14-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json @@ -1,48 +1,51 @@ { - "id" : "7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "\"4f508593b64df214fee8f6ab42df633c\"" + "id": "7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "\"4f508593b64df214fee8f6ab42df633c\"" } } }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4963", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"31f73a7ecc35bbecec125851ce166af4\"", - "Last-Modified" : "{{now offset='-7 seconds'}}", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E153D:19F4735:5D9258B4" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"31f73a7ecc35bbecec125851ce166af4\"", + "Last-Modified": "{{now offset='-7 seconds'}}", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E153D:19F4735:5D9258B4" } }, - "uuid" : "7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-3-repos-github-api-test-org-github-api-3", - "newScenarioState" : "scenario-4-repos-github-api-test-org-github-api-0", - "insertionIndex" : 14 + "uuid": "7e396e4c-c5eb-4bc0-a5cd-3d9f75fac0f0", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-3-repos-github-api-test-org-github-api-3", + "newScenarioState": "scenario-4-repos-github-api-test-org-github-api-0", + "insertionIndex": 14 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-15-bc8d8b89-be4d-440a-a911-eeb01173046d.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-15-bc8d8b89-be4d-440a-a911-eeb01173046d.json index e8c974e4a..6dd2a1597 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-15-bc8d8b89-be4d-440a-a911-eeb01173046d.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-15-bc8d8b89-be4d-440a-a911-eeb01173046d.json @@ -1,43 +1,46 @@ { - "id" : "bc8d8b89-be4d-440a-a911-eeb01173046d", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "W/\"31f73a7ecc35bbecec125851ce166af4\"" + "id": "bc8d8b89-be4d-440a-a911-eeb01173046d", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "W/\"31f73a7ecc35bbecec125851ce166af4\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4963", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"31f73a7ecc35bbecec125851ce166af4\"", - "Last-Modified" : "{{now offset='-10 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E15AA:19F47C4:5D9258B5" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"31f73a7ecc35bbecec125851ce166af4\"", + "Last-Modified": "{{now offset='-10 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E15AA:19F47C4:5D9258B5" } }, - "uuid" : "bc8d8b89-be4d-440a-a911-eeb01173046d", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-4-repos-github-api-test-org-github-api-0", - "newScenarioState" : "scenario-4-repos-github-api-test-org-github-api-1", - "insertionIndex" : 15 + "uuid": "bc8d8b89-be4d-440a-a911-eeb01173046d", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-4-repos-github-api-test-org-github-api-0", + "newScenarioState": "scenario-4-repos-github-api-test-org-github-api-1", + "insertionIndex": 15 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-16-3857dc64-b28b-4b80-be18-bbe3067f6f17.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-16-3857dc64-b28b-4b80-be18-bbe3067f6f17.json index afce98b17..a18687c28 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-16-3857dc64-b28b-4b80-be18-bbe3067f6f17.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-16-3857dc64-b28b-4b80-be18-bbe3067f6f17.json @@ -1,43 +1,46 @@ { - "id" : "3857dc64-b28b-4b80-be18-bbe3067f6f17", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "\"31f73a7ecc35bbecec125851ce166af4\"" + "id": "3857dc64-b28b-4b80-be18-bbe3067f6f17", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "\"31f73a7ecc35bbecec125851ce166af4\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4963", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"31f73a7ecc35bbecec125851ce166af4\"", - "Last-Modified" : "{{now offset='-15 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E166E:19F4860:5D9258B6" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"31f73a7ecc35bbecec125851ce166af4\"", + "Last-Modified": "{{now offset='-15 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E166E:19F4860:5D9258B6" } }, - "uuid" : "3857dc64-b28b-4b80-be18-bbe3067f6f17", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-4-repos-github-api-test-org-github-api-1", - "newScenarioState" : "scenario-4-repos-github-api-test-org-github-api-2", - "insertionIndex" : 16 + "uuid": "3857dc64-b28b-4b80-be18-bbe3067f6f17", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-4-repos-github-api-test-org-github-api-1", + "newScenarioState": "scenario-4-repos-github-api-test-org-github-api-2", + "insertionIndex": 16 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-17-4d123bd7-3f5e-481e-b6f5-a8943e18cef0.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-17-4d123bd7-3f5e-481e-b6f5-a8943e18cef0.json index ef5884b83..49e023500 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-17-4d123bd7-3f5e-481e-b6f5-a8943e18cef0.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-17-4d123bd7-3f5e-481e-b6f5-a8943e18cef0.json @@ -1,42 +1,45 @@ { - "id" : "4d123bd7-3f5e-481e-b6f5-a8943e18cef0", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "\"31f73a7ecc35bbecec125851ce166af4\"" + "id": "4d123bd7-3f5e-481e-b6f5-a8943e18cef0", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "\"31f73a7ecc35bbecec125851ce166af4\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4963", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"31f73a7ecc35bbecec125851ce166af4\"", - "Last-Modified" : "{{now offset='-20 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E18F5:19F4956:5D9258B7" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"31f73a7ecc35bbecec125851ce166af4\"", + "Last-Modified": "{{now offset='-20 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E18F5:19F4956:5D9258B7" } }, - "uuid" : "4d123bd7-3f5e-481e-b6f5-a8943e18cef0", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-4-repos-github-api-test-org-github-api-2", - "insertionIndex" : 17 + "uuid": "4d123bd7-3f5e-481e-b6f5-a8943e18cef0", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-4-repos-github-api-test-org-github-api-2", + "insertionIndex": 17 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-4-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-4-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json index 24df34ba0..8fea8fa13 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-4-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-4-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json @@ -1,43 +1,46 @@ { - "id" : "b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4968", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"295ae3430c604f3d10b6eb145fe511b5\"", - "Last-Modified" : "{{now offset='-1 seconds'}}", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E0D13:19F3DE8:5D9258A5" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"295ae3430c604f3d10b6eb145fe511b5\"", + "Last-Modified": "{{now offset='-1 seconds'}}", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E0D13:19F3DE8:5D9258A5" } }, - "uuid" : "b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-0", - "insertionIndex" : 4 + "uuid": "b99f84bd-4eaa-4aeb-8f1c-ba64e617d15f", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-github-api-test-org-github-api-0", + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-5-5e7b86f7-20b1-4b15-8cb1-59fe6422e87f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-5-5e7b86f7-20b1-4b15-8cb1-59fe6422e87f.json index b7f67a887..2d95e4c8b 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-5-5e7b86f7-20b1-4b15-8cb1-59fe6422e87f.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-5-5e7b86f7-20b1-4b15-8cb1-59fe6422e87f.json @@ -1,43 +1,46 @@ { - "id" : "5e7b86f7-20b1-4b15-8cb1-59fe6422e87f", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "W/\"295ae3430c604f3d10b6eb145fe511b5\"" + "id": "5e7b86f7-20b1-4b15-8cb1-59fe6422e87f", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "W/\"295ae3430c604f3d10b6eb145fe511b5\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4968", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"295ae3430c604f3d10b6eb145fe511b5\"", - "Last-Modified" : "{{now offset='-1 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E0D2C:19F3E0B:5D9258A6" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"295ae3430c604f3d10b6eb145fe511b5\"", + "Last-Modified": "{{now offset='-1 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E0D2C:19F3E0B:5D9258A6" } }, - "uuid" : "5e7b86f7-20b1-4b15-8cb1-59fe6422e87f", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-0", - "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-1", - "insertionIndex" : 5 + "uuid": "5e7b86f7-20b1-4b15-8cb1-59fe6422e87f", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-2-repos-github-api-test-org-github-api-0", + "newScenarioState": "scenario-2-repos-github-api-test-org-github-api-1", + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6-e20958bf-185d-4f64-a524-f7aa7efdd528.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6-e20958bf-185d-4f64-a524-f7aa7efdd528.json index d3dd669a8..1cb35daa7 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6-e20958bf-185d-4f64-a524-f7aa7efdd528.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6-e20958bf-185d-4f64-a524-f7aa7efdd528.json @@ -1,43 +1,46 @@ { - "id" : "e20958bf-185d-4f64-a524-f7aa7efdd528", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "\"295ae3430c604f3d10b6eb145fe511b5\"" + "id": "e20958bf-185d-4f64-a524-f7aa7efdd528", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "\"295ae3430c604f3d10b6eb145fe511b5\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4968", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"295ae3430c604f3d10b6eb145fe511b5\"", - "Last-Modified" : "{{now offset='-2 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E0D75:19F3E2B:5D9258A6" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"295ae3430c604f3d10b6eb145fe511b5\"", + "Last-Modified": "{{now offset='-2 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E0D75:19F3E2B:5D9258A6" } }, - "uuid" : "e20958bf-185d-4f64-a524-f7aa7efdd528", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-1", - "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", - "insertionIndex" : 6 + "uuid": "e20958bf-185d-4f64-a524-f7aa7efdd528", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-2-repos-github-api-test-org-github-api-1", + "newScenarioState": "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-7-59700591-e3c8-4316-889a-83750b052380.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-7-59700591-e3c8-4316-889a-83750b052380.json index f608ea366..4830f0a13 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-7-59700591-e3c8-4316-889a-83750b052380.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-7-59700591-e3c8-4316-889a-83750b052380.json @@ -1,43 +1,46 @@ { - "id" : "59700591-e3c8-4316-889a-83750b052380", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET", - "headers" : { - "If-None-Match" : { - "equalTo" : "\"295ae3430c604f3d10b6eb145fe511b5\"" + "id": "59700591-e3c8-4316-889a-83750b052380", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET", + "headers": { + "If-None-Match": { + "equalTo": "\"295ae3430c604f3d10b6eb145fe511b5\"" } } }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4968", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"295ae3430c604f3d10b6eb145fe511b5\"", - "Last-Modified" : "{{now offset='-3 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E0E3A:19F3E95:5D9258A7" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"295ae3430c604f3d10b6eb145fe511b5\"", + "Last-Modified": "{{now offset='-3 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E0E3A:19F3E95:5D9258A7" } }, - "uuid" : "59700591-e3c8-4316-889a-83750b052380", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", - "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-3", - "insertionIndex" : 7 + "uuid": "59700591-e3c8-4316-889a-83750b052380", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-2-repos-github-api-test-org-github-api-2", + "newScenarioState": "scenario-2-repos-github-api-test-org-github-api-3", + "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8-441d13d0-ac48-49e1-84f8-8276a75a1dec.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8-441d13d0-ac48-49e1-84f8-8276a75a1dec.json index ca36955fd..817466b7b 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8-441d13d0-ac48-49e1-84f8-8276a75a1dec.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8-441d13d0-ac48-49e1-84f8-8276a75a1dec.json @@ -1,38 +1,41 @@ { - "id" : "441d13d0-ac48-49e1-84f8-8276a75a1dec", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "441d13d0-ac48-49e1-84f8-8276a75a1dec", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 304, - "headers" : { - "Date" : "{{now}}", - "Server" : "GitHub.com", - "Status" : "304 Not Modified", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4968", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "\"295ae3430c604f3d10b6eb145fe511b5\"", - "Last-Modified" : "{{now offset='-7 seconds'}}", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E10D2:19F3F82:5D9258A8" + "response": { + "status": 304, + "headers": { + "Date": "{{now}}", + "Server": "GitHub.com", + "Status": "304 Not Modified", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"295ae3430c604f3d10b6eb145fe511b5\"", + "Last-Modified": "{{now offset='-7 seconds'}}", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E10D2:19F3F82:5D9258A8" } }, - "uuid" : "441d13d0-ac48-49e1-84f8-8276a75a1dec", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-3", - "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "insertionIndex" : 8 + "uuid": "441d13d0-ac48-49e1-84f8-8276a75a1dec", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-2-repos-github-api-test-org-github-api-3", + "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex": 8 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-9-0db05723-d8ab-412d-bcaf-fa416eb44138.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-9-0db05723-d8ab-412d-bcaf-fa416eb44138.json index 9f6bc40ac..1807eb30c 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-9-0db05723-d8ab-412d-bcaf-fa416eb44138.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-9-0db05723-d8ab-412d-bcaf-fa416eb44138.json @@ -1,44 +1,49 @@ { - "id" : "0db05723-d8ab-412d-bcaf-fa416eb44138", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "PATCH", - "bodyPatterns" : [ { - "equalToJson" : "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_Cache_MaxAgeDefault_Zero\"}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - } ] + "id": "0db05723-d8ab-412d-bcaf-fa416eb44138", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_Cache_MaxAgeDefault_Zero\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-0db05723-d8ab-412d-bcaf-fa416eb44138.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4967", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"4f508593b64df214fee8f6ab42df633c\"", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E111E:19F42C0:5D9258AD" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-0db05723-d8ab-412d-bcaf-fa416eb44138.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4967", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"4f508593b64df214fee8f6ab42df633c\"", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E111E:19F42C0:5D9258AD" } }, - "uuid" : "0db05723-d8ab-412d-bcaf-fa416eb44138", - "persistent" : true, - "insertionIndex" : 9 + "uuid": "0db05723-d8ab-412d-bcaf-fa416eb44138", + "persistent": true, + "insertionIndex": 9 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json index 3c4160511..f3aede287 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json @@ -1,40 +1,43 @@ { - "id" : "5dbb2b95-e55b-4185-b143-ec3f21495fa6", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "5dbb2b95-e55b-4185-b143-ec3f21495fa6", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4970", - "X-RateLimit-Reset" : "1569875630", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"147519bb6367cc3d5d5a9d2a21de3937\"", - "Last-Modified" : "Tue, 24 Sep 2019 19:32:29 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "FBD4:8499:15E0CCD:19F3D92:5D9258A4" + "response": { + "status": 200, + "bodyFileName": "user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4970", + "X-RateLimit-Reset": "1569875630", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"147519bb6367cc3d5d5a9d2a21de3937\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "FBD4:8499:15E0CCD:19F3D92:5D9258A4" } }, - "uuid" : "5dbb2b95-e55b-4185-b143-ec3f21495fa6", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "5dbb2b95-e55b-4185-b143-ec3f21495fa6", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json index 887621a09..61547e3d9 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json @@ -1 +1,41 @@ -{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file +{ + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/github-api-test-org", + "repos_url": "https://api.github.com/orgs/github-api-test-org/repos", + "events_url": "https://api.github.com/orgs/github-api-test-org/events", + "hooks_url": "https://api.github.com/orgs/github-api-test-org/hooks", + "issues_url": "https://api.github.com/orgs/github-api-test-org/issues", + "members_url": "https://api.github.com/orgs/github-api-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/github-api-test-org/public_members{/member}", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 9, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/github-api-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2015-04-20T00:42:30Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": 0, + "disk_usage": 132, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 0, + "filled_seats": 3, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json index 2861f4da5..d885b3c29 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json @@ -1 +1,29 @@ -{"resources":{"core":{"limit":5000,"remaining":4984,"reset":1569872730},"search":{"limit":30,"remaining":30,"reset":1569869341},"graphql":{"limit":5000,"remaining":5000,"reset":1569872881},"integration_manifest":{"limit":5000,"remaining":5000,"reset":1569872881}},"rate":{"limit":5000,"remaining":4984,"reset":1569872730}} \ No newline at end of file +{ + "resources": { + "core": { + "limit": 5000, + "remaining": 4984, + "reset": 1569872730 + }, + "search": { + "limit": 30, + "remaining": 30, + "reset": 1569869341 + }, + "graphql": { + "limit": 5000, + "remaining": 5000, + "reset": 1569872881 + }, + "integration_manifest": { + "limit": 5000, + "remaining": 5000, + "reset": 1569872881 + } + }, + "rate": { + "limit": 5000, + "remaining": 4984, + "reset": 1569872730 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json index 8f639168a..ac56330ae 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeNone","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-30T18:48:07Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11391,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "OkHttpConnector_Cache_MaxAgeNone", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-30T18:48:07Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11391, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "network_count": 428, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json index 8f639168a..ac56330ae 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeNone","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-30T18:48:07Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11391,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "OkHttpConnector_Cache_MaxAgeNone", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-30T18:48:07Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11391, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "network_count": 428, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json index b6cab7c5c..e73f8f589 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json @@ -1 +1,330 @@ -{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-30T18:47:55Z","pushed_at":"2019-09-26T00:06:54Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11391,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-30T16:13:09Z","pushed_at":"2019-09-30T18:05:20Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11710,"stargazers_count":555,"watchers_count":555,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":91,"watchers":555,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file +{ + "id": 206888201, + "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", + "name": "github-api", + "full_name": "github-api-test-org/github-api", + "private": false, + "owner": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api-test-org/github-api", + "description": "Resetting", + "fork": true, + "url": "https://api.github.com/repos/github-api-test-org/github-api", + "forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments", + "created_at": "2019-09-06T23:26:04Z", + "updated_at": "2019-09-30T18:47:55Z", + "pushed_at": "2019-09-26T00:06:54Z", + "git_url": "git://github.com/github-api-test-org/github-api.git", + "ssh_url": "git@github.com:github-api-test-org/github-api.git", + "clone_url": "https://github.com/github-api-test-org/github-api.git", + "svn_url": "https://github.com/github-api-test-org/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11391, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "github-api-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api-test-org", + "html_url": "https://github.com/github-api-test-org", + "followers_url": "https://api.github.com/users/github-api-test-org/followers", + "following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/github-api-test-org/orgs", + "repos_url": "https://api.github.com/users/github-api-test-org/repos", + "events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "github-api/github-api", + "private": false, + "owner": { + "login": "github-api", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github-api", + "html_url": "https://github.com/github-api", + "followers_url": "https://api.github.com/users/github-api/followers", + "following_url": "https://api.github.com/users/github-api/following{/other_user}", + "gists_url": "https://api.github.com/users/github-api/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-api/subscriptions", + "organizations_url": "https://api.github.com/users/github-api/orgs", + "repos_url": "https://api.github.com/users/github-api/repos", + "events_url": "https://api.github.com/users/github-api/events{/privacy}", + "received_events_url": "https://api.github.com/users/github-api/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/github-api/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/github-api/github-api", + "forks_url": "https://api.github.com/repos/github-api/github-api/forks", + "keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github-api/github-api/teams", + "hooks_url": "https://api.github.com/repos/github-api/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/github-api/github-api/events", + "assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/github-api/github-api/tags", + "blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github-api/github-api/languages", + "stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/github-api/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/github-api/github-api/subscription", + "commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github-api/github-api/merges", + "archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github-api/github-api/downloads", + "issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/github-api/github-api/deployments", + "created_at": "2010-04-19T04:13:03Z", + "updated_at": "2019-09-30T16:13:09Z", + "pushed_at": "2019-09-30T18:05:20Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 11710, + "stargazers_count": 555, + "watchers_count": 555, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 428, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 91, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 428, + "open_issues": 91, + "watchers": 555, + "default_branch": "master" + }, + "network_count": 428, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json index 71a47adc3..8f5f36168 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json @@ -1 +1,33 @@ -{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":136,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-09-24T19:32:29Z"} \ No newline at end of file +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 166, + "public_gists": 4, + "followers": 136, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json index b58817a5f..339fbf634 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json @@ -1,40 +1,43 @@ { - "id" : "1d3815b7-1441-4a5d-a4eb-ffa13c700503", - "name" : "orgs_github-api-test-org", - "request" : { - "url" : "/orgs/github-api-test-org", - "method" : "GET" + "id": "1d3815b7-1441-4a5d-a4eb-ffa13c700503", + "name": "orgs_github-api-test-org", + "request": { + "url": "/orgs/github-api-test-org", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4983", - "X-RateLimit-Reset" : "1569872730", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"ab2c566dc8a17d041f948a563e2387f0\"", - "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F814:753B:922AE6:AD6CCB:5D924DE1" + "response": { + "status": 200, + "bodyFileName": "orgs_github-api-test-org-1d3815b7-1441-4a5d-a4eb-ffa13c700503.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1569872730", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"ab2c566dc8a17d041f948a563e2387f0\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F814:753B:922AE6:AD6CCB:5D924DE1" } }, - "uuid" : "1d3815b7-1441-4a5d-a4eb-ffa13c700503", - "persistent" : true, - "insertionIndex" : 3 + "uuid": "1d3815b7-1441-4a5d-a4eb-ffa13c700503", + "persistent": true, + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json index 94297e28e..45879bdab 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json @@ -1,38 +1,38 @@ { - "id" : "b23929e7-7216-403a-b1c4-1b0c2ecf6f85", - "name" : "rate_limit", - "request" : { - "url" : "/rate_limit", - "method" : "GET" + "id": "b23929e7-7216-403a-b1c4-1b0c2ecf6f85", + "name": "rate_limit", + "request": { + "url": "/rate_limit", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4984", - "X-RateLimit-Reset" : "1569872730", - "Cache-Control" : "no-cache", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "Vary" : "Accept-Encoding", - "X-GitHub-Request-Id" : "F814:753B:922AD8:AD6C9C:5D924DE0" + "response": { + "status": 200, + "bodyFileName": "rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1569872730", + "Cache-Control": "no-cache", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding", + "X-GitHub-Request-Id": "F814:753B:922AD8:AD6C9C:5D924DE0" } }, - "uuid" : "b23929e7-7216-403a-b1c4-1b0c2ecf6f85", - "persistent" : true, - "insertionIndex" : 2 + "uuid": "b23929e7-7216-403a-b1c4-1b0c2ecf6f85", + "persistent": true, + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json index b16099d8e..368f1bd68 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json @@ -1,42 +1,45 @@ { - "id" : "02d53c37-9838-422a-9184-a08ef1487126", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "02d53c37-9838-422a-9184-a08ef1487126", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4980", - "X-RateLimit-Reset" : "1569872730", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"ff0623de72a672b583e0f4473a5bb57c\"", - "Last-Modified" : "{{now offset='-20 seconds'}}", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F814:753B:922CC3:AD6EF3:5D924DE7" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-02d53c37-9838-422a-9184-a08ef1487126.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4980", + "X-RateLimit-Reset": "1569872730", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"ff0623de72a672b583e0f4473a5bb57c\"", + "Last-Modified": "{{now offset='-20 seconds'}}", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F814:753B:922CC3:AD6EF3:5D924DE7" } }, - "uuid" : "02d53c37-9838-422a-9184-a08ef1487126", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "insertionIndex" : 6 + "uuid": "02d53c37-9838-422a-9184-a08ef1487126", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json index 5135b0a32..54af1a90b 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json @@ -1,44 +1,49 @@ { - "id" : "82db6373-85d8-4fc9-97c7-b98612c52402", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "PATCH", - "bodyPatterns" : [ { - "equalToJson" : "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_Cache_MaxAgeNone\"}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - } ] + "id": "82db6373-85d8-4fc9-97c7-b98612c52402", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "PATCH", + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_Cache_MaxAgeNone\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4981", - "X-RateLimit-Reset" : "1569872730", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"ff0623de72a672b583e0f4473a5bb57c\"", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F814:753B:922CAA:AD6D0A:5D924DE1" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-82db6373-85d8-4fc9-97c7-b98612c52402.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1569872730", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"ff0623de72a672b583e0f4473a5bb57c\"", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F814:753B:922CAA:AD6D0A:5D924DE1" } }, - "uuid" : "82db6373-85d8-4fc9-97c7-b98612c52402", - "persistent" : true, - "insertionIndex" : 5 + "uuid": "82db6373-85d8-4fc9-97c7-b98612c52402", + "persistent": true, + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json index e1c31be39..36ef6465f 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json @@ -1,43 +1,46 @@ { - "id" : "ec57e178-8204-439b-b45a-58c773fa46f6", - "name" : "repos_github-api-test-org_github-api", - "request" : { - "url" : "/repos/github-api-test-org/github-api", - "method" : "GET" + "id": "ec57e178-8204-439b-b45a-58c773fa46f6", + "name": "repos_github-api-test-org_github-api", + "request": { + "url": "/repos/github-api-test-org/github-api", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4982", - "X-RateLimit-Reset" : "1569872730", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"ef30773e1dfdb07ba4ea64143df970ab\"", - "Last-Modified" : "{{now offset='-20 seconds'}}", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "repo", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F814:753B:922AFD:AD6CE0:5D924DE1" + "response": { + "status": 200, + "bodyFileName": "repos_github-api-test-org_github-api-ec57e178-8204-439b-b45a-58c773fa46f6.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4982", + "X-RateLimit-Reset": "1569872730", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"ef30773e1dfdb07ba4ea64143df970ab\"", + "Last-Modified": "{{now offset='-20 seconds'}}", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F814:753B:922AFD:AD6CE0:5D924DE1" } }, - "uuid" : "ec57e178-8204-439b-b45a-58c773fa46f6", - "persistent" : true, - "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", - "requiredScenarioState" : "Started", - "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", - "insertionIndex" : 4 + "uuid": "ec57e178-8204-439b-b45a-58c773fa46f6", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json index 656242526..fe8650d26 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json @@ -1,40 +1,43 @@ { - "id" : "d958863f-a1fb-4a46-bc43-aeccd3eef451", - "name" : "user", - "request" : { - "url" : "/user", - "method" : "GET" + "id": "d958863f-a1fb-4a46-bc43-aeccd3eef451", + "name": "user", + "request": { + "url": "/user", + "method": "GET" }, - "response" : { - "status" : 200, - "bodyFileName" : "user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json", - "headers" : { - "Date" : "{{now}}", - "Content-Type" : "application/json; charset=utf-8", - "Server" : "GitHub.com", - "Status" : "200 OK", - "X-RateLimit-Limit" : "5000", - "X-RateLimit-Remaining" : "4984", - "X-RateLimit-Reset" : "1569872730", - "Cache-Control" : "private, max-age=60, s-maxage=60", - "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], - "ETag" : "W/\"147519bb6367cc3d5d5a9d2a21de3937\"", - "Last-Modified" : "Tue, 24 Sep 2019 19:32:29 GMT", - "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", - "X-Accepted-OAuth-Scopes" : "", - "X-GitHub-Media-Type" : "github.v3; format=json", - "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin" : "*", - "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options" : "deny", - "X-Content-Type-Options" : "nosniff", - "X-XSS-Protection" : "1; mode=block", - "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy" : "default-src 'none'", - "X-GitHub-Request-Id" : "F814:753B:922AB8:AD6C88:5D924DE0" + "response": { + "status": 200, + "bodyFileName": "user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json", + "headers": { + "Date": "{{now}}", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1569872730", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"147519bb6367cc3d5d5a9d2a21de3937\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F814:753B:922AB8:AD6C88:5D924DE0" } }, - "uuid" : "d958863f-a1fb-4a46-bc43-aeccd3eef451", - "persistent" : true, - "insertionIndex" : 1 + "uuid": "d958863f-a1fb-4a46-bc43-aeccd3eef451", + "persistent": true, + "insertionIndex": 1 } \ No newline at end of file