diff --git a/src/main/java/org/kohsuke/github/GitHubBuilder.java b/src/main/java/org/kohsuke/github/GitHubBuilder.java
index a2be04ec04..169f87b310 100644
--- a/src/main/java/org/kohsuke/github/GitHubBuilder.java
+++ b/src/main/java/org/kohsuke/github/GitHubBuilder.java
@@ -19,7 +19,7 @@
*
* @since 1.59
*/
-public class GitHubBuilder {
+public class GitHubBuilder implements Cloneable {
// default scoped so unit tests can read them.
/* private */ String endpoint = GitHub.GITHUB_URL;
@@ -206,4 +206,13 @@ public HttpURLConnection connect(URL url) throws IOException {
public GitHub build() throws IOException {
return new GitHub(endpoint, user, oauthToken, password, connector, rateLimitHandler, abuseLimitHandler);
}
+
+ @Override
+ public GitHubBuilder clone() {
+ try {
+ return (GitHubBuilder) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new RuntimeException("Clone should be supported", e);
+ }
+ }
}
diff --git a/src/main/java/org/kohsuke/github/extras/OkHttpConnector.java b/src/main/java/org/kohsuke/github/extras/OkHttpConnector.java
index e7802c6bae..60b41e18ea 100644
--- a/src/main/java/org/kohsuke/github/extras/OkHttpConnector.java
+++ b/src/main/java/org/kohsuke/github/extras/OkHttpConnector.java
@@ -1,5 +1,6 @@
package org.kohsuke.github.extras;
+import com.squareup.okhttp.CacheControl;
import com.squareup.okhttp.ConnectionSpec;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.OkUrlFactory;
@@ -16,6 +17,7 @@
import java.util.Arrays;
import java.util.List;
+import java.util.concurrent.TimeUnit;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSocketFactory;
@@ -32,16 +34,49 @@
* @author Kohsuke Kawaguchi
*/
public class OkHttpConnector implements HttpConnector {
+ private static final String HEADER_NAME = "Cache-Control";
private final OkUrlFactory urlFactory;
+ private final String maxAgeHeaderValue;
+
public OkHttpConnector(OkUrlFactory urlFactory) {
+ this(urlFactory, 0);
+ }
+
+ /**
+ * package private for tests to be able to change max-age for cache.
+ * @param urlFactory
+ * @param cacheMaxAge
+ */
+ OkHttpConnector(OkUrlFactory urlFactory, int cacheMaxAge) {
urlFactory.client().setSslSocketFactory(TlsSocketFactory());
urlFactory.client().setConnectionSpecs(TlsConnectionSpecs());
this.urlFactory = urlFactory;
+
+ if (cacheMaxAge >= 0 && urlFactory.client() != null && urlFactory.client().getCache() != null) {
+ maxAgeHeaderValue = new CacheControl.Builder()
+ .maxAge(cacheMaxAge, TimeUnit.SECONDS)
+ .build()
+ .toString();
+ } else {
+ maxAgeHeaderValue = null;
+ }
}
+
public HttpURLConnection connect(URL url) throws IOException {
- return urlFactory.open(url);
+ HttpURLConnection urlConnection = urlFactory.open(url);
+ if (maxAgeHeaderValue != null) {
+ // By default OkHttp honors max-age, meaning it will use local cache
+ // without checking the network within that time frame.
+ // However, that can result in stale data being returned during that time so
+ // we force network-based checking no matter how often the query is made.
+ // OkHttp still automatically does ETag checking and returns cached data when
+ // GitHub reports 304, but those do not count against rate limit.
+ urlConnection.setRequestProperty(HEADER_NAME, maxAgeHeaderValue);
+ }
+
+ return urlConnection;
}
/** Returns TLSv1.2 only SSL Socket Factory. */
diff --git a/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java b/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java
index b7846d9bd8..3fa60b2e55 100644
--- a/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java
+++ b/src/test/java/org/kohsuke/github/AbstractGitHubApiWireMockTest.java
@@ -4,6 +4,7 @@
import com.github.tomakehurst.wiremock.core.WireMockConfiguration;
import com.github.tomakehurst.wiremock.extension.Parameters;
import com.github.tomakehurst.wiremock.extension.ResponseTransformer;
+import com.github.tomakehurst.wiremock.extension.responsetemplating.ResponseTemplateTransformer;
import com.github.tomakehurst.wiremock.http.Request;
import com.github.tomakehurst.wiremock.http.Response;
import org.apache.commons.io.IOUtils;
@@ -35,6 +36,8 @@ public abstract class AbstractGitHubApiWireMockTest extends Assert {
final static String STUBBED_USER_LOGIN = "placeholder-user";
final static String STUBBED_USER_PASSWORD = "placeholder-password";
+ protected boolean useDefaultGitHub = true;
+
/**
* {@link GitHub} instance for use during test.
* Traffic will be part of snapshot when taken.
@@ -52,11 +55,20 @@ public abstract class AbstractGitHubApiWireMockTest extends Assert {
protected final String baseRecordPath = "src/test/resources/" + baseFilesClassPath + "/wiremock";
@Rule
- public GitHubApiWireMockRule githubApi = new GitHubApiWireMockRule(
- WireMockConfiguration.options()
+ public final GitHubApiWireMockRule githubApi;
+
+ public AbstractGitHubApiWireMockTest() {
+ githubApi = new GitHubApiWireMockRule(
+ this.getWireMockOptions()
+ );
+ }
+
+ protected WireMockConfiguration getWireMockOptions() {
+ return WireMockConfiguration.options()
.dynamicPort()
- .usingFilesUnderDirectory(baseRecordPath)
- );
+ .usingFilesUnderDirectory(baseRecordPath);
+ };
+
private static GitHubBuilder createGitHubBuilder() {
@@ -86,12 +98,7 @@ private static GitHubBuilder createGitHubBuilder() {
}
protected GitHubBuilder getGitHubBuilder() {
- return githubBuilder;
- }
-
- @Before
- public void wireMockSetup() throws Exception {
- GitHubBuilder builder = getGitHubBuilder();
+ GitHubBuilder builder = githubBuilder.clone();
if (!githubApi.isUseProxy()) {
// This sets the user and password to a placeholder for wiremock testing
@@ -100,12 +107,21 @@ public void wireMockSetup() throws Exception {
builder.withPassword(STUBBED_USER_LOGIN, STUBBED_USER_PASSWORD);
}
- gitHub = builder
- .withEndpoint("http://localhost:" + githubApi.port())
- .build();
+ return builder;
+ }
+
+ @Before
+ public void wireMockSetup() throws Exception {
+ GitHubBuilder builder = getGitHubBuilder()
+ .withEndpoint(githubApi.baseUrl());
+
+ if (useDefaultGitHub) {
+ gitHub = builder
+ .build();
+ }
if (githubApi.isUseProxy()) {
- gitHubBeforeAfter = builder
+ gitHubBeforeAfter = getGitHubBuilder()
.withEndpoint("https://api.github.com/")
.build();
} else {
diff --git a/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java b/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java
new file mode 100644
index 0000000000..5ea001cc91
--- /dev/null
+++ b/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java
@@ -0,0 +1,298 @@
+package org.kohsuke.github.extras;
+
+import com.github.tomakehurst.wiremock.core.WireMockConfiguration;
+import com.github.tomakehurst.wiremock.extension.responsetemplating.ResponseTemplateTransformer;
+import com.github.tomakehurst.wiremock.matching.RequestPatternBuilder;
+import com.squareup.okhttp.OkUrlFactory;
+import com.squareup.okhttp.Cache;
+import com.squareup.okhttp.OkHttpClient;
+import org.apache.commons.io.FileUtils;
+import org.junit.Before;
+import org.junit.Test;
+import org.kohsuke.github.*;
+
+import javax.xml.datatype.Duration;
+import java.io.File;
+import java.io.IOException;
+import java.util.Objects;
+
+import static org.hamcrest.Matchers.*;
+import static org.hamcrest.core.Is.is;
+import static org.junit.Assume.assumeFalse;
+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.
+ *
+ *
+ * @author Liam Newman
+ */
+public class OkHttpConnectorTest extends AbstractGitHubApiWireMockTest {
+
+ public OkHttpConnectorTest() {
+ useDefaultGitHub = false;
+ }
+
+ private static int defaultRateLimitUsed = 17;
+ private static int okhttpRateLimitUsed = 17;
+ private static int maxAgeZeroRateLimitUsed = 7;
+ private static int maxAgeThreeRateLimitUsed = 7;
+ private static int maxAgeNoneRateLimitUsed = 4;
+
+ private static int userRequestCount = 0;
+
+ private static int defaultNetworkRequestCount = 16;
+ private static int okhttpNetworkRequestCount = 16;
+ private static int maxAgeZeroNetworkRequestCount = 16;
+ private static int maxAgeThreeNetworkRequestCount = 9;
+ private static int maxAgeNoneNetworkRequestCount = 5;
+
+ private static int maxAgeZeroHitCount = 10;
+ private static int maxAgeThreeHitCount = 10;
+ private static int maxAgeNoneHitCount = 11;
+
+ private GHRateLimit rateLimitBefore;
+
+ @Override
+ protected WireMockConfiguration getWireMockOptions() {
+ return super.getWireMockOptions()
+ .extensions(ResponseTemplateTransformer.builder()
+ .global(true)
+ .maxCacheEntries(0L)
+ .build()
+ //new ResponseTemplateTransformer(true)
+ );
+ }
+
+ @Before
+ public void setupRepo() throws Exception {
+ if (githubApi.isUseProxy()) {
+ GHRepository repo = getRepository(gitHubBeforeAfter);
+ repo.setDescription("Resetting");
+
+ // Let things settle a bit between tests when working against the live site
+ Thread.sleep(5000);
+ userRequestCount = 1;
+ }
+ }
+
+ @Test
+ public void DefaultConnector() throws Exception {
+
+ this.gitHub = getGitHubBuilder()
+ .withEndpoint(githubApi.baseUrl())
+ .build();
+
+ doTestActions();
+
+ // Testing behavior after change
+ // Uncached connection gets updated correctly but at cost of rate limit
+ assertThat(getRepository(gitHub).getDescription(), is("Tricky"));
+
+ checkRequestAndLimit(defaultNetworkRequestCount, defaultRateLimitUsed);
+ }
+
+ @Test
+ public void OkHttpConnector_NoCache() throws Exception {
+
+ OkHttpClient client = createClient(false);
+ OkHttpConnector connector = new OkHttpConnector(new OkUrlFactory(client));
+
+ this.gitHub = getGitHubBuilder()
+ .withEndpoint(githubApi.baseUrl())
+ .withConnector(connector)
+ .build();
+
+ doTestActions();
+
+ // Testing behavior after change
+ // Uncached okhttp connection gets updated correctly but at cost of rate limit
+ assertThat(getRepository(gitHub).getDescription(), is("Tricky"));
+
+ checkRequestAndLimit(okhttpNetworkRequestCount, okhttpRateLimitUsed);
+
+ Cache cache = client.getCache();
+ assertThat("Cache", cache, is(nullValue()));
+ }
+
+ @Test
+ public void OkHttpConnector_Cache_MaxAgeNone() throws Exception {
+ // The responses were recorded from github, but the Date headers
+ // have been templated to make caching behavior work as expected.
+ // This is reasonable as long as the number of network requests matches up.
+ snapshotNotAllowed();
+
+ OkHttpClient client = createClient(true);
+ OkHttpConnector connector = new OkHttpConnector(new OkUrlFactory(client), -1);
+
+ this.gitHub = getGitHubBuilder()
+ .withEndpoint(githubApi.baseUrl())
+ .withConnector(connector)
+ .build();
+
+ doTestActions();
+
+ // Testing behavior after change
+ // NOTE: this is wrong! The live data changed!
+ // Due to max-age (default 60 from response) the cache returns the old data.
+ assertThat(getRepository(gitHub).getDescription(), is(githubApi.getMethodName()));
+
+ checkRequestAndLimit(maxAgeNoneNetworkRequestCount, maxAgeNoneRateLimitUsed);
+
+ Cache cache = client.getCache();
+
+ // 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));
+ }
+
+ @Test
+ public void OkHttpConnector_Cache_MaxAge_Three() throws Exception {
+
+ // NOTE: This test is very timing sensitive.
+ // It can be run locally to verify behavior but snapshot data is to touchy
+ assumeFalse("Test only valid when not taking a snapshot", githubApi.isTakeSnapshot());
+ assumeTrue("Test only valid when proxying (-Dtest.github.useProxy to enable)", githubApi.isUseProxy());
+
+
+ OkHttpClient client = createClient(true);
+ OkHttpConnector connector = new OkHttpConnector(new OkUrlFactory(client), 3);
+
+ this.gitHub = getGitHubBuilder()
+ .withEndpoint(githubApi.baseUrl())
+ .withConnector(connector)
+ .build();
+
+ doTestActions();
+
+ // Due to max-age=3 this eventually checks the site and gets updated information. Yay?
+ assertThat(getRepository(gitHub).getDescription(), is("Tricky"));
+
+ checkRequestAndLimit(maxAgeThreeNetworkRequestCount, maxAgeThreeRateLimitUsed);
+
+ Cache cache = client.getCache();
+ assertThat("getHitCount", cache.getHitCount(), is(maxAgeThreeHitCount));
+ }
+
+ @Test
+ public void OkHttpConnector_Cache_MaxAgeDefault_Zero() throws Exception {
+ // The responses were recorded from github, but the Date headers
+ // have been templated to make caching behavior work as expected.
+ // This is reasonable as long as the number of network requests matches up.
+ snapshotNotAllowed();
+
+ OkHttpClient client = createClient(true);
+ OkHttpConnector connector = new OkHttpConnector(new OkUrlFactory(client));
+
+ this.gitHub = getGitHubBuilder()
+ .withEndpoint(githubApi.baseUrl())
+ .withConnector(connector)
+ .build();
+
+ doTestActions();
+
+ // Testing behavior after change
+ // NOTE: max-age=0 produces the same result at uncached without added rate-limit use.
+ assertThat(getRepository(gitHub).getDescription(), is("Tricky"));
+
+ checkRequestAndLimit(maxAgeZeroNetworkRequestCount, maxAgeZeroRateLimitUsed);
+
+ Cache cache = client.getCache();
+ assertThat("getHitCount", cache.getHitCount(), is(maxAgeZeroHitCount));
+ }
+
+ private void checkRequestAndLimit(int networkRequestCount, int rateLimitUsed) throws IOException {
+ GHRateLimit rateLimitAfter = gitHub.rateLimit();
+ assertThat("Request Count",
+ getRequestCount(),
+ is(networkRequestCount + userRequestCount));
+
+ // Rate limit must be under this value, but if it wiggles we don't care
+ assertThat("Rate Limit Change",
+ rateLimitBefore.remaining - rateLimitAfter.remaining,
+ is(lessThanOrEqualTo(rateLimitUsed + userRequestCount)));
+
+ }
+
+ private int getRequestCount() {
+ return githubApi.countRequestsMatching(RequestPatternBuilder.allRequests().build()).getCount();
+ }
+
+ private OkHttpClient createClient(boolean useCache) throws IOException {
+ OkHttpClient client = new OkHttpClient();
+
+ if (useCache) {
+ File cacheDir = new File("target/cache/" + baseFilesClassPath + "/" + githubApi.getMethodName());
+ cacheDir.mkdirs();
+ FileUtils.cleanDirectory(cacheDir);
+ Cache cache = new Cache(cacheDir, 100 * 1024L * 1024L);
+
+ client.setCache(cache);
+ }
+
+ return client;
+ }
+
+
+ /**
+ * This is a standard set of actions to be performed with each connector
+ * @throws Exception
+ */
+ private void doTestActions() throws Exception {
+ rateLimitBefore = gitHub.getRateLimit();
+
+ String name = githubApi.getMethodName();
+
+
+ GHRepository repo = getRepository(gitHub);
+
+ // Testing behavior when nothing has changed.
+ pollForChange("Resetting");
+ assertThat(getRepository(gitHub).getDescription(), is("Resetting"));
+
+ repo.setDescription(name);
+
+ pollForChange(name);
+
+ // Test behavior after change
+ assertThat(getRepository(gitHub).getDescription(), is(name));
+
+
+ // Get Tricky - make a change via a different client
+ if (githubApi.isUseProxy()) {
+ GHRepository altRepo = getRepository(gitHubBeforeAfter);
+ altRepo.setDescription("Tricky");
+ }
+
+ // Testing behavior after change
+ pollForChange("Tricky");
+ }
+
+ private void pollForChange(String name) throws IOException, InterruptedException {
+ getRepository(gitHub).getDescription();
+ Thread.sleep(500);
+ getRepository(gitHub).getDescription();
+ Thread.sleep(1000);
+ getRepository(gitHub).getDescription();
+ Thread.sleep(4000);
+ }
+
+ private static GHRepository getRepository(GitHub gitHub) throws IOException {
+ return gitHub.getOrganization("github-api-test-org").getRepository("github-api");
+ }
+
+}
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/orgs_github-api-test-org-735e8274-2b9f-4e56-b7eb-efb51671aa16.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/orgs_github-api-test-org-735e8274-2b9f-4e56-b7eb-efb51671aa16.json
new file mode 100644
index 0000000000..61547e3d98
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/orgs_github-api-test-org-735e8274-2b9f-4e56-b7eb-efb51671aa16.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": 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/DefaultConnector/__files/rate_limit-56a45440-7250-4615-9e39-f32ed5f24d40.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/rate_limit-56a45440-7250-4615-9e39-f32ed5f24d40.json
new file mode 100644
index 0000000000..14af865bef
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/rate_limit-56a45440-7250-4615-9e39-f32ed5f24d40.json
@@ -0,0 +1,29 @@
+{
+ "resources": {
+ "core": {
+ "limit": 5000,
+ "remaining": 4717,
+ "reset": 1569866107
+ },
+ "search": {
+ "limit": 30,
+ "remaining": 30,
+ "reset": 1569862574
+ },
+ "graphql": {
+ "limit": 5000,
+ "remaining": 5000,
+ "reset": 1569866114
+ },
+ "integration_manifest": {
+ "limit": 5000,
+ "remaining": 5000,
+ "reset": 1569866114
+ }
+ },
+ "rate": {
+ "limit": 5000,
+ "remaining": 4717,
+ "reset": 1569866107
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-06582096-97d7-484a-9f75-97f38540d4ba.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-06582096-97d7-484a-9f75-97f38540d4ba.json
new file mode 100644
index 0000000000..d0368c4c6e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-06582096-97d7-484a-9f75-97f38540d4ba.json
@@ -0,0 +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": "DefaultConnector",
+ "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-30T16:55:22Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-1ed5a89a-3504-4e58-8feb-36ea82bc0fc6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-1ed5a89a-3504-4e58-8feb-36ea82bc0fc6.json
new file mode 100644
index 0000000000..6b23662f8e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-1ed5a89a-3504-4e58-8feb-36ea82bc0fc6.json
@@ -0,0 +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-30T16:55:30Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-1f9c125d-f4b9-4cf2-a577-db6653212d6a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-1f9c125d-f4b9-4cf2-a577-db6653212d6a.json
new file mode 100644
index 0000000000..d0d5acb3d5
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-1f9c125d-f4b9-4cf2-a577-db6653212d6a.json
@@ -0,0 +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-30T16:55:08Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-52d2b85d-6f62-441f-9c39-f8431db45130.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-52d2b85d-6f62-441f-9c39-f8431db45130.json
new file mode 100644
index 0000000000..d0368c4c6e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-52d2b85d-6f62-441f-9c39-f8431db45130.json
@@ -0,0 +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": "DefaultConnector",
+ "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-30T16:55:22Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-5f00134d-2aea-477a-8bcc-eddf19710263.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-5f00134d-2aea-477a-8bcc-eddf19710263.json
new file mode 100644
index 0000000000..d0d5acb3d5
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-5f00134d-2aea-477a-8bcc-eddf19710263.json
@@ -0,0 +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-30T16:55:08Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-931c2ba3-3b54-426d-a611-5c8a8dc7e400.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-931c2ba3-3b54-426d-a611-5c8a8dc7e400.json
new file mode 100644
index 0000000000..d0368c4c6e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-931c2ba3-3b54-426d-a611-5c8a8dc7e400.json
@@ -0,0 +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": "DefaultConnector",
+ "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-30T16:55:22Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-af0497da-2a7b-46d0-9dc0-8feddfc9dc6c.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-af0497da-2a7b-46d0-9dc0-8feddfc9dc6c.json
new file mode 100644
index 0000000000..d0368c4c6e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-af0497da-2a7b-46d0-9dc0-8feddfc9dc6c.json
@@ -0,0 +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": "DefaultConnector",
+ "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-30T16:55:22Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-b529a21c-daaa-49ea-80ad-5d67b3c1a6fb.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b529a21c-daaa-49ea-80ad-5d67b3c1a6fb.json
new file mode 100644
index 0000000000..6b23662f8e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b529a21c-daaa-49ea-80ad-5d67b3c1a6fb.json
@@ -0,0 +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-30T16:55:30Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-bcd9c446-f8cb-4092-a284-5009153aed91.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-bcd9c446-f8cb-4092-a284-5009153aed91.json
new file mode 100644
index 0000000000..d0d5acb3d5
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-bcd9c446-f8cb-4092-a284-5009153aed91.json
@@ -0,0 +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-30T16:55:08Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-ca8e64d2-a8af-4c75-af59-63b51e2eb716.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-ca8e64d2-a8af-4c75-af59-63b51e2eb716.json
new file mode 100644
index 0000000000..d0368c4c6e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-ca8e64d2-a8af-4c75-af59-63b51e2eb716.json
@@ -0,0 +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": "DefaultConnector",
+ "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-30T16:55:22Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-cafca820-5725-492f-abaf-12b2c96adbc6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-cafca820-5725-492f-abaf-12b2c96adbc6.json
new file mode 100644
index 0000000000..d0d5acb3d5
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-cafca820-5725-492f-abaf-12b2c96adbc6.json
@@ -0,0 +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-30T16:55:08Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-ce1bc2f8-f17e-463b-a950-02487f6d5dbe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-ce1bc2f8-f17e-463b-a950-02487f6d5dbe.json
new file mode 100644
index 0000000000..d0d5acb3d5
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-ce1bc2f8-f17e-463b-a950-02487f6d5dbe.json
@@ -0,0 +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-30T16:55:08Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-cec25305-37b3-4ab0-a5ba-2f7513798ed1.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-cec25305-37b3-4ab0-a5ba-2f7513798ed1.json
new file mode 100644
index 0000000000..6b23662f8e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-cec25305-37b3-4ab0-a5ba-2f7513798ed1.json
@@ -0,0 +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-30T16:55:30Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/repos_github-api-test-org_github-api-e79386f9-0358-4760-af21-eefcff4a37c8.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-e79386f9-0358-4760-af21-eefcff4a37c8.json
new file mode 100644
index 0000000000..6b23662f8e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-e79386f9-0358-4760-af21-eefcff4a37c8.json
@@ -0,0 +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-30T16:55:30Z",
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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-30T16:13:55Z",
+ "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": 11709,
+ "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/DefaultConnector/__files/user-b5238674-bdba-4cb5-ae17-49108689843a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/user-b5238674-bdba-4cb5-ae17-49108689843a.json
new file mode 100644
index 0000000000..8f5f361680
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/user-b5238674-bdba-4cb5-ae17-49108689843a.json
@@ -0,0 +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
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/orgs_github-api-test-org-735e8274-2b9f-4e56-b7eb-efb51671aa16.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/orgs_github-api-test-org-735e8274-2b9f-4e56-b7eb-efb51671aa16.json
new file mode 100644
index 0000000000..dfad373d05
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/orgs_github-api-test-org-735e8274-2b9f-4e56-b7eb-efb51671aa16.json
@@ -0,0 +1,43 @@
+{
+ "id": "735e8274-2b9f-4e56-b7eb-efb51671aa16",
+ "name": "orgs_github-api-test-org",
+ "request": {
+ "url": "/orgs/github-api-test-org",
+ "method": "GET"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "orgs_github-api-test-org-735e8274-2b9f-4e56-b7eb-efb51671aa16.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:14 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4716",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"daa553b1db7b807d5eafb289f3b6b214\"",
+ "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": "EC54:5ED2:1696DAE:1AB3F7C:5D923372"
+ }
+ },
+ "uuid": "735e8274-2b9f-4e56-b7eb-efb51671aa16",
+ "persistent": true,
+ "insertionIndex": 3
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/rate_limit-56a45440-7250-4615-9e39-f32ed5f24d40.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/rate_limit-56a45440-7250-4615-9e39-f32ed5f24d40.json
new file mode 100644
index 0000000000..550d8563a1
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/rate_limit-56a45440-7250-4615-9e39-f32ed5f24d40.json
@@ -0,0 +1,38 @@
+{
+ "id": "56a45440-7250-4615-9e39-f32ed5f24d40",
+ "name": "rate_limit",
+ "request": {
+ "url": "/rate_limit",
+ "method": "GET"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "rate_limit-56a45440-7250-4615-9e39-f32ed5f24d40.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:14 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4717",
+ "X-RateLimit-Reset": "1569866107",
+ "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": "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": "EC54:5ED2:1696D98:1AB3F33:5D923372"
+ }
+ },
+ "uuid": "56a45440-7250-4615-9e39-f32ed5f24d40",
+ "persistent": true,
+ "insertionIndex": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-06582096-97d7-484a-9f75-97f38540d4ba.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-06582096-97d7-484a-9f75-97f38540d4ba.json
new file mode 100644
index 0000000000..6de302112d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-06582096-97d7-484a-9f75-97f38540d4ba.json
@@ -0,0 +1,46 @@
+{
+ "id": "06582096-97d7-484a-9f75-97f38540d4ba",
+ "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-06582096-97d7-484a-9f75-97f38540d4ba.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:24 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4708",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"f4766b04bd12aa5c8614e9ad5cff5b6f\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:22 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": "EC54:5ED2:1697347:1AB45A2:5D92337B"
+ }
+ },
+ "uuid": "06582096-97d7-484a-9f75-97f38540d4ba",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-7",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-8",
+ "insertionIndex": 11
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-1ed5a89a-3504-4e58-8feb-36ea82bc0fc6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-1ed5a89a-3504-4e58-8feb-36ea82bc0fc6.json
new file mode 100644
index 0000000000..967b48f0e6
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-1ed5a89a-3504-4e58-8feb-36ea82bc0fc6.json
@@ -0,0 +1,46 @@
+{
+ "id": "1ed5a89a-3504-4e58-8feb-36ea82bc0fc6",
+ "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-1ed5a89a-3504-4e58-8feb-36ea82bc0fc6.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:31 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4702",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"55c24f2901e6dd85ed19776de575e8be\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:30 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": "EC54:5ED2:16977C7:1AB4ACB:5D923383"
+ }
+ },
+ "uuid": "1ed5a89a-3504-4e58-8feb-36ea82bc0fc6",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-11",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-12",
+ "insertionIndex": 15
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-1f9c125d-f4b9-4cf2-a577-db6653212d6a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-1f9c125d-f4b9-4cf2-a577-db6653212d6a.json
new file mode 100644
index 0000000000..00e526f1f9
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-1f9c125d-f4b9-4cf2-a577-db6653212d6a.json
@@ -0,0 +1,46 @@
+{
+ "id": "1f9c125d-f4b9-4cf2-a577-db6653212d6a",
+ "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-1f9c125d-f4b9-4cf2-a577-db6653212d6a.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:15 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4714",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"26bedc087d65c05e07d9d6249dfa10ff\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:08 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": "EC54:5ED2:1696E50:1AB4001:5D923373"
+ }
+ },
+ "uuid": "1f9c125d-f4b9-4cf2-a577-db6653212d6a",
+ "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-1-repos-github-api-test-org-github-api-3",
+ "insertionIndex": 5
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-52d2b85d-6f62-441f-9c39-f8431db45130.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-52d2b85d-6f62-441f-9c39-f8431db45130.json
new file mode 100644
index 0000000000..d49e426160
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-52d2b85d-6f62-441f-9c39-f8431db45130.json
@@ -0,0 +1,46 @@
+{
+ "id": "52d2b85d-6f62-441f-9c39-f8431db45130",
+ "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-52d2b85d-6f62-441f-9c39-f8431db45130.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:29 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4706",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"f4766b04bd12aa5c8614e9ad5cff5b6f\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:22 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": "EC54:5ED2:169768A:1AB46F5:5D92337D"
+ }
+ },
+ "uuid": "52d2b85d-6f62-441f-9c39-f8431db45130",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-9",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-10",
+ "insertionIndex": 13
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-5f00134d-2aea-477a-8bcc-eddf19710263.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-5f00134d-2aea-477a-8bcc-eddf19710263.json
new file mode 100644
index 0000000000..ee045ab65e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-5f00134d-2aea-477a-8bcc-eddf19710263.json
@@ -0,0 +1,46 @@
+{
+ "id": "5f00134d-2aea-477a-8bcc-eddf19710263",
+ "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-5f00134d-2aea-477a-8bcc-eddf19710263.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:22 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4711",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"26bedc087d65c05e07d9d6249dfa10ff\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:08 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": "EC54:5ED2:1697246:1AB4224:5D923376"
+ }
+ },
+ "uuid": "5f00134d-2aea-477a-8bcc-eddf19710263",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-5",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-6",
+ "insertionIndex": 8
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-931c2ba3-3b54-426d-a611-5c8a8dc7e400.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-931c2ba3-3b54-426d-a611-5c8a8dc7e400.json
new file mode 100644
index 0000000000..3c3498b8d8
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-931c2ba3-3b54-426d-a611-5c8a8dc7e400.json
@@ -0,0 +1,49 @@
+{
+ "id": "931c2ba3-3b54-426d-a611-5c8a8dc7e400",
+ "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\":\"DefaultConnector\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": true
+ }
+ ]
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "repos_github-api-test-org_github-api-931c2ba3-3b54-426d-a611-5c8a8dc7e400.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:22 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4710",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"f4766b04bd12aa5c8614e9ad5cff5b6f\"",
+ "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": "EC54:5ED2:169726C:1AB44F4:5D92337A"
+ }
+ },
+ "uuid": "931c2ba3-3b54-426d-a611-5c8a8dc7e400",
+ "persistent": true,
+ "insertionIndex": 9
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-af0497da-2a7b-46d0-9dc0-8feddfc9dc6c.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-af0497da-2a7b-46d0-9dc0-8feddfc9dc6c.json
new file mode 100644
index 0000000000..8987c2308b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-af0497da-2a7b-46d0-9dc0-8feddfc9dc6c.json
@@ -0,0 +1,46 @@
+{
+ "id": "af0497da-2a7b-46d0-9dc0-8feddfc9dc6c",
+ "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-af0497da-2a7b-46d0-9dc0-8feddfc9dc6c.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:25 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4707",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"f4766b04bd12aa5c8614e9ad5cff5b6f\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:22 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": "EC54:5ED2:169740C:1AB4620:5D92337C"
+ }
+ },
+ "uuid": "af0497da-2a7b-46d0-9dc0-8feddfc9dc6c",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-8",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-9",
+ "insertionIndex": 12
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b529a21c-daaa-49ea-80ad-5d67b3c1a6fb.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b529a21c-daaa-49ea-80ad-5d67b3c1a6fb.json
new file mode 100644
index 0000000000..264db72212
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b529a21c-daaa-49ea-80ad-5d67b3c1a6fb.json
@@ -0,0 +1,46 @@
+{
+ "id": "b529a21c-daaa-49ea-80ad-5d67b3c1a6fb",
+ "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-b529a21c-daaa-49ea-80ad-5d67b3c1a6fb.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:33 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4701",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"55c24f2901e6dd85ed19776de575e8be\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:30 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": "EC54:5ED2:1697879:1AB4B59:5D923383"
+ }
+ },
+ "uuid": "b529a21c-daaa-49ea-80ad-5d67b3c1a6fb",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-12",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-13",
+ "insertionIndex": 16
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-bcd9c446-f8cb-4092-a284-5009153aed91.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-bcd9c446-f8cb-4092-a284-5009153aed91.json
new file mode 100644
index 0000000000..5172924615
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-bcd9c446-f8cb-4092-a284-5009153aed91.json
@@ -0,0 +1,46 @@
+{
+ "id": "bcd9c446-f8cb-4092-a284-5009153aed91",
+ "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-bcd9c446-f8cb-4092-a284-5009153aed91.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:18 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4712",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"26bedc087d65c05e07d9d6249dfa10ff\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:08 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": "EC54:5ED2:1696FC9:1AB411F:5D923374"
+ }
+ },
+ "uuid": "bcd9c446-f8cb-4092-a284-5009153aed91",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-4",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-5",
+ "insertionIndex": 7
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-ca8e64d2-a8af-4c75-af59-63b51e2eb716.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-ca8e64d2-a8af-4c75-af59-63b51e2eb716.json
new file mode 100644
index 0000000000..90694b2655
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-ca8e64d2-a8af-4c75-af59-63b51e2eb716.json
@@ -0,0 +1,46 @@
+{
+ "id": "ca8e64d2-a8af-4c75-af59-63b51e2eb716",
+ "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-ca8e64d2-a8af-4c75-af59-63b51e2eb716.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:23 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4709",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"f4766b04bd12aa5c8614e9ad5cff5b6f\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:22 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": "EC54:5ED2:16972CC:1AB4544:5D92337A"
+ }
+ },
+ "uuid": "ca8e64d2-a8af-4c75-af59-63b51e2eb716",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-6",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-7",
+ "insertionIndex": 10
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-cafca820-5725-492f-abaf-12b2c96adbc6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-cafca820-5725-492f-abaf-12b2c96adbc6.json
new file mode 100644
index 0000000000..730d06350d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-cafca820-5725-492f-abaf-12b2c96adbc6.json
@@ -0,0 +1,46 @@
+{
+ "id": "cafca820-5725-492f-abaf-12b2c96adbc6",
+ "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-cafca820-5725-492f-abaf-12b2c96adbc6.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:15 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4715",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"26bedc087d65c05e07d9d6249dfa10ff\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:08 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": "EC54:5ED2:1696DCB:1AB3FA7:5D923372"
+ }
+ },
+ "uuid": "cafca820-5725-492f-abaf-12b2c96adbc6",
+ "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/DefaultConnector/mappings/repos_github-api-test-org_github-api-ce1bc2f8-f17e-463b-a950-02487f6d5dbe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-ce1bc2f8-f17e-463b-a950-02487f6d5dbe.json
new file mode 100644
index 0000000000..64acec86ae
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-ce1bc2f8-f17e-463b-a950-02487f6d5dbe.json
@@ -0,0 +1,46 @@
+{
+ "id": "ce1bc2f8-f17e-463b-a950-02487f6d5dbe",
+ "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-ce1bc2f8-f17e-463b-a950-02487f6d5dbe.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:16 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4713",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"26bedc087d65c05e07d9d6249dfa10ff\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:08 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": "EC54:5ED2:1696ED7:1AB406B:5D923373"
+ }
+ },
+ "uuid": "ce1bc2f8-f17e-463b-a950-02487f6d5dbe",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-3",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-4",
+ "insertionIndex": 6
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-cec25305-37b3-4ab0-a5ba-2f7513798ed1.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-cec25305-37b3-4ab0-a5ba-2f7513798ed1.json
new file mode 100644
index 0000000000..12c9b19b1e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-cec25305-37b3-4ab0-a5ba-2f7513798ed1.json
@@ -0,0 +1,46 @@
+{
+ "id": "cec25305-37b3-4ab0-a5ba-2f7513798ed1",
+ "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-cec25305-37b3-4ab0-a5ba-2f7513798ed1.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:31 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4703",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"55c24f2901e6dd85ed19776de575e8be\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:30 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": "EC54:5ED2:169774B:1AB49E3:5D923381"
+ }
+ },
+ "uuid": "cec25305-37b3-4ab0-a5ba-2f7513798ed1",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-10",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-11",
+ "insertionIndex": 14
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-e79386f9-0358-4760-af21-eefcff4a37c8.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-e79386f9-0358-4760-af21-eefcff4a37c8.json
new file mode 100644
index 0000000000..f0fa51b7aa
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-e79386f9-0358-4760-af21-eefcff4a37c8.json
@@ -0,0 +1,45 @@
+{
+ "id": "e79386f9-0358-4760-af21-eefcff4a37c8",
+ "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-e79386f9-0358-4760-af21-eefcff4a37c8.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:37 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4700",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"55c24f2901e6dd85ed19776de575e8be\"",
+ "Last-Modified": "Mon, 30 Sep 2019 16:55:30 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": "EC54:5ED2:1697A9D:1AB4C23:5D923385"
+ }
+ },
+ "uuid": "e79386f9-0358-4760-af21-eefcff4a37c8",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-13",
+ "insertionIndex": 17
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/user-b5238674-bdba-4cb5-ae17-49108689843a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/user-b5238674-bdba-4cb5-ae17-49108689843a.json
new file mode 100644
index 0000000000..5603edc87d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/user-b5238674-bdba-4cb5-ae17-49108689843a.json
@@ -0,0 +1,43 @@
+{
+ "id": "b5238674-bdba-4cb5-ae17-49108689843a",
+ "name": "user",
+ "request": {
+ "url": "/user",
+ "method": "GET"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "user-b5238674-bdba-4cb5-ae17-49108689843a.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 16:55:14 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4717",
+ "X-RateLimit-Reset": "1569866107",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"843642a3b820a8cca6b146e8d5a2caf5\"",
+ "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": "EC54:5ED2:1696D5F:1AB3F1D:5D923372"
+ }
+ },
+ "uuid": "b5238674-bdba-4cb5-ae17-49108689843a",
+ "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
new file mode 100644
index 0000000000..887621a09d
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..6d93c013ad
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..7d2cedb48f
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..7d2cedb48f
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..7f029dc462
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..93c2dff86d
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..71a47adc31
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..71496f2769
--- /dev/null
+++ 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
@@ -0,0 +1,40 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..55cc1939dd
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/rate_limit-36588a64-cb68-4ea5-8995-c2cdced6b84a.json
@@ -0,0 +1,38 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..d4ea08e9b7
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..81c3d50b26
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..84ca4c01f2
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..04d2a9b150
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..6b0fb69811
--- /dev/null
+++ 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
@@ -0,0 +1,48 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..e8c974e4ab
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..afce98b178
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..ef5884b837
--- /dev/null
+++ 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
@@ -0,0 +1,42 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..24df34ba08
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..b7f67a8877
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..d3dd669a81
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..f608ea366c
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..ca36955fd0
--- /dev/null
+++ 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
@@ -0,0 +1,38 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..9f6bc40ac3
--- /dev/null
+++ 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
@@ -0,0 +1,44 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..3c4160511b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-5dbb2b95-e55b-4185-b143-ec3f21495fa6.json
@@ -0,0 +1,40 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..887621a09d
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..2861f4da55
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..8f639168a1
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..8f639168a1
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..b6cab7c5c9
--- /dev/null
+++ 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
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..71a47adc31
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json
@@ -0,0 +1 @@
+{"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
new file mode 100644
index 0000000000..b58817a5fa
--- /dev/null
+++ 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
@@ -0,0 +1,40 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..94297e28ea
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/rate_limit-b23929e7-7216-403a-b1c4-1b0c2ecf6f85.json
@@ -0,0 +1,38 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..b16099d8e0
--- /dev/null
+++ 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
@@ -0,0 +1,42 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..5135b0a323
--- /dev/null
+++ 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
@@ -0,0 +1,44 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..e1c31be399
--- /dev/null
+++ 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
@@ -0,0 +1,43 @@
+{
+ "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"
+ }
+ },
+ "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
new file mode 100644
index 0000000000..656242526e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-d958863f-a1fb-4a46-bc43-aeccd3eef451.json
@@ -0,0 +1,40 @@
+{
+ "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"
+ }
+ },
+ "uuid" : "d958863f-a1fb-4a46-bc43-aeccd3eef451",
+ "persistent" : true,
+ "insertionIndex" : 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/orgs_github-api-test-org-82590d42-fccd-4d3b-8f87-b5b9c1bb672b.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/orgs_github-api-test-org-82590d42-fccd-4d3b-8f87-b5b9c1bb672b.json
new file mode 100644
index 0000000000..61547e3d98
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/orgs_github-api-test-org-82590d42-fccd-4d3b-8f87-b5b9c1bb672b.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": 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_NoCache/__files/rate_limit-e76bb3c7-edf0-4cc4-9e62-0163e5910625.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/rate_limit-e76bb3c7-edf0-4cc4-9e62-0163e5910625.json
new file mode 100644
index 0000000000..10296fcf9b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/rate_limit-e76bb3c7-edf0-4cc4-9e62-0163e5910625.json
@@ -0,0 +1,29 @@
+{
+ "resources": {
+ "core": {
+ "limit": 5000,
+ "remaining": 4995,
+ "reset": 1569867392
+ },
+ "search": {
+ "limit": 30,
+ "remaining": 30,
+ "reset": 1569863859
+ },
+ "graphql": {
+ "limit": 5000,
+ "remaining": 5000,
+ "reset": 1569867399
+ },
+ "integration_manifest": {
+ "limit": 5000,
+ "remaining": 5000,
+ "reset": 1569867399
+ }
+ },
+ "rate": {
+ "limit": 5000,
+ "remaining": 4995,
+ "reset": 1569867392
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-14477383-aab7-4a52-8d72-47e1ad29a34d.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-14477383-aab7-4a52-8d72-47e1ad29a34d.json
new file mode 100644
index 0000000000..70d7abd7ec
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-14477383-aab7-4a52-8d72-47e1ad29a34d.json
@@ -0,0 +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_NoCache",
+ "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-30T17:16:47Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-1ec048c4-808b-4541-a821-18f196cc23fe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-1ec048c4-808b-4541-a821-18f196cc23fe.json
new file mode 100644
index 0000000000..72eefca151
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-1ec048c4-808b-4541-a821-18f196cc23fe.json
@@ -0,0 +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-30T17:16: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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-31849f9f-0c72-4167-b458-853164cbb677.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-31849f9f-0c72-4167-b458-853164cbb677.json
new file mode 100644
index 0000000000..70d7abd7ec
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-31849f9f-0c72-4167-b458-853164cbb677.json
@@ -0,0 +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_NoCache",
+ "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-30T17:16:47Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-3e8ef833-99b0-4c1d-99e9-e7fd9cc26024.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-3e8ef833-99b0-4c1d-99e9-e7fd9cc26024.json
new file mode 100644
index 0000000000..72eefca151
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-3e8ef833-99b0-4c1d-99e9-e7fd9cc26024.json
@@ -0,0 +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-30T17:16: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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-49fce600-b69e-4ef7-af64-594450ae1a1a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-49fce600-b69e-4ef7-af64-594450ae1a1a.json
new file mode 100644
index 0000000000..70d7abd7ec
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-49fce600-b69e-4ef7-af64-594450ae1a1a.json
@@ -0,0 +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_NoCache",
+ "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-30T17:16:47Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-50e14b70-b8b5-4124-bc6e-b7d68a05ef3a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-50e14b70-b8b5-4124-bc6e-b7d68a05ef3a.json
new file mode 100644
index 0000000000..a056cab791
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-50e14b70-b8b5-4124-bc6e-b7d68a05ef3a.json
@@ -0,0 +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-30T17:16:33Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-57466b15-e7fb-46de-88ca-2ab26cc0fe7d.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-57466b15-e7fb-46de-88ca-2ab26cc0fe7d.json
new file mode 100644
index 0000000000..a056cab791
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-57466b15-e7fb-46de-88ca-2ab26cc0fe7d.json
@@ -0,0 +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-30T17:16:33Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-703fd12f-995a-4af9-8504-10ff32c81100.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-703fd12f-995a-4af9-8504-10ff32c81100.json
new file mode 100644
index 0000000000..70d7abd7ec
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-703fd12f-995a-4af9-8504-10ff32c81100.json
@@ -0,0 +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_NoCache",
+ "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-30T17:16:47Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-720bd2cb-d00e-46c5-903f-3456521e4345.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-720bd2cb-d00e-46c5-903f-3456521e4345.json
new file mode 100644
index 0000000000..a056cab791
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-720bd2cb-d00e-46c5-903f-3456521e4345.json
@@ -0,0 +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-30T17:16:33Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-766326ea-da2e-4fe5-bea2-157db149047a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-766326ea-da2e-4fe5-bea2-157db149047a.json
new file mode 100644
index 0000000000..a056cab791
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-766326ea-da2e-4fe5-bea2-157db149047a.json
@@ -0,0 +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-30T17:16:33Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-8a71a8b0-9915-4365-b581-5ca05b407fc6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-8a71a8b0-9915-4365-b581-5ca05b407fc6.json
new file mode 100644
index 0000000000..72eefca151
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-8a71a8b0-9915-4365-b581-5ca05b407fc6.json
@@ -0,0 +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-30T17:16: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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-99fb84f6-79c5-424c-ba10-007a9912567a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-99fb84f6-79c5-424c-ba10-007a9912567a.json
new file mode 100644
index 0000000000..a056cab791
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-99fb84f6-79c5-424c-ba10-007a9912567a.json
@@ -0,0 +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-30T17:16:33Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-d7826ada-76b1-467b-b83e-9a1f3c30a719.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-d7826ada-76b1-467b-b83e-9a1f3c30a719.json
new file mode 100644
index 0000000000..70d7abd7ec
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-d7826ada-76b1-467b-b83e-9a1f3c30a719.json
@@ -0,0 +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_NoCache",
+ "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-30T17:16:47Z",
+ "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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/repos_github-api-test-org_github-api-e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace.json
new file mode 100644
index 0000000000..72eefca151
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace.json
@@ -0,0 +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-30T17:16: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-30T16:13:55Z",
+ "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-30T16:13:55Z",
+ "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_NoCache/__files/user-754481d3-2e4b-4ed4-92d0-73795dac7985.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-754481d3-2e4b-4ed4-92d0-73795dac7985.json
new file mode 100644
index 0000000000..8f5f361680
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-754481d3-2e4b-4ed4-92d0-73795dac7985.json
@@ -0,0 +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
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/orgs_github-api-test-org-82590d42-fccd-4d3b-8f87-b5b9c1bb672b.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/orgs_github-api-test-org-82590d42-fccd-4d3b-8f87-b5b9c1bb672b.json
new file mode 100644
index 0000000000..06a0126e75
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/orgs_github-api-test-org-82590d42-fccd-4d3b-8f87-b5b9c1bb672b.json
@@ -0,0 +1,43 @@
+{
+ "id": "82590d42-fccd-4d3b-8f87-b5b9c1bb672b",
+ "name": "orgs_github-api-test-org",
+ "request": {
+ "url": "/orgs/github-api-test-org",
+ "method": "GET"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "orgs_github-api-test-org-82590d42-fccd-4d3b-8f87-b5b9c1bb672b.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:39 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": "1569867392",
+ "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": "ED63:7341:128E1DD:1606336:5D923877"
+ }
+ },
+ "uuid": "82590d42-fccd-4d3b-8f87-b5b9c1bb672b",
+ "persistent": true,
+ "insertionIndex": 3
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/rate_limit-e76bb3c7-edf0-4cc4-9e62-0163e5910625.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/rate_limit-e76bb3c7-edf0-4cc4-9e62-0163e5910625.json
new file mode 100644
index 0000000000..9e8977e212
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/rate_limit-e76bb3c7-edf0-4cc4-9e62-0163e5910625.json
@@ -0,0 +1,38 @@
+{
+ "id": "e76bb3c7-edf0-4cc4-9e62-0163e5910625",
+ "name": "rate_limit",
+ "request": {
+ "url": "/rate_limit",
+ "method": "GET"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "rate_limit-e76bb3c7-edf0-4cc4-9e62-0163e5910625.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:39 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4995",
+ "X-RateLimit-Reset": "1569867392",
+ "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": "ED63:7341:128E1D0:1606317:5D923876"
+ }
+ },
+ "uuid": "e76bb3c7-edf0-4cc4-9e62-0163e5910625",
+ "persistent": true,
+ "insertionIndex": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-14477383-aab7-4a52-8d72-47e1ad29a34d.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-14477383-aab7-4a52-8d72-47e1ad29a34d.json
new file mode 100644
index 0000000000..4d563b8c97
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-14477383-aab7-4a52-8d72-47e1ad29a34d.json
@@ -0,0 +1,46 @@
+{
+ "id": "14477383-aab7-4a52-8d72-47e1ad29a34d",
+ "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-14477383-aab7-4a52-8d72-47e1ad29a34d.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:48 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"be4dcd1642bda414711f76068b3ec3b4\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:47 GMT",
+ "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": "ED63:7341:128E5CC:160679A:5D92387F"
+ }
+ },
+ "uuid": "14477383-aab7-4a52-8d72-47e1ad29a34d",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-7",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-8",
+ "insertionIndex": 11
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-1ec048c4-808b-4541-a821-18f196cc23fe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-1ec048c4-808b-4541-a821-18f196cc23fe.json
new file mode 100644
index 0000000000..d3aa16206d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-1ec048c4-808b-4541-a821-18f196cc23fe.json
@@ -0,0 +1,46 @@
+{
+ "id": "1ec048c4-808b-4541-a821-18f196cc23fe",
+ "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-1ec048c4-808b-4541-a821-18f196cc23fe.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:57 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4979",
+ "X-RateLimit-Reset": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"bb6e00d619256e29fb3c48198a09436c\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:55 GMT",
+ "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": "ED63:7341:128E9DC:1606C32:5D923888"
+ }
+ },
+ "uuid": "1ec048c4-808b-4541-a821-18f196cc23fe",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-12",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-13",
+ "insertionIndex": 16
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-31849f9f-0c72-4167-b458-853164cbb677.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-31849f9f-0c72-4167-b458-853164cbb677.json
new file mode 100644
index 0000000000..c304cf21e9
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-31849f9f-0c72-4167-b458-853164cbb677.json
@@ -0,0 +1,46 @@
+{
+ "id": "31849f9f-0c72-4167-b458-853164cbb677",
+ "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-31849f9f-0c72-4167-b458-853164cbb677.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:54 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4984",
+ "X-RateLimit-Reset": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"be4dcd1642bda414711f76068b3ec3b4\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:47 GMT",
+ "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": "ED63:7341:128E88D:16068DC:5D923882"
+ }
+ },
+ "uuid": "31849f9f-0c72-4167-b458-853164cbb677",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-9",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-10",
+ "insertionIndex": 13
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-3e8ef833-99b0-4c1d-99e9-e7fd9cc26024.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-3e8ef833-99b0-4c1d-99e9-e7fd9cc26024.json
new file mode 100644
index 0000000000..ac4b7ea0eb
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-3e8ef833-99b0-4c1d-99e9-e7fd9cc26024.json
@@ -0,0 +1,45 @@
+{
+ "id": "3e8ef833-99b0-4c1d-99e9-e7fd9cc26024",
+ "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-3e8ef833-99b0-4c1d-99e9-e7fd9cc26024.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:17:02 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4978",
+ "X-RateLimit-Reset": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"bb6e00d619256e29fb3c48198a09436c\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:55 GMT",
+ "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": "ED63:7341:128EBB8:1606CAD:5D923889"
+ }
+ },
+ "uuid": "3e8ef833-99b0-4c1d-99e9-e7fd9cc26024",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-13",
+ "insertionIndex": 17
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-49fce600-b69e-4ef7-af64-594450ae1a1a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-49fce600-b69e-4ef7-af64-594450ae1a1a.json
new file mode 100644
index 0000000000..91270e3ce0
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-49fce600-b69e-4ef7-af64-594450ae1a1a.json
@@ -0,0 +1,46 @@
+{
+ "id": "49fce600-b69e-4ef7-af64-594450ae1a1a",
+ "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-49fce600-b69e-4ef7-af64-594450ae1a1a.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:50 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4985",
+ "X-RateLimit-Reset": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"be4dcd1642bda414711f76068b3ec3b4\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:47 GMT",
+ "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": "ED63:7341:128E68E:16067FC:5D923880"
+ }
+ },
+ "uuid": "49fce600-b69e-4ef7-af64-594450ae1a1a",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-8",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-9",
+ "insertionIndex": 12
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-50e14b70-b8b5-4124-bc6e-b7d68a05ef3a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-50e14b70-b8b5-4124-bc6e-b7d68a05ef3a.json
new file mode 100644
index 0000000000..f994f53133
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-50e14b70-b8b5-4124-bc6e-b7d68a05ef3a.json
@@ -0,0 +1,46 @@
+{
+ "id": "50e14b70-b8b5-4124-bc6e-b7d68a05ef3a",
+ "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-50e14b70-b8b5-4124-bc6e-b7d68a05ef3a.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:47 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"7fa8062862550f8bfc3038515c4c2353\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:33 GMT",
+ "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": "ED63:7341:128E50E:16064F7:5D92387A"
+ }
+ },
+ "uuid": "50e14b70-b8b5-4124-bc6e-b7d68a05ef3a",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-5",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-6",
+ "insertionIndex": 8
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-57466b15-e7fb-46de-88ca-2ab26cc0fe7d.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-57466b15-e7fb-46de-88ca-2ab26cc0fe7d.json
new file mode 100644
index 0000000000..16a69f3c80
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-57466b15-e7fb-46de-88ca-2ab26cc0fe7d.json
@@ -0,0 +1,46 @@
+{
+ "id": "57466b15-e7fb-46de-88ca-2ab26cc0fe7d",
+ "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-57466b15-e7fb-46de-88ca-2ab26cc0fe7d.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:40 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"7fa8062862550f8bfc3038515c4c2353\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:33 GMT",
+ "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": "ED63:7341:128E22A:1606395:5D923878"
+ }
+ },
+ "uuid": "57466b15-e7fb-46de-88ca-2ab26cc0fe7d",
+ "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-1-repos-github-api-test-org-github-api-3",
+ "insertionIndex": 5
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-703fd12f-995a-4af9-8504-10ff32c81100.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-703fd12f-995a-4af9-8504-10ff32c81100.json
new file mode 100644
index 0000000000..e7d51ba493
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-703fd12f-995a-4af9-8504-10ff32c81100.json
@@ -0,0 +1,49 @@
+{
+ "id": "703fd12f-995a-4af9-8504-10ff32c81100",
+ "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_NoCache\"}",
+ "ignoreArrayOrder": true,
+ "ignoreExtraElements": true
+ }
+ ]
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "repos_github-api-test-org_github-api-703fd12f-995a-4af9-8504-10ff32c81100.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:47 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"be4dcd1642bda414711f76068b3ec3b4\"",
+ "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": "ED63:7341:128E54A:1606743:5D92387F"
+ }
+ },
+ "uuid": "703fd12f-995a-4af9-8504-10ff32c81100",
+ "persistent": true,
+ "insertionIndex": 9
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-720bd2cb-d00e-46c5-903f-3456521e4345.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-720bd2cb-d00e-46c5-903f-3456521e4345.json
new file mode 100644
index 0000000000..75c141a5ec
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-720bd2cb-d00e-46c5-903f-3456521e4345.json
@@ -0,0 +1,46 @@
+{
+ "id": "720bd2cb-d00e-46c5-903f-3456521e4345",
+ "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-720bd2cb-d00e-46c5-903f-3456521e4345.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:42 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"7fa8062862550f8bfc3038515c4c2353\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:33 GMT",
+ "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": "ED63:7341:128E339:1606445:5D923879"
+ }
+ },
+ "uuid": "720bd2cb-d00e-46c5-903f-3456521e4345",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-4",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-5",
+ "insertionIndex": 7
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-766326ea-da2e-4fe5-bea2-157db149047a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-766326ea-da2e-4fe5-bea2-157db149047a.json
new file mode 100644
index 0000000000..b21ebb471b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-766326ea-da2e-4fe5-bea2-157db149047a.json
@@ -0,0 +1,46 @@
+{
+ "id": "766326ea-da2e-4fe5-bea2-157db149047a",
+ "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-766326ea-da2e-4fe5-bea2-157db149047a.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:41 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"7fa8062862550f8bfc3038515c4c2353\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:33 GMT",
+ "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": "ED63:7341:128E2A2:16063C7:5D923878"
+ }
+ },
+ "uuid": "766326ea-da2e-4fe5-bea2-157db149047a",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-3",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-4",
+ "insertionIndex": 6
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-8a71a8b0-9915-4365-b581-5ca05b407fc6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-8a71a8b0-9915-4365-b581-5ca05b407fc6.json
new file mode 100644
index 0000000000..8c46f65c56
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-8a71a8b0-9915-4365-b581-5ca05b407fc6.json
@@ -0,0 +1,46 @@
+{
+ "id": "8a71a8b0-9915-4365-b581-5ca05b407fc6",
+ "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-8a71a8b0-9915-4365-b581-5ca05b407fc6.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:55 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"bb6e00d619256e29fb3c48198a09436c\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:55 GMT",
+ "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": "ED63:7341:128E90A:1606B21:5D923886"
+ }
+ },
+ "uuid": "8a71a8b0-9915-4365-b581-5ca05b407fc6",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-10",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-11",
+ "insertionIndex": 14
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-99fb84f6-79c5-424c-ba10-007a9912567a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-99fb84f6-79c5-424c-ba10-007a9912567a.json
new file mode 100644
index 0000000000..4696f564de
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-99fb84f6-79c5-424c-ba10-007a9912567a.json
@@ -0,0 +1,46 @@
+{
+ "id": "99fb84f6-79c5-424c-ba10-007a9912567a",
+ "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-99fb84f6-79c5-424c-ba10-007a9912567a.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:40 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"7fa8062862550f8bfc3038515c4c2353\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:33 GMT",
+ "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": "ED63:7341:128E1EB:160634A:5D923877"
+ }
+ },
+ "uuid": "99fb84f6-79c5-424c-ba10-007a9912567a",
+ "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_NoCache/mappings/repos_github-api-test-org_github-api-d7826ada-76b1-467b-b83e-9a1f3c30a719.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-d7826ada-76b1-467b-b83e-9a1f3c30a719.json
new file mode 100644
index 0000000000..611730932b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-d7826ada-76b1-467b-b83e-9a1f3c30a719.json
@@ -0,0 +1,46 @@
+{
+ "id": "d7826ada-76b1-467b-b83e-9a1f3c30a719",
+ "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-d7826ada-76b1-467b-b83e-9a1f3c30a719.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:47 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": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"be4dcd1642bda414711f76068b3ec3b4\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:47 GMT",
+ "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": "ED63:7341:128E582:1606778:5D92387F"
+ }
+ },
+ "uuid": "d7826ada-76b1-467b-b83e-9a1f3c30a719",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-6",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-7",
+ "insertionIndex": 10
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace.json
new file mode 100644
index 0000000000..85ab4310d8
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace.json
@@ -0,0 +1,46 @@
+{
+ "id": "e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace",
+ "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-e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:56 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4980",
+ "X-RateLimit-Reset": "1569867392",
+ "Cache-Control": "private, max-age=60, s-maxage=60",
+ "Vary": [
+ "Accept, Authorization, Cookie, X-GitHub-OTP",
+ "Accept-Encoding"
+ ],
+ "ETag": "W/\"bb6e00d619256e29fb3c48198a09436c\"",
+ "Last-Modified": "Mon, 30 Sep 2019 17:16:55 GMT",
+ "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": "ED63:7341:128E95F:1606BB7:5D923887"
+ }
+ },
+ "uuid": "e6a8cc79-dd4c-4ff8-9a46-ce9c304fbace",
+ "persistent": true,
+ "scenarioName": "scenario-1-repos-github-api-test-org-github-api",
+ "requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-11",
+ "newScenarioState": "scenario-1-repos-github-api-test-org-github-api-12",
+ "insertionIndex": 15
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-754481d3-2e4b-4ed4-92d0-73795dac7985.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-754481d3-2e4b-4ed4-92d0-73795dac7985.json
new file mode 100644
index 0000000000..080eba4944
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-754481d3-2e4b-4ed4-92d0-73795dac7985.json
@@ -0,0 +1,43 @@
+{
+ "id": "754481d3-2e4b-4ed4-92d0-73795dac7985",
+ "name": "user",
+ "request": {
+ "url": "/user",
+ "method": "GET"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "user-754481d3-2e4b-4ed4-92d0-73795dac7985.json",
+ "headers": {
+ "Date": "Mon, 30 Sep 2019 17:16:38 GMT",
+ "Content-Type": "application/json; charset=utf-8",
+ "Server": "GitHub.com",
+ "Status": "200 OK",
+ "X-RateLimit-Limit": "5000",
+ "X-RateLimit-Remaining": "4995",
+ "X-RateLimit-Reset": "1569867392",
+ "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": "ED63:7341:128E1B5:1606306:5D923876"
+ }
+ },
+ "uuid": "754481d3-2e4b-4ed4-92d0-73795dac7985",
+ "persistent": true,
+ "insertionIndex": 1
+}
\ No newline at end of file