diff --git a/src/test/java/org/kohsuke/github/GHAutolinkTest.java b/src/test/java/org/kohsuke/github/GHAutolinkTest.java index 5e76c2d7be..ff8300d38d 100644 --- a/src/test/java/org/kohsuke/github/GHAutolinkTest.java +++ b/src/test/java/org/kohsuke/github/GHAutolinkTest.java @@ -7,8 +7,6 @@ import java.util.List; import static org.hamcrest.Matchers.*; -import static org.junit.Assert.assertThat; -import static org.junit.Assert.fail; // TODO: Auto-generated Javadoc /** @@ -100,47 +98,47 @@ public void testReadAutolink() throws Exception { */ @Test public void testListAllAutolinks() throws Exception { - assertThat("Initial autolinks should be empty", repo.listAutolinks().toList(), is(empty())); + assertThat("Initial autolinks list", repo.listAutolinks().toList(), is(empty())); - try { - GHAutolink autolink1 = repo.createAutolink() - .withKeyPrefix("LIST-") - .withUrlTemplate("https://example.com/list1/") - .withIsAlphanumeric(true) - .create(); - - GHAutolink autolink2 = repo.createAutolink() - .withKeyPrefix("LISTED-") - .withUrlTemplate("https://example.com/list2/") - .withIsAlphanumeric(false) - .create(); - - List autolinks = repo.listAutolinks().toList(); - assertThat("Should have exactly 2 autolinks", ((List) autolinks).size(), is(2)); - - GHAutolink foundAutolink1 = autolinks.stream() - .filter(a -> a.getId().equals(autolink1.getId())) - .findFirst() - .orElseThrow(() -> new AssertionError("Autolink 1 not found")); - - GHAutolink foundAutolink2 = autolinks.stream() - .filter(a -> a.getId().equals(autolink2.getId())) - .findFirst() - .orElseThrow(() -> new AssertionError("Autolink 2 not found")); - - assertAutolinksEqual(autolink1, foundAutolink1); - assertAutolinksEqual(autolink2, foundAutolink2); - - } catch (Exception e) { - System.err.println("Failed to list autolinks: " + e.getMessage()); + GHAutolink autolink1 = repo.createAutolink() + .withKeyPrefix("LIST-") + .withUrlTemplate("https://example.com/list1/") + .withIsAlphanumeric(true) + .create(); + + GHAutolink autolink2 = repo.createAutolink() + .withKeyPrefix("LISTED-") + .withUrlTemplate("https://example.com/list2/") + .withIsAlphanumeric(false) + .create(); + + boolean found1 = false; + boolean found2 = false; + + PagedIterable autolinks = repo.listAutolinks(); + + List autolinkList = autolinks.toList(); + assertThat("Number of autolinks", autolinkList.size(), is(2)); + + for (GHAutolink autolink : autolinkList) { + + if (autolink.getId().equals(autolink1.getId())) { + found1 = true; + assertThat(autolink.getKeyPrefix(), equalTo(autolink1.getKeyPrefix())); + assertThat(autolink.getUrlTemplate(), equalTo(autolink1.getUrlTemplate())); + assertThat(autolink.isAlphanumeric(), equalTo(autolink1.isAlphanumeric())); + } + if (autolink.getId().equals(autolink2.getId())) { + found2 = true; + assertThat(autolink.getKeyPrefix(), equalTo(autolink2.getKeyPrefix())); + assertThat(autolink.getUrlTemplate(), equalTo(autolink2.getUrlTemplate())); + assertThat(autolink.isAlphanumeric(), equalTo(autolink2.isAlphanumeric())); + } } - } - private void assertAutolinksEqual(GHAutolink expected, GHAutolink actual) { - assertThat(actual.getKeyPrefix(), equalTo(expected.getKeyPrefix())); - assertThat(actual.getUrlTemplate(), equalTo(expected.getUrlTemplate())); - assertThat(actual.isAlphanumeric(), equalTo(expected.isAlphanumeric())); - assertThat(actual.getOwner(), equalTo(expected.getOwner())); + assertThat("First autolink", found1, is(true)); + assertThat("Second autolink", found2, is(true)); + } /** diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/__files/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/__files/2-r_a_github-api-test.json index f66751c5ad..0474c395a4 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/__files/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/__files/2-r_a_github-api-test.json @@ -105,7 +105,7 @@ "triage": true, "pull": true }, - "temp_clone_token": "AJ7BLWGMBCV4RX4BQQXEBOTHJ2WGQ", + "temp_clone_token": "AJ7BLWBKSYTW3I62UR7LF2DHJ23LK", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/1-user.json index 950e327801..518e4728b3 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "a4f46a34-8c81-44e9-bec4-043ba7bdcb10", + "id": "98d81ba5-ebd3-49e4-84f2-75f985bc47cc", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:51 GMT", + "Date": "Tue, 03 Dec 2024 07:38:48 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4953", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "47", + "X-RateLimit-Remaining": "4972", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "28", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "AB78:259AD1:61CD9C:72C698:674EAB3B" + "X-GitHub-Request-Id": "AA46:260E1D:699639:7B2A52:674EB588" } }, - "uuid": "a4f46a34-8c81-44e9-bec4-043ba7bdcb10", + "uuid": "98d81ba5-ebd3-49e4-84f2-75f985bc47cc", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/2-r_a_github-api-test.json index df1a64b58e..5483c49f15 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/2-r_a_github-api-test.json @@ -1,5 +1,5 @@ { - "id": "ee74a0a7-35fd-4683-a471-587c81678ae3", + "id": "2fcf27db-2e76-4f6f-a79f-c9519c5d91ca", "name": "repos_alaurant_github-api-test", "request": { "url": "/repos/Alaurant/github-api-test", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_a_github-api-test.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:52 GMT", + "Date": "Tue, 03 Dec 2024 07:38:49 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4951", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "49", + "X-RateLimit-Remaining": "4970", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "30", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABD3:275BE1:5986ED:681867:674EAB3C" + "X-GitHub-Request-Id": "AA4A:275BE1:5DAE86:6CDB96:674EB589" } }, - "uuid": "ee74a0a7-35fd-4683-a471-587c81678ae3", + "uuid": "2fcf27db-2e76-4f6f-a79f-c9519c5d91ca", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/3-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/3-r_a_g_autolinks.json index 1c5c951d56..7bc2fc94a4 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/3-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/3-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "e03166d6-8ef7-42ef-9fd9-3c37415b29d8", + "id": "8347f3dd-5be0-4a28-b01e-9e1405b46087", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -19,22 +19,22 @@ }, "response": { "status": 201, - "body": "{\"id\":6208102,\"key_prefix\":\"EXAMPLE-\",\"url_template\":\"https://example.com/TICKET?q=\",\"is_alphanumeric\":true}", + "body": "{\"id\":6208157,\"key_prefix\":\"EXAMPLE-\",\"url_template\":\"https://example.com/TICKET?q=\",\"is_alphanumeric\":true}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:53 GMT", + "Date": "Tue, 03 Dec 2024 07:38:49 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "\"a43aceb24d084ac36cc51df4652c6770f8d169d875ecf46247ac99b589e441fe\"", + "ETag": "\"a36001f0fa64730b7452b1bc25ccdf888f1db06d9933656b99e2cff7b4e48b3a\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4950", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "50", + "X-RateLimit-Remaining": "4969", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "31", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -45,10 +45,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABD4:25E009:63825C:747B1A:674EAB3D" + "X-GitHub-Request-Id": "AA4D:261CA8:67BCCF:795107:674EB589" } }, - "uuid": "e03166d6-8ef7-42ef-9fd9-3c37415b29d8", + "uuid": "8347f3dd-5be0-4a28-b01e-9e1405b46087", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/4-r_a_g_autolinks_6208102.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/4-r_a_g_autolinks_6208157.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/4-r_a_g_autolinks_6208102.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/4-r_a_g_autolinks_6208157.json index afaaced255..7c7226e891 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/4-r_a_g_autolinks_6208102.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/4-r_a_g_autolinks_6208157.json @@ -1,8 +1,8 @@ { - "id": "5f7726c7-5f1a-4f69-9fee-3d2b34dcc2ee", - "name": "repos_alaurant_github-api-test_autolinks_6208102", + "id": "e3c2362c-a973-4ad6-91fa-5efe8aa8c05c", + "name": "repos_alaurant_github-api-test_autolinks_6208157", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208102", + "url": "/repos/Alaurant/github-api-test/autolinks/6208157", "method": "DELETE", "headers": { "Accept": { @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Tue, 03 Dec 2024 06:54:53 GMT", + "Date": "Tue, 03 Dec 2024 07:38:50 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4949", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "51", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "32", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "ABD8:25DAE6:6CEF86:7DE85D:674EAB3D" + "X-GitHub-Request-Id": "AA51:25CB59:664A36:77DE74:674EB589" } }, - "uuid": "5f7726c7-5f1a-4f69-9fee-3d2b34dcc2ee", + "uuid": "e3c2362c-a973-4ad6-91fa-5efe8aa8c05c", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/5-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/5-r_a_g_autolinks.json index 6e880036db..4948102df3 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/5-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testCreateAutolink/mappings/5-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "b52b17ed-3b65-49ed-8179-e767d374d15b", + "id": "46498eb6-0cf4-48a7-ae76-a13a64665a7d", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -14,7 +14,7 @@ "status": 200, "body": "[]", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:54 GMT", + "Date": "Tue, 03 Dec 2024 07:38:50 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4948", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "52", + "X-RateLimit-Remaining": "4967", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "33", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABD9:25A8FF:6AF2EB:7BEB98:674EAB3E" + "X-GitHub-Request-Id": "AA52:25C9E5:68E849:7A7C9A:674EB58A" } }, - "uuid": "b52b17ed-3b65-49ed-8179-e767d374d15b", + "uuid": "46498eb6-0cf4-48a7-ae76-a13a64665a7d", "persistent": true, "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/__files/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/__files/2-r_a_github-api-test.json index 7beb7b77a6..1d9ee8a01f 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/__files/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/__files/2-r_a_github-api-test.json @@ -105,7 +105,7 @@ "triage": true, "pull": true }, - "temp_clone_token": "AJ7BLWE6E7DS3XCFU4IFDJTHJ2WFY", + "temp_clone_token": "AJ7BLWEMCYWAPCY2SLWSCG3HJ23KQ", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/1-user.json index ff1c9db598..d1a1f220e5 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "6cfc76cf-b384-4455-a987-1a9f887dd595", + "id": "8c382a42-5cba-408a-8e99-638371421c93", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:38 GMT", + "Date": "Tue, 03 Dec 2024 07:38:35 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4980", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "20", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "1", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "AB83:2377CB:5F7383:6F2BD9:674EAB2E" + "X-GitHub-Request-Id": "ABFA:271404:583EF4:676428:674EB57B" } }, - "uuid": "6cfc76cf-b384-4455-a987-1a9f887dd595", + "uuid": "8c382a42-5cba-408a-8e99-638371421c93", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/2-r_a_github-api-test.json index 2864fdafaf..da6052f307 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/2-r_a_github-api-test.json @@ -1,5 +1,5 @@ { - "id": "88747512-47c9-4301-9f23-3adc9c7e493e", + "id": "c0edf83b-b9ad-4ffa-a223-1d3ec93b2b52", "name": "repos_alaurant_github-api-test", "request": { "url": "/repos/Alaurant/github-api-test", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_a_github-api-test.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:40 GMT", + "Date": "Tue, 03 Dec 2024 07:38:36 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4978", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "22", + "X-RateLimit-Remaining": "4997", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "3", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "AB88:275BE1:5982EB:6813A1:674EAB2F" + "X-GitHub-Request-Id": "A9FF:261CA8:67B882:794BED:674EB57C" } }, - "uuid": "88747512-47c9-4301-9f23-3adc9c7e493e", + "uuid": "c0edf83b-b9ad-4ffa-a223-1d3ec93b2b52", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/3-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/3-r_a_g_autolinks.json index 8eac49ea61..3cbc543543 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/3-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/3-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "c23f15e6-e9dd-4410-a110-723a43ac7db5", + "id": "c00247ee-05d0-4136-8c83-2c42f0e9db88", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -19,22 +19,22 @@ }, "response": { "status": 201, - "body": "{\"id\":6208097,\"key_prefix\":\"DELETE-\",\"url_template\":\"https://example.com/delete/\",\"is_alphanumeric\":true}", + "body": "{\"id\":6208152,\"key_prefix\":\"DELETE-\",\"url_template\":\"https://example.com/delete/\",\"is_alphanumeric\":true}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:40 GMT", + "Date": "Tue, 03 Dec 2024 07:38:37 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "\"35e89a0a53a0a1b441ab8df230e21a09d6f44d65594b11ef6649520aadbd66a4\"", + "ETag": "\"6bebc860eff6db9585b7a6749c2e0d12e326bebe505dc3b52b416cd9640bdee3\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4977", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "23", + "X-RateLimit-Remaining": "4996", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "4", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -45,10 +45,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "AB89:25E009:637E54:747658:674EAB30" + "X-GitHub-Request-Id": "AA00:25E009:674BDB:78DF65:674EB57C" } }, - "uuid": "c23f15e6-e9dd-4410-a110-723a43ac7db5", + "uuid": "c00247ee-05d0-4136-8c83-2c42f0e9db88", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/4-r_a_g_autolinks_6208097.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/4-r_a_g_autolinks_6208152.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/4-r_a_g_autolinks_6208097.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/4-r_a_g_autolinks_6208152.json index 2f8d96f1ee..a44c87e414 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/4-r_a_g_autolinks_6208097.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/4-r_a_g_autolinks_6208152.json @@ -1,8 +1,8 @@ { - "id": "bedd2380-e90f-4091-aea6-52fe5a202c25", - "name": "repos_alaurant_github-api-test_autolinks_6208097", + "id": "c6cab082-a929-432a-8dab-f499867db1e0", + "name": "repos_alaurant_github-api-test_autolinks_6208152", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208097", + "url": "/repos/Alaurant/github-api-test/autolinks/6208152", "method": "DELETE", "headers": { "Accept": { @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Tue, 03 Dec 2024 06:54:41 GMT", + "Date": "Tue, 03 Dec 2024 07:38:37 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4976", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "24", + "X-RateLimit-Remaining": "4995", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "5", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "AB8D:25DAE6:6CEAB0:7DE2C7:674EAB30" + "X-GitHub-Request-Id": "AA04:25DAE6:711932:82ACC8:674EB57D" } }, - "uuid": "bedd2380-e90f-4091-aea6-52fe5a202c25", + "uuid": "c6cab082-a929-432a-8dab-f499867db1e0", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/5-r_a_g_autolinks_6208097.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/5-r_a_g_autolinks_6208152.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/5-r_a_g_autolinks_6208097.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/5-r_a_g_autolinks_6208152.json index 7440247538..f99fbb9405 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/5-r_a_g_autolinks_6208097.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/5-r_a_g_autolinks_6208152.json @@ -1,8 +1,8 @@ { - "id": "7621b1fe-64d2-4935-acee-590445690a72", - "name": "repos_alaurant_github-api-test_autolinks_6208097", + "id": "b91dfefd-ce2f-4e9b-b72c-f10d9a17a683", + "name": "repos_alaurant_github-api-test_autolinks_6208152", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208097", + "url": "/repos/Alaurant/github-api-test/autolinks/6208152", "method": "GET", "headers": { "Accept": { @@ -14,7 +14,7 @@ "status": 404, "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository\",\"status\":\"404\"}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:41 GMT", + "Date": "Tue, 03 Dec 2024 07:38:38 GMT", "Content-Type": "application/json; charset=utf-8", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", @@ -22,9 +22,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4975", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "25", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "6", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -36,10 +36,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "AB8E:25A8FF:6AEF27:7BE713:674EAB31" + "X-GitHub-Request-Id": "AA05:25A8FF:6EC1D8:80554B:674EB57E" } }, - "uuid": "7621b1fe-64d2-4935-acee-590445690a72", + "uuid": "b91dfefd-ce2f-4e9b-b72c-f10d9a17a683", "persistent": true, "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/6-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/6-r_a_g_autolinks.json index 76e05c14b1..a337cbcee9 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/6-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/6-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "5a833c9b-b2ab-4876-a714-c9866b3bd276", + "id": "9618dcf2-84ca-4d7c-a7e9-c47f1892dc77", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -19,22 +19,22 @@ }, "response": { "status": 201, - "body": "{\"id\":6208098,\"key_prefix\":\"DELETED-\",\"url_template\":\"https://example.com/delete2/\",\"is_alphanumeric\":true}", + "body": "{\"id\":6208153,\"key_prefix\":\"DELETED-\",\"url_template\":\"https://example.com/delete2/\",\"is_alphanumeric\":true}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:42 GMT", + "Date": "Tue, 03 Dec 2024 07:38:38 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "\"7c2b42f96076ca80e50c591b0bbc599ed80f1b7674d580aa68d620e14efb31ac\"", + "ETag": "\"18b06b68fe5151289037ab9bd59f5547a941f21b44fb52df5d8743c1771baf1d\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4974", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "26", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "7", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -45,10 +45,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "AB8F:25CB59:628857:738058:674EAB31" + "X-GitHub-Request-Id": "AA09:2377CB:63CABD:741EC4:674EB57E" } }, - "uuid": "5a833c9b-b2ab-4876-a714-c9866b3bd276", + "uuid": "9618dcf2-84ca-4d7c-a7e9-c47f1892dc77", "persistent": true, "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/7-r_a_g_autolinks_6208098.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/7-r_a_g_autolinks_6208153.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/7-r_a_g_autolinks_6208098.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/7-r_a_g_autolinks_6208153.json index 2925b43e16..d188055dff 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/7-r_a_g_autolinks_6208098.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/7-r_a_g_autolinks_6208153.json @@ -1,8 +1,8 @@ { - "id": "514e7c83-08c5-4ebb-b29c-18d729fd2e26", - "name": "repos_alaurant_github-api-test_autolinks_6208098", + "id": "8063b253-0f76-4356-9efe-740b7c0ca968", + "name": "repos_alaurant_github-api-test_autolinks_6208153", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208098", + "url": "/repos/Alaurant/github-api-test/autolinks/6208153", "method": "DELETE", "headers": { "Accept": { @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Tue, 03 Dec 2024 06:54:42 GMT", + "Date": "Tue, 03 Dec 2024 07:38:39 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4973", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "27", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "8", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "AB93:260E1D:6514BC:760CC5:674EAB32" + "X-GitHub-Request-Id": "AA0A:260E1D:6992A9:7B2629:674EB57F" } }, - "uuid": "514e7c83-08c5-4ebb-b29c-18d729fd2e26", + "uuid": "8063b253-0f76-4356-9efe-740b7c0ca968", "persistent": true, "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/8-r_a_g_autolinks_6208098.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/8-r_a_g_autolinks_6208153.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/8-r_a_g_autolinks_6208098.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/8-r_a_g_autolinks_6208153.json index 918b44f761..1764659a02 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/8-r_a_g_autolinks_6208098.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/8-r_a_g_autolinks_6208153.json @@ -1,8 +1,8 @@ { - "id": "1c0f41ec-1f18-4070-8fb3-81fe4e305b27", - "name": "repos_alaurant_github-api-test_autolinks_6208098", + "id": "322df042-2623-4516-ba69-da9fad6594ac", + "name": "repos_alaurant_github-api-test_autolinks_6208153", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208098", + "url": "/repos/Alaurant/github-api-test/autolinks/6208153", "method": "GET", "headers": { "Accept": { @@ -14,7 +14,7 @@ "status": 404, "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository\",\"status\":\"404\"}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:43 GMT", + "Date": "Tue, 03 Dec 2024 07:38:39 GMT", "Content-Type": "application/json; charset=utf-8", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", @@ -22,9 +22,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4972", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "28", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "9", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -36,10 +36,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "AB94:2616CE:687F1B:797734:674EAB32" + "X-GitHub-Request-Id": "AA0E:275BE1:5DAA7A:6CD6EB:674EB57F" } }, - "uuid": "1c0f41ec-1f18-4070-8fb3-81fe4e305b27", + "uuid": "322df042-2623-4516-ba69-da9fad6594ac", "persistent": true, "insertionIndex": 8 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/9-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/9-r_a_g_autolinks.json index 8a2fd7b037..9d73da7ee3 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/9-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testDeleteAutolink/mappings/9-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "1aa929ba-72a4-4713-b608-a1ed2f9d9de8", + "id": "26b0759e-8de9-4545-ae87-0731204c81ec", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -14,7 +14,7 @@ "status": 200, "body": "[]", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:43 GMT", + "Date": "Tue, 03 Dec 2024 07:38:40 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4971", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "29", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "10", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "AB98:25E009:637F4C:747775:674EAB33" + "X-GitHub-Request-Id": "AA0F:25E009:674D8A:78E146:674EB57F" } }, - "uuid": "1aa929ba-72a4-4713-b608-a1ed2f9d9de8", + "uuid": "26b0759e-8de9-4545-ae87-0731204c81ec", "persistent": true, "insertionIndex": 9 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/__files/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/__files/2-r_a_github-api-test.json index 13961ad824..31de4f60e2 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/__files/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/__files/2-r_a_github-api-test.json @@ -105,7 +105,7 @@ "triage": true, "pull": true }, - "temp_clone_token": "AJ7BLWFP6LL2ZYEKTDYDKHTHJ2WGC", + "temp_clone_token": "AJ7BLWENEDJGOSRZZWVLLX3HJ23K2", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/1-user.json index 3c33bb0ca5..6182104dfe 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "33b2f345-3716-4e63-b3fd-64f642f5cf44", + "id": "4cb980ae-7b79-4189-9409-9d2ae9919c2f", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:44 GMT", + "Date": "Tue, 03 Dec 2024 07:38:40 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4970", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "30", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "11", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABA0:271404:54198B:62A384:674EAB34" + "X-GitHub-Request-Id": "AA17:271404:5840C0:676640:674EB580" } }, - "uuid": "33b2f345-3716-4e63-b3fd-64f642f5cf44", + "uuid": "4cb980ae-7b79-4189-9409-9d2ae9919c2f", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/2-r_a_github-api-test.json index cd7a131b03..018594c4ff 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/2-r_a_github-api-test.json @@ -1,5 +1,5 @@ { - "id": "ba308c92-2fea-472c-9436-9c4410ccb299", + "id": "a420e293-d74a-4974-ac10-a1dd9755d676", "name": "repos_alaurant_github-api-test", "request": { "url": "/repos/Alaurant/github-api-test", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_a_github-api-test.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:45 GMT", + "Date": "Tue, 03 Dec 2024 07:38:41 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4968", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "32", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "13", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABA4:25D2D0:675695:784EDE:674EAB35" + "X-GitHub-Request-Id": "AA1B:25D2D0:6B1F6A:7CB329:674EB581" } }, - "uuid": "ba308c92-2fea-472c-9436-9c4410ccb299", + "uuid": "a420e293-d74a-4974-ac10-a1dd9755d676", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/3-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/3-r_a_g_autolinks.json index 019a1b2402..552821f0a3 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/3-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/3-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "eb473e69-9e44-432a-ae9e-fad5d4bc3cde", + "id": "316f4849-5f4f-4bd6-9d28-8fd52f3b210a", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -14,7 +14,7 @@ "status": 200, "body": "[]", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:45 GMT", + "Date": "Tue, 03 Dec 2024 07:38:42 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4967", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "33", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "14", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABA5:259AD1:61CBB4:72C3EE:674EAB35" + "X-GitHub-Request-Id": "AA1C:259AD1:65779A:770B59:674EB581" } }, - "uuid": "eb473e69-9e44-432a-ae9e-fad5d4bc3cde", + "uuid": "316f4849-5f4f-4bd6-9d28-8fd52f3b210a", "persistent": true, "scenarioName": "scenario-1-repos-Alaurant-github-api-test-autolinks", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/4-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/4-r_a_g_autolinks.json index 0f73b73a17..4e4b3dad0d 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/4-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/4-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "7e65d78b-6c47-4bda-b792-8bee46940dfa", + "id": "4b5f30eb-92d4-4d62-8873-500ac95e5c60", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -19,22 +19,22 @@ }, "response": { "status": 201, - "body": "{\"id\":6208099,\"key_prefix\":\"LIST-\",\"url_template\":\"https://example.com/list1/\",\"is_alphanumeric\":true}", + "body": "{\"id\":6208154,\"key_prefix\":\"LIST-\",\"url_template\":\"https://example.com/list1/\",\"is_alphanumeric\":true}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:46 GMT", + "Date": "Tue, 03 Dec 2024 07:38:42 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "\"2314ffdb64a38ba1fbc4122d2766f10c7448210410700da49af8b39f4e97997c\"", + "ETag": "\"480b2462acc348a4544429284864809049c99d8a662ea8c903055902013871c5\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4966", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "34", + "X-RateLimit-Remaining": "4985", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "15", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -45,10 +45,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABA9:261CA8:640F26:750764:674EAB36" + "X-GitHub-Request-Id": "AA20:261CA8:67BA3E:794E06:674EB582" } }, - "uuid": "7e65d78b-6c47-4bda-b792-8bee46940dfa", + "uuid": "4b5f30eb-92d4-4d62-8873-500ac95e5c60", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/5-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/5-r_a_g_autolinks.json index 7abb1f5cee..1d62d7f93a 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/5-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/5-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "964978fc-cf9f-48d1-9749-9871051b957a", + "id": "777a1fbd-e363-40d6-95ae-cc23181efdea", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -19,22 +19,22 @@ }, "response": { "status": 201, - "body": "{\"id\":6208100,\"key_prefix\":\"LISTED-\",\"url_template\":\"https://example.com/list2/\",\"is_alphanumeric\":false}", + "body": "{\"id\":6208155,\"key_prefix\":\"LISTED-\",\"url_template\":\"https://example.com/list2/\",\"is_alphanumeric\":false}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:46 GMT", + "Date": "Tue, 03 Dec 2024 07:38:43 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "\"18c35b8fe301b6c9e0bd56dcd1ec6f253f1c6312f2a0f471bf6072dec3159f84\"", + "ETag": "\"9e23ef50e6efc5f6ba3cec78cd2b6b596ea570978cb111cf990d5decee971c5e\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4965", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "35", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "16", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -45,10 +45,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABAA:25FB34:6467D7:756032:674EAB36" + "X-GitHub-Request-Id": "AA21:25FB34:684282:79D65B:674EB583" } }, - "uuid": "964978fc-cf9f-48d1-9749-9871051b957a", + "uuid": "777a1fbd-e363-40d6-95ae-cc23181efdea", "persistent": true, "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/6-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/6-r_a_g_autolinks.json index 3105260ee0..26c4728bf5 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/6-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/6-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "b84876ca-abf9-4911-8593-b550ac6712d1", + "id": "2592a12d-edb8-40d8-81d1-f2b6e1ecaca4", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -12,22 +12,22 @@ }, "response": { "status": 200, - "body": "[{\"id\":6208099,\"key_prefix\":\"LIST-\",\"url_template\":\"https://example.com/list1/\",\"is_alphanumeric\":true},{\"id\":6208100,\"key_prefix\":\"LISTED-\",\"url_template\":\"https://example.com/list2/\",\"is_alphanumeric\":false}]", + "body": "[{\"id\":6208154,\"key_prefix\":\"LIST-\",\"url_template\":\"https://example.com/list1/\",\"is_alphanumeric\":true},{\"id\":6208155,\"key_prefix\":\"LISTED-\",\"url_template\":\"https://example.com/list2/\",\"is_alphanumeric\":false}]", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:47 GMT", + "Date": "Tue, 03 Dec 2024 07:38:43 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"99534cf1ccacf6077fecfd3f588c74cb6a9c595c33fd76593fb6433ecedb7a65\"", + "ETag": "W/\"de622157cf3668fbc5d7b08276e49e368f326a91de6df815ae054c56b58640dd\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4964", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "36", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "17", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABAB:25DAE6:6CED1E:7DE5AF:674EAB36" + "X-GitHub-Request-Id": "AA25:25C9E5:68E57F:7A7949:674EB583" } }, - "uuid": "b84876ca-abf9-4911-8593-b550ac6712d1", + "uuid": "2592a12d-edb8-40d8-81d1-f2b6e1ecaca4", "persistent": true, "scenarioName": "scenario-1-repos-Alaurant-github-api-test-autolinks", "requiredScenarioState": "scenario-1-repos-Alaurant-github-api-test-autolinks-2", diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/7-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/7-r_a_g_autolinks.json index e970a59b02..ef85cff171 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/7-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/7-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "f3a40454-30e8-4c11-9318-4bea625bb71a", + "id": "144e875f-a2f2-46a2-b693-267caa327a90", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -12,22 +12,22 @@ }, "response": { "status": 200, - "body": "[{\"id\":6208099,\"key_prefix\":\"LIST-\",\"url_template\":\"https://example.com/list1/\",\"is_alphanumeric\":true},{\"id\":6208100,\"key_prefix\":\"LISTED-\",\"url_template\":\"https://example.com/list2/\",\"is_alphanumeric\":false}]", + "body": "[{\"id\":6208154,\"key_prefix\":\"LIST-\",\"url_template\":\"https://example.com/list1/\",\"is_alphanumeric\":true},{\"id\":6208155,\"key_prefix\":\"LISTED-\",\"url_template\":\"https://example.com/list2/\",\"is_alphanumeric\":false}]", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:47 GMT", + "Date": "Tue, 03 Dec 2024 07:38:43 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"99534cf1ccacf6077fecfd3f588c74cb6a9c595c33fd76593fb6433ecedb7a65\"", + "ETag": "W/\"de622157cf3668fbc5d7b08276e49e368f326a91de6df815ae054c56b58640dd\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4963", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "37", + "X-RateLimit-Remaining": "4982", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "18", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABAF:271404:541AA2:62A4DD:674EAB37" + "X-GitHub-Request-Id": "AA26:271404:5841D5:676785:674EB583" } }, - "uuid": "f3a40454-30e8-4c11-9318-4bea625bb71a", + "uuid": "144e875f-a2f2-46a2-b693-267caa327a90", "persistent": true, "scenarioName": "scenario-1-repos-Alaurant-github-api-test-autolinks", "requiredScenarioState": "scenario-1-repos-Alaurant-github-api-test-autolinks-3", diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/8-r_a_g_autolinks_6208099.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/8-r_a_g_autolinks_6208154.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/8-r_a_g_autolinks_6208099.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/8-r_a_g_autolinks_6208154.json index a67bf65e6a..bded25a16c 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/8-r_a_g_autolinks_6208099.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/8-r_a_g_autolinks_6208154.json @@ -1,8 +1,8 @@ { - "id": "b99d99a0-2268-4a2b-8a96-72d2439eca41", - "name": "repos_alaurant_github-api-test_autolinks_6208099", + "id": "3c8eddcf-46f0-439d-a045-8ff010e0881b", + "name": "repos_alaurant_github-api-test_autolinks_6208154", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208099", + "url": "/repos/Alaurant/github-api-test/autolinks/6208154", "method": "DELETE", "headers": { "Accept": { @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Tue, 03 Dec 2024 06:54:47 GMT", + "Date": "Tue, 03 Dec 2024 07:38:44 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4962", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "38", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "19", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "ABB0:2377CB:5F772F:6F3000:674EAB37" + "X-GitHub-Request-Id": "AA27:2377CB:63CC8E:7420EE:674EB584" } }, - "uuid": "b99d99a0-2268-4a2b-8a96-72d2439eca41", + "uuid": "3c8eddcf-46f0-439d-a045-8ff010e0881b", "persistent": true, "insertionIndex": 8 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/9-r_a_g_autolinks_6208100.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/9-r_a_g_autolinks_6208155.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/9-r_a_g_autolinks_6208100.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/9-r_a_g_autolinks_6208155.json index 8c3d2253b5..d80953700d 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/9-r_a_g_autolinks_6208100.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testListAllAutolinks/mappings/9-r_a_g_autolinks_6208155.json @@ -1,8 +1,8 @@ { - "id": "883b62a6-ba7a-4b6b-bdac-6a39266b7e97", - "name": "repos_alaurant_github-api-test_autolinks_6208100", + "id": "a0c1de58-d753-4847-ba04-0325e8ba3a93", + "name": "repos_alaurant_github-api-test_autolinks_6208155", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208100", + "url": "/repos/Alaurant/github-api-test/autolinks/6208155", "method": "DELETE", "headers": { "Accept": { @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Tue, 03 Dec 2024 06:54:48 GMT", + "Date": "Tue, 03 Dec 2024 07:38:44 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4961", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "39", + "X-RateLimit-Remaining": "4980", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "20", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "ABB1:260E1D:6516F1:760F56:674EAB38" + "X-GitHub-Request-Id": "AA2B:259AD1:657850:770C35:674EB584" } }, - "uuid": "883b62a6-ba7a-4b6b-bdac-6a39266b7e97", + "uuid": "a0c1de58-d753-4847-ba04-0325e8ba3a93", "persistent": true, "insertionIndex": 9 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/__files/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/__files/2-r_a_github-api-test.json index 7c3d4b4f65..3b27fc4f53 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/__files/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/__files/2-r_a_github-api-test.json @@ -105,7 +105,7 @@ "triage": true, "pull": true }, - "temp_clone_token": "AJ7BLWE3ZVPFE5JRNKZRQJTHJ2WGK", + "temp_clone_token": "AJ7BLWFELFUHR4TI6YIYMQ3HJ23LE", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/1-user.json index 4c9a31dc26..a3571e1faf 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "99afe21f-5825-4385-a350-16b518e6db55", + "id": "75bfc2fd-5226-4f0a-9cfa-2123ed1fb263", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:48 GMT", + "Date": "Tue, 03 Dec 2024 07:38:45 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4960", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "40", + "X-RateLimit-Remaining": "4979", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "21", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABBC:25CB59:628A6B:7382DC:674EAB38" + "X-GitHub-Request-Id": "AA33:25CB59:6648A6:77DC83:674EB585" } }, - "uuid": "99afe21f-5825-4385-a350-16b518e6db55", + "uuid": "75bfc2fd-5226-4f0a-9cfa-2123ed1fb263", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/2-r_a_github-api-test.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/2-r_a_github-api-test.json index 176476066e..ce17154a9c 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/2-r_a_github-api-test.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/2-r_a_github-api-test.json @@ -1,5 +1,5 @@ { - "id": "2ee7cc1d-ca3c-4fe0-aa52-db592c09839a", + "id": "31b3208b-5fb6-40dd-a48d-997096745c6e", "name": "repos_alaurant_github-api-test", "request": { "url": "/repos/Alaurant/github-api-test", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_a_github-api-test.json", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:49 GMT", + "Date": "Tue, 03 Dec 2024 07:38:46 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4958", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "42", + "X-RateLimit-Remaining": "4977", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "23", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABBD:25C9E5:64E1B6:75DA32:674EAB39" + "X-GitHub-Request-Id": "AA37:260E1D:699594:7B298D:674EB585" } }, - "uuid": "2ee7cc1d-ca3c-4fe0-aa52-db592c09839a", + "uuid": "31b3208b-5fb6-40dd-a48d-997096745c6e", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/3-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/3-r_a_g_autolinks.json index 75eaaf5b03..c494217c94 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/3-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/3-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "089121ed-3a09-445b-b7fc-79ef1d3dfb8f", + "id": "1406dd41-9106-4023-9b56-3154069280ac", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -19,22 +19,22 @@ }, "response": { "status": 201, - "body": "{\"id\":6208101,\"key_prefix\":\"JIRA-\",\"url_template\":\"https://example.com/test/\",\"is_alphanumeric\":false}", + "body": "{\"id\":6208156,\"key_prefix\":\"JIRA-\",\"url_template\":\"https://example.com/test/\",\"is_alphanumeric\":false}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:50 GMT", + "Date": "Tue, 03 Dec 2024 07:38:46 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "\"eb3e3b9135d54ce2e86f57ee73a6e0faf0335556def466b09d7c1132f45cf161\"", + "ETag": "\"f182c04e2eecd0667658564e0628c8067be98cd7a990c69bcf03f2af961421a1\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4957", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "43", + "X-RateLimit-Remaining": "4976", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "24", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -45,10 +45,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABC1:2616CE:6881FF:797A95:674EAB39" + "X-GitHub-Request-Id": "AA38:2616CE:6C7454:7E086D:674EB586" } }, - "uuid": "089121ed-3a09-445b-b7fc-79ef1d3dfb8f", + "uuid": "1406dd41-9106-4023-9b56-3154069280ac", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/4-r_a_g_autolinks_6208101.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/4-r_a_g_autolinks_6208156.json similarity index 75% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/4-r_a_g_autolinks_6208101.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/4-r_a_g_autolinks_6208156.json index 627328701f..f84a404907 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/4-r_a_g_autolinks_6208101.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/4-r_a_g_autolinks_6208156.json @@ -1,8 +1,8 @@ { - "id": "50e40ff8-9699-487a-9b3c-9c9ad0950351", - "name": "repos_alaurant_github-api-test_autolinks_6208101", + "id": "b286f327-6a31-477c-bdc8-312101de5705", + "name": "repos_alaurant_github-api-test_autolinks_6208156", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208101", + "url": "/repos/Alaurant/github-api-test/autolinks/6208156", "method": "GET", "headers": { "Accept": { @@ -12,22 +12,22 @@ }, "response": { "status": 200, - "body": "{\"id\":6208101,\"key_prefix\":\"JIRA-\",\"url_template\":\"https://example.com/test/\",\"is_alphanumeric\":false}", + "body": "{\"id\":6208156,\"key_prefix\":\"JIRA-\",\"url_template\":\"https://example.com/test/\",\"is_alphanumeric\":false}", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:50 GMT", + "Date": "Tue, 03 Dec 2024 07:38:46 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"eb3e3b9135d54ce2e86f57ee73a6e0faf0335556def466b09d7c1132f45cf161\"", + "ETag": "W/\"f182c04e2eecd0667658564e0628c8067be98cd7a990c69bcf03f2af961421a1\"", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4956", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "44", + "X-RateLimit-Remaining": "4975", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "25", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABC2:25D2D0:67588E:78511F:674EAB3A" + "X-GitHub-Request-Id": "AA39:25D2D0:6B211A:7CB527:674EB586" } }, - "uuid": "50e40ff8-9699-487a-9b3c-9c9ad0950351", + "uuid": "b286f327-6a31-477c-bdc8-312101de5705", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/5-r_a_g_autolinks_6208101.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/5-r_a_g_autolinks_6208156.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/5-r_a_g_autolinks_6208101.json rename to src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/5-r_a_g_autolinks_6208156.json index 2c891758c3..e5172fb35a 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/5-r_a_g_autolinks_6208101.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/5-r_a_g_autolinks_6208156.json @@ -1,8 +1,8 @@ { - "id": "27891073-8620-4911-b0f9-a90d4aa1fe08", - "name": "repos_alaurant_github-api-test_autolinks_6208101", + "id": "021b08d9-0275-467e-bb5f-1e8b3dc4d44e", + "name": "repos_alaurant_github-api-test_autolinks_6208156", "request": { - "url": "/repos/Alaurant/github-api-test/autolinks/6208101", + "url": "/repos/Alaurant/github-api-test/autolinks/6208156", "method": "DELETE", "headers": { "Accept": { @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Tue, 03 Dec 2024 06:54:51 GMT", + "Date": "Tue, 03 Dec 2024 07:38:47 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4955", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "45", + "X-RateLimit-Remaining": "4974", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "26", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "ABC6:253D9C:6592B8:768B52:674EAB3A" + "X-GitHub-Request-Id": "AA3D:253D9C:69D586:7B6998:674EB587" } }, - "uuid": "27891073-8620-4911-b0f9-a90d4aa1fe08", + "uuid": "021b08d9-0275-467e-bb5f-1e8b3dc4d44e", "persistent": true, "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/6-r_a_g_autolinks.json b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/6-r_a_g_autolinks.json index 9fac1e27a2..b282bb9b84 100644 --- a/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/6-r_a_g_autolinks.json +++ b/src/test/resources/org/kohsuke/github/GHAutolinkTest/wiremock/testReadAutolink/mappings/6-r_a_g_autolinks.json @@ -1,5 +1,5 @@ { - "id": "17324ee3-4605-43a5-b1ab-2a18bae6cd3a", + "id": "efbd3941-9860-48d9-9c53-4883122928a5", "name": "repos_alaurant_github-api-test_autolinks", "request": { "url": "/repos/Alaurant/github-api-test/autolinks", @@ -14,7 +14,7 @@ "status": 200, "body": "[]", "headers": { - "Date": "Tue, 03 Dec 2024 06:54:51 GMT", + "Date": "Tue, 03 Dec 2024 07:38:47 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4954", - "X-RateLimit-Reset": "1733209471", - "X-RateLimit-Used": "46", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1733215115", + "X-RateLimit-Used": "27", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "ABC7:261CA8:6410D0:75096B:674EAB3B" + "X-GitHub-Request-Id": "AA3E:261CA8:67BC11:795017:674EB587" } }, - "uuid": "17324ee3-4605-43a5-b1ab-2a18bae6cd3a", + "uuid": "efbd3941-9860-48d9-9c53-4883122928a5", "persistent": true, "insertionIndex": 6 } \ No newline at end of file