From b6fe00e8c1158007f3af07fdc66fa3f017157870 Mon Sep 17 00:00:00 2001 From: D067452 Date: Wed, 25 Mar 2020 17:12:40 +0100 Subject: [PATCH] Get commit or tag signature verified flag This fixes #737 - A new entity GHVerification.java has been added which would be reflecting Verification flag - Updating GHCommit.java and GHTagObject.java with GHVerification - Altering few test cases AppTest.java and GHTagTest.java to verify if the Verification entity is being picked up - A separate test class SignatureVerificationTest.java with the associated wiremock test resources - Adding a new enum GHReason.java - Updating tests to check the GHReason implementation, GHReasonTest.java with the associated wiremock test resources --- .../java/org/kohsuke/github/GHCommit.java | 11 + .../java/org/kohsuke/github/GHReason.java | 24 + .../java/org/kohsuke/github/GHTagObject.java | 10 + .../org/kohsuke/github/GHVerification.java | 54 + src/test/java/org/kohsuke/github/AppTest.java | 2 + .../java/org/kohsuke/github/GHReasonTest.java | 129 + .../java/org/kohsuke/github/GHTagTest.java | 2 + .../github/SignatureVerificationTest.java | 27 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f09-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f01-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f03-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f04-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f12-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f11-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f07-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f02-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f10-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f06-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f05-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f08-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-441cdfd7-a44a-42b4-b732-57e674227760.json | 130 + ...-d76abea9-c1be-430a-bbd0-28931c58e1e8.json | 98 + ...-c247f81b-84b8-44e9-820a-0a91dc74ce98.json | 45 + .../repos_github-api_github-api-2-441cdf.json | 48 + ...71d54923655066049d9e21a15f13-3-d76abe.json | 48 + .../mappings/user-1-c247f8.json | 48 + ...-9019ab15-9d4d-46d6-a771-c22b3a2a9d49.json | 128 + ...-0d3401ed-a2b4-4de3-82d6-9b95b5341a34.json | 2372 +++++++++++++++++ ...-56b0eac8-fa5b-45fa-8ca9-b4fc279933a8.json | 98 + ...-a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38.json | 110 + ...-e14c2b7e-97c5-4209-b548-c90e00d7a6b9.json | 170 ++ ...-c380c36d-bac3-4be8-8b4f-8693388d7553.json | 98 + ...-4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7.json | 170 ++ ...-670b6d74-d1be-4679-8905-94d63b5ee87e.json | 170 ++ ...-5d4638f0-0b7d-4298-93fb-1f563afa687c.json | 170 ++ ...-f3ed2248-279a-4998-86cf-210ed1262fe7.json | 170 ++ ...-e6d566ed-eebd-42d8-86a0-16f113054b3e.json | 98 + ...-8aea2962-4bf2-41cd-8137-49b1e6c1e9bb.json | 170 ++ ...-5ed62e6e-2e24-40bf-a0ef-ed960a7ad354.json | 33 + .../repos_stapler_stapler-2-9019ab.json | 48 + ...epos_stapler_stapler_commits-3-0d3401.json | 49 + ...fd8d6e7f54c8578d84a672fee9e4-8-56b0ea.json | 48 + ...d6693f7ad8b6768e4d74840d6679-9-a01b5c.json | 48 + ...188867bddddce12ff213a107d9d-10-e14c2b.json | 48 + ...172ae4f4f3167e35852b1910b59-13-c380c3.json | 48 + ...3f80579102d00848a0083953d654-7-4c38e9.json | 48 + ...289520dcd2a395e5d77f181e1cff-6-670b6d.json | 48 + ...7ab239d7b7f94c2254340103f67e-4-5d4638.json | 48 + ...95d6f6ab624ce2c7f49d51f5321-11-f3ed22.json | 48 + ...187e052bc81391efbd84847a1b0-12-e6d566.json | 48 + ...921e7a9525a6976df900d897308f-5-8aea29.json | 48 + .../mappings/user-1-5ed62e.json | 48 + 112 files changed, 10262 insertions(+) create mode 100644 src/main/java/org/kohsuke/github/GHReason.java create mode 100644 src/main/java/org/kohsuke/github/GHVerification.java create mode 100644 src/test/java/org/kohsuke/github/GHReasonTest.java create mode 100644 src/test/java/org/kohsuke/github/SignatureVerificationTest.java create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-d76abea9-c1be-430a-bbd0-28931c58e1e8.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api-2-441cdf.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-3-d76abe.json create mode 100644 src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/user-1-c247f8.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-9019ab15-9d4d-46d6-a771-c22b3a2a9d49.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits-0d3401ed-a2b4-4de3-82d6-9b95b5341a34.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-56b0eac8-fa5b-45fa-8ca9-b4fc279933a8.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-e14c2b7e-97c5-4209-b548-c90e00d7a6b9.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-c380c36d-bac3-4be8-8b4f-8693388d7553.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-670b6d74-d1be-4679-8905-94d63b5ee87e.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-5d4638f0-0b7d-4298-93fb-1f563afa687c.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-f3ed2248-279a-4998-86cf-210ed1262fe7.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-e6d566ed-eebd-42d8-86a0-16f113054b3e.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-8aea2962-4bf2-41cd-8137-49b1e6c1e9bb.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/user-5ed62e6e-2e24-40bf-a0ef-ed960a7ad354.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler-2-9019ab.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits-3-0d3401.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8-56b0ea.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-9-a01b5c.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-10-e14c2b.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-13-c380c3.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7-4c38e9.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-6-670b6d.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-4-5d4638.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-11-f3ed22.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-12-e6d566.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-5-8aea29.json create mode 100644 src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/user-1-5ed62e.json diff --git a/src/main/java/org/kohsuke/github/GHCommit.java b/src/main/java/org/kohsuke/github/GHCommit.java index 98568cb774..5d13dd776d 100644 --- a/src/main/java/org/kohsuke/github/GHCommit.java +++ b/src/main/java/org/kohsuke/github/GHCommit.java @@ -39,6 +39,8 @@ public static class ShortInfo { private int comment_count; + private GHVerification verification; + static class Tree { String sha; } @@ -100,6 +102,15 @@ public String getMessage() { public int getCommentCount() { return comment_count; } + + /** + * Gets Verification Status. + * + * @return the Verification status + */ + public GHVerification getVerification() { + return verification; + } } /** diff --git a/src/main/java/org/kohsuke/github/GHReason.java b/src/main/java/org/kohsuke/github/GHReason.java new file mode 100644 index 0000000000..3a02dce62e --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHReason.java @@ -0,0 +1,24 @@ +package org.kohsuke.github; + +/** + * The possible values for reason in verification object from github. + * + * @see List of possible reason + * values + * @author Sourabh Sarvotham Parkala + */ +public enum GHReason { + expired_key, + not_signing_key, + gpgverify_error, + gpgverify_unavailable, + unsigned, + unknown_signature_type, + no_user, + unverified_email, + bad_email, + unknown_key, + malformed_signature, + invalid, + valid +} \ No newline at end of file diff --git a/src/main/java/org/kohsuke/github/GHTagObject.java b/src/main/java/org/kohsuke/github/GHTagObject.java index 4c0234e202..73c51c13ac 100644 --- a/src/main/java/org/kohsuke/github/GHTagObject.java +++ b/src/main/java/org/kohsuke/github/GHTagObject.java @@ -19,6 +19,7 @@ public class GHTagObject { private String message; private GitUser tagger; private GHRef.GHObject object; + private GHVerification verification; GHTagObject wrap(GHRepository owner) { this.owner = owner; @@ -97,4 +98,13 @@ public GitUser getTagger() { public GHRef.GHObject getObject() { return object; } + + /** + * Gets Verification Status. + * + * @return the Verification status + */ + public GHVerification getVerification() { + return verification; + } } diff --git a/src/main/java/org/kohsuke/github/GHVerification.java b/src/main/java/org/kohsuke/github/GHVerification.java new file mode 100644 index 0000000000..d87c6f084b --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHVerification.java @@ -0,0 +1,54 @@ +package org.kohsuke.github; + +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; + +/** + * The commit/tag would be signed by user. This object would hold the verification status. Whether the Commit/Tag is + * signed or not. + * + * @author Sourabh Sarvotham Parkala + */ +@SuppressFBWarnings(value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD" }, + justification = "JSON API") +public class GHVerification { + private String signature, payload; + private boolean verified; + private GHReason reason; + + /** + * Indicates whether GitHub considers the signature in this commit to be verified. + * + * @return true if the signature is valid else returns false. + */ + public boolean getVerified() { + return verified; + } + + /** + * Gets reason for verification value. + * + * @return return reason of type {@link GHReason}, such as "valid" or "unsigned". The possible values can be found + * in {@link GHReason}} + */ + public GHReason getReason() { + return reason; + } + + /** + * Gets signature used for the verification. + * + * @return null if not signed else encoded signature. + */ + public String getSignature() { + return signature; + } + + /** + * Gets the payload that was signed. + * + * @return null if not signed else encoded signature. + */ + public String getPayload() { + return payload; + } +} diff --git a/src/test/java/org/kohsuke/github/AppTest.java b/src/test/java/org/kohsuke/github/AppTest.java index 5041b4f6b7..d09510d0e1 100755 --- a/src/test/java/org/kohsuke/github/AppTest.java +++ b/src/test/java/org/kohsuke/github/AppTest.java @@ -596,6 +596,8 @@ public void testCommitShortInfo() throws Exception { GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f23"); assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Kohsuke Kawaguchi"); assertEquals(commit.getCommitShortInfo().getMessage(), "doc"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.unsigned); } @Ignore("Needs mocking check") diff --git a/src/test/java/org/kohsuke/github/GHReasonTest.java b/src/test/java/org/kohsuke/github/GHReasonTest.java new file mode 100644 index 0000000000..49e2326663 --- /dev/null +++ b/src/test/java/org/kohsuke/github/GHReasonTest.java @@ -0,0 +1,129 @@ +package org.kohsuke.github; + +import org.junit.Test; + +/** + * @author Sourabh Sarvotham Parkala + * @see Issue 737 + */ +public class GHReasonTest extends AbstractGitHubWireMockTest { + + @Test + public void testExpiredKeyVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f01"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.expired_key); + } + + @Test + public void testNotSigningKeyVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f02"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.not_signing_key); + } + + @Test + public void testGpgverifyErrorVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f03"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.gpgverify_error); + } + + @Test + public void testGpgverifyUnavailableVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f04"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.gpgverify_unavailable); + } + + @Test + public void testUnsignedVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f05"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.unsigned); + } + + @Test + public void testUnknownSignatureTypeVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f06"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.unknown_signature_type); + } + + @Test + public void testNoUserVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f07"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.no_user); + } + + @Test + public void testUnverifiedEmailVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f08"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.unverified_email); + } + + @Test + public void testBadEmailVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f09"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.bad_email); + } + + @Test + public void testUnknownKeyVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f10"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.unknown_key); + } + + @Test + public void testMalformedSignatureVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f11"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.malformed_signature); + } + + @Test + public void testInvalidVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f12"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertFalse(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.invalid); + } + + @Test + public void testValidVerification() throws Exception { + GHRepository r = gitHub.getRepository("github-api/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f13"); + assertEquals(commit.getCommitShortInfo().getAuthor().getName(), "Sourabh Parkala"); + assertTrue(commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(commit.getCommitShortInfo().getVerification().getReason(), GHReason.valid); + assertNotNull(commit.getCommitShortInfo().getVerification().getPayload()); + assertNotNull(commit.getCommitShortInfo().getVerification().getSignature()); + } +} diff --git a/src/test/java/org/kohsuke/github/GHTagTest.java b/src/test/java/org/kohsuke/github/GHTagTest.java index 5aac4d083f..4d895b60ae 100644 --- a/src/test/java/org/kohsuke/github/GHTagTest.java +++ b/src/test/java/org/kohsuke/github/GHTagTest.java @@ -47,6 +47,8 @@ public void testCreateTag() throws Exception { assertEquals(tagName, tag.getTag()); assertEquals(tagMessage, tag.getMessage()); assertEquals(commitSha, tag.getObject().getSha()); + assertFalse(tag.getVerification().getVerified()); + assertEquals(tag.getVerification().getReason(), GHReason.unsigned); // Make a reference to the newly created tag. GHRef ref = repo.createRef("refs/tags/" + tagName, tag.getSha()); diff --git a/src/test/java/org/kohsuke/github/SignatureVerificationTest.java b/src/test/java/org/kohsuke/github/SignatureVerificationTest.java new file mode 100644 index 0000000000..6906e26d40 --- /dev/null +++ b/src/test/java/org/kohsuke/github/SignatureVerificationTest.java @@ -0,0 +1,27 @@ +package org.kohsuke.github; + +import com.google.common.collect.Iterables; +import org.junit.Test; + +/** + * @author Sourabh Sarvotham Parkala + */ +public class SignatureVerificationTest extends AbstractGitHubWireMockTest { + + @Test // issue 737 + public void commitSignatureVerification() throws Exception { + GHRepository repo = gitHub.getRepository("stapler/stapler"); + PagedIterable commits = repo.queryCommits().path("pom.xml").list(); + for (GHCommit commit : Iterables.limit(commits, 10)) { + GHCommit expected = repo.getCommit(commit.getSHA1()); + assertEquals(expected.getCommitShortInfo().getVerification().getVerified(), + commit.getCommitShortInfo().getVerification().getVerified()); + assertEquals(expected.getCommitShortInfo().getVerification().getReason(), + commit.getCommitShortInfo().getVerification().getReason()); + assertEquals(expected.getCommitShortInfo().getVerification().getSignature(), + commit.getCommitShortInfo().getVerification().getSignature()); + assertEquals(expected.getCommitShortInfo().getVerification().getPayload(), + commit.getCommitShortInfo().getVerification().getPayload()); + } + } +} diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..f990095a51 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f09", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f09", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "bad_email", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f09", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f09", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f09/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f09/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f09/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f09", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-3-d76abe.json new file mode 100644 index 0000000000..0275d999d0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f09", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f09-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testBadEmailVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..c3d5c8d8de --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f01", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "expired_key", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f01", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f01", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3-d76abe.json new file mode 100644 index 0000000000..e97185d616 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testExpiredKeyVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..1bc0f115a2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f03", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f03", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "gpgverify_error", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f03", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f03", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f03/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f03/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f03/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f03", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-3-d76abe.json new file mode 100644 index 0000000000..b80e5abe3e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f03", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f03-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyErrorVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..6cf1a1496b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f04", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f04", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "gpgverify_unavailable", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f04", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f04", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f04/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f04/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f04/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f04", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-3-d76abe.json new file mode 100644 index 0000000000..a58c263fbe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f04", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f04-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testGpgverifyUnavailableVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..e392e2e7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f12", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f12", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "invalid", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f12", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f12", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f12/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f12/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f12/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f12", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-3-d76abe.json new file mode 100644 index 0000000000..fa9c2040eb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f12", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f12-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testInvalidVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..e2980e3ada --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f11", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f11", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "malformed_signature", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f11", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f11", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f11/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f11/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f11/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f11", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-3-d76abe.json new file mode 100644 index 0000000000..abfc25f575 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f11", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f11-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testMalformedSignatureVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..647cc8fb2e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f07", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f07", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "no_user", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f07", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f07", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f07/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f07/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f07/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f07", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-3-d76abe.json new file mode 100644 index 0000000000..bf3bdab90e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f07", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f07-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNoUserVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..b7e6111d7e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f02", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f02", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "not_signing_key", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f02", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f02", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f02/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f02/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f02/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f02", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-3-d76abe.json new file mode 100644 index 0000000000..7052729f51 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f02", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f02-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testNotSigningKeyVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..9127980410 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f10", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f10", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unknown_key", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f10", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f10", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f10/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f10/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f10/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f10", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-3-d76abe.json new file mode 100644 index 0000000000..14cd54d00b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f10", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f10-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownKeyVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..bd053ee333 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f06", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f06", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unknown_signature_type", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f06", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f06", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f06/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f06/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f06/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f06", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-3-d76abe.json new file mode 100644 index 0000000000..b6be54d99d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f06", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f06-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnknownSignatureTypeVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..1f81f09106 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f05", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f05", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f05", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f05", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f05/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f05/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f05/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f05", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-3-d76abe.json new file mode 100644 index 0000000000..2c8cf2b152 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f05", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f05-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnsignedVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..02ea84089f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f08", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f08", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unverified_email", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f08", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f08", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f08/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f08/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f08/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f08", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-3-d76abe.json new file mode 100644 index 0000000000..9da20c610b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f08", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f08-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testUnverifiedEmailVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json new file mode 100644 index 0000000000..29eeabe7c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json @@ -0,0 +1,130 @@ +{ + "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-10-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "git_url": "git://github.com/github-api/github-api.git", + "ssh_url": "git@github.com:github-api/github-api.git", + "clone_url": "https://github.com/github-api/github-api.git", + "svn_url": "https://github.com/github-api/github-api", + "homepage": "http://github-api.kohsuke.org/", + "size": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "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", + "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 + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-d76abea9-c1be-430a-bbd0-28931c58e1e8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-d76abea9-c1be-430a-bbd0-28931c58e1e8.json new file mode 100644 index 0000000000..3be54fc863 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-d76abea9-c1be-430a-bbd0-28931c58e1e8.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f13", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/github-api/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/github-api/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f13", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n", + "payload": "tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick " + } + }, + "url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f13", + "html_url": "https://github.com/github-api/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f13", + "comments_url": "https://api.github.com/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f13/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/github-api/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/github-api/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/github-api/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f13/README", + "raw_url": "https://github.com/github-api/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f13/README", + "contents_url": "https://api.github.com/repos/github-api/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f13", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/__files/user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api-2-441cdf.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api-2-441cdf.json new file mode 100644 index 0000000000..cc1479b9e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api-2-441cdf.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_github-api_github-api", + "request": { + "url": "/repos/github-api/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api-441cdfd7-a44a-42b4-b732-57e674227760.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-3-d76abe.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-3-d76abe.json new file mode 100644 index 0000000000..8743a6bded --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-3-d76abe.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13", + "request": { + "url": "/repos/github-api/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f13", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_github-api_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f13-d76abea9-c1be-430a-bbd0-28931c58e1e8.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "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": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/user-1-c247f8.json b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/user-1-c247f8.json new file mode 100644 index 0000000000..47e2ab0507 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReasonTest/wiremock/testValidVerification/mappings/user-1-c247f8.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-c247f81b-84b8-44e9-820a-0a91dc74ce98.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-9019ab15-9d4d-46d6-a771-c22b3a2a9d49.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-9019ab15-9d4d-46d6-a771-c22b3a2a9d49.json new file mode 100644 index 0000000000..75cda211bb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-9019ab15-9d4d-46d6-a771-c22b3a2a9d49.json @@ -0,0 +1,128 @@ +{ + "id": 1548514, + "node_id": "MDEwOlJlcG9zaXRvcnkxNTQ4NTE0", + "name": "stapler", + "full_name": "stapler/stapler", + "private": false, + "owner": { + "login": "stapler", + "id": 700341, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/700341?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/stapler", + "html_url": "https://github.com/stapler", + "followers_url": "https://api.github.com/users/stapler/followers", + "following_url": "https://api.github.com/users/stapler/following{/other_user}", + "gists_url": "https://api.github.com/users/stapler/gists{/gist_id}", + "starred_url": "https://api.github.com/users/stapler/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/stapler/subscriptions", + "organizations_url": "https://api.github.com/users/stapler/orgs", + "repos_url": "https://api.github.com/users/stapler/repos", + "events_url": "https://api.github.com/users/stapler/events{/privacy}", + "received_events_url": "https://api.github.com/users/stapler/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/stapler/stapler", + "description": "Stapler web framework", + "fork": false, + "url": "https://api.github.com/repos/stapler/stapler", + "forks_url": "https://api.github.com/repos/stapler/stapler/forks", + "keys_url": "https://api.github.com/repos/stapler/stapler/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/stapler/stapler/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/stapler/stapler/teams", + "hooks_url": "https://api.github.com/repos/stapler/stapler/hooks", + "issue_events_url": "https://api.github.com/repos/stapler/stapler/issues/events{/number}", + "events_url": "https://api.github.com/repos/stapler/stapler/events", + "assignees_url": "https://api.github.com/repos/stapler/stapler/assignees{/user}", + "branches_url": "https://api.github.com/repos/stapler/stapler/branches{/branch}", + "tags_url": "https://api.github.com/repos/stapler/stapler/tags", + "blobs_url": "https://api.github.com/repos/stapler/stapler/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/stapler/stapler/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/stapler/stapler/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/stapler/stapler/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/stapler/stapler/statuses/{sha}", + "languages_url": "https://api.github.com/repos/stapler/stapler/languages", + "stargazers_url": "https://api.github.com/repos/stapler/stapler/stargazers", + "contributors_url": "https://api.github.com/repos/stapler/stapler/contributors", + "subscribers_url": "https://api.github.com/repos/stapler/stapler/subscribers", + "subscription_url": "https://api.github.com/repos/stapler/stapler/subscription", + "commits_url": "https://api.github.com/repos/stapler/stapler/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/stapler/stapler/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/stapler/stapler/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/stapler/stapler/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/{+path}", + "compare_url": "https://api.github.com/repos/stapler/stapler/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/stapler/stapler/merges", + "archive_url": "https://api.github.com/repos/stapler/stapler/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/stapler/stapler/downloads", + "issues_url": "https://api.github.com/repos/stapler/stapler/issues{/number}", + "pulls_url": "https://api.github.com/repos/stapler/stapler/pulls{/number}", + "milestones_url": "https://api.github.com/repos/stapler/stapler/milestones{/number}", + "notifications_url": "https://api.github.com/repos/stapler/stapler/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/stapler/stapler/labels{/name}", + "releases_url": "https://api.github.com/repos/stapler/stapler/releases{/id}", + "deployments_url": "https://api.github.com/repos/stapler/stapler/deployments", + "created_at": "2011-03-30T22:39:45Z", + "updated_at": "2020-02-19T13:17:37Z", + "pushed_at": "2020-03-11T21:03:41Z", + "git_url": "git://github.com/stapler/stapler.git", + "ssh_url": "git@github.com:stapler/stapler.git", + "clone_url": "https://github.com/stapler/stapler.git", + "svn_url": "https://github.com/stapler/stapler", + "homepage": "http://stapler.kohsuke.org/", + "size": 42230, + "stargazers_count": 119, + "watchers_count": 119, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 81, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 36, + "license": { + "key": "bsd-2-clause", + "name": "BSD 2-Clause \"Simplified\" License", + "spdx_id": "BSD-2-Clause", + "url": "https://api.github.com/licenses/bsd-2-clause", + "node_id": "MDc6TGljZW5zZTQ=" + }, + "forks": 81, + "open_issues": 36, + "watchers": 119, + "default_branch": "master", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "temp_clone_token": "", + "organization": { + "login": "stapler", + "id": 700341, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjcwMDM0MQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/700341?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/stapler", + "html_url": "https://github.com/stapler", + "followers_url": "https://api.github.com/users/stapler/followers", + "following_url": "https://api.github.com/users/stapler/following{/other_user}", + "gists_url": "https://api.github.com/users/stapler/gists{/gist_id}", + "starred_url": "https://api.github.com/users/stapler/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/stapler/subscriptions", + "organizations_url": "https://api.github.com/users/stapler/orgs", + "repos_url": "https://api.github.com/users/stapler/repos", + "events_url": "https://api.github.com/users/stapler/events{/privacy}", + "received_events_url": "https://api.github.com/users/stapler/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 81, + "subscribers_count": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits-0d3401ed-a2b4-4de3-82d6-9b95b5341a34.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits-0d3401ed-a2b4-4de3-82d6-9b95b5341a34.json new file mode 100644 index 0000000000..0a5cdd1a9b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits-0d3401ed-a2b4-4de3-82d6-9b95b5341a34.json @@ -0,0 +1,2372 @@ +[ + { + "sha": "c8c28eb749937ab239d7b7f94c2254340103f67e", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjOGMyOGViNzQ5OTM3YWIyMzlkN2I3Zjk0YzIyNTQzNDAxMDNmNjdl", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:31Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:31Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "7494c2931938343d19d581e20037c8901d3f0c88", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/7494c2931938343d19d581e20037c8901d3f0c88" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/c8c28eb749937ab239d7b7f94c2254340103f67e", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl5BulsACgkQHdpp2Uti\nQxFKCgf7BjFUc5vQjLUToFffrFTIr2LGRwDRTGha9ALg0NkIRSubxdxTsZPZPF2S\n/v3/uFgeOXBZ6qXIHk/31Qku3Eu40JYZ0ZhSvuh0wH+F1RecaxCbAvefMxDE0kgy\nemSiUtQtEbVmdtPMM2hOQR6MytUCxnJ3PUBKQ0/+Dh5NS3f/XprxygsU+MXrrixi\npr5yY3philONi/wak8Bae3zZaap40NB9zUZw2z5T1pWhReYRmxvcjgMs8iizu/to\nMUqJEffaYpjsDH4iokc377ygj0qBsGQ5x5ISHFZAeqwAusAV7L8GowUN0bYlGF1K\nTLJx2OTQCOKe7Wl6AAvCA2VdBfBi+A==\n=tp/i\n-----END PGP SIGNATURE-----", + "payload": "tree 7494c2931938343d19d581e20037c8901d3f0c88\nparent fb443a794e13921e7a9525a6976df900d897308f\nauthor Jesse Glick 1581365851 -0500\ncommitter Jesse Glick 1581365851 -0500\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/c8c28eb749937ab239d7b7f94c2254340103f67e", + "html_url": "https://github.com/stapler/stapler/commit/c8c28eb749937ab239d7b7f94c2254340103f67e", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/c8c28eb749937ab239d7b7f94c2254340103f67e/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "fb443a794e13921e7a9525a6976df900d897308f", + "url": "https://api.github.com/repos/stapler/stapler/commits/fb443a794e13921e7a9525a6976df900d897308f", + "html_url": "https://github.com/stapler/stapler/commit/fb443a794e13921e7a9525a6976df900d897308f" + } + ] + }, + { + "sha": "fb443a794e13921e7a9525a6976df900d897308f", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpmYjQ0M2E3OTRlMTM5MjFlN2E5NTI1YTY5NzZkZjkwMGQ4OTczMDhm", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:10Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:10Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.259", + "tree": { + "sha": "5bb7e488ecee266439f0823faca46ada5e2d4d86", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/5bb7e488ecee266439f0823faca46ada5e2d4d86" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/fb443a794e13921e7a9525a6976df900d897308f", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl5BukYACgkQHdpp2Uti\nQxEf2Qf8COpjlUssvr68ErpybSvtqs02lVE/+FmmTjE1M8Ibrxf2S6dV+0KmzsKM\nSzv9ff5P2t4euPAnKcaYr3+gRexnvJLAqKveg+iwJNHsy/O4FiAGtPWChyqvpAMd\nZWQun6xhc21za7QuLlwITG9c8tmKH23u3sSBhOm9zg03X9Ayopkmzzuo94+MFZeD\nlCKlucvzuzIEU6FGLiV/yj5R3FKhfUyOuuW9Q76BB9owvuxGtb3tdWwKFn2G7suh\n4t/frqJGzSMe5fkNf4Xf/yUPu3IxeUPIaaYNGiMohKqSPYWish4/AxzXvCP+svh7\nUbpaZwt5B5PwJCpvCZ4v0bop697hqQ==\n=u4UQ\n-----END PGP SIGNATURE-----", + "payload": "tree 5bb7e488ecee266439f0823faca46ada5e2d4d86\nparent 81f51ffa3899dc27b4f400fc928f8c5b85ae6774\nauthor Jesse Glick 1581365830 -0500\ncommitter Jesse Glick 1581365830 -0500\n\n[maven-release-plugin] prepare release stapler-parent-1.259\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/fb443a794e13921e7a9525a6976df900d897308f", + "html_url": "https://github.com/stapler/stapler/commit/fb443a794e13921e7a9525a6976df900d897308f", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/fb443a794e13921e7a9525a6976df900d897308f/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "81f51ffa3899dc27b4f400fc928f8c5b85ae6774", + "url": "https://api.github.com/repos/stapler/stapler/commits/81f51ffa3899dc27b4f400fc928f8c5b85ae6774", + "html_url": "https://github.com/stapler/stapler/commit/81f51ffa3899dc27b4f400fc928f8c5b85ae6774" + } + ] + }, + { + "sha": "950acbd60ed4289520dcd2a395e5d77f181e1cff", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----", + "payload": "tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "html_url": "https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654" + } + ] + }, + { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.258", + "tree": { + "sha": "61eb4efc23a5899681e45c581290617c98856e26", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----", + "payload": "tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "3d3d6f01c553724350a6763d9b726fc3db268ccf", + "url": "https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf", + "html_url": "https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf" + } + ] + }, + { + "sha": "06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "37345299+jeffret-b@users.noreply.github.com", + "date": "2019-08-19T17:42:58Z" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "date": "2019-08-19T17:42:58Z" + }, + "message": "Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ", + "tree": { + "sha": "859fffa8ce0c958e4e4209c7a758be16f0c97c55", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n", + "payload": "tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick " + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "html_url": "https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "web-flow", + "id": 19864447, + "node_id": "MDQ6VXNlcjE5ODY0NDQ3", + "avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/web-flow", + "html_url": "https://github.com/web-flow", + "followers_url": "https://api.github.com/users/web-flow/followers", + "following_url": "https://api.github.com/users/web-flow/following{/other_user}", + "gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}", + "starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/web-flow/subscriptions", + "organizations_url": "https://api.github.com/users/web-flow/orgs", + "repos_url": "https://api.github.com/users/web-flow/repos", + "events_url": "https://api.github.com/users/web-flow/events{/privacy}", + "received_events_url": "https://api.github.com/users/web-flow/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679" + } + ] + }, + { + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:16:04Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:21:18Z" + }, + "message": "A little bit of pom cleanup.\n\nPrimarily about using https.", + "tree": { + "sha": "3ebce198db76fb2e0073f2698c255ea0eee6527c", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "url": "https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "html_url": "https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7" + } + ] + }, + { + "sha": "2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "f8ca916d33ffab1c342e6a92f7fd44dbad1609ec", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----", + "payload": "tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "html_url": "https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321" + } + ] + }, + { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.257", + "tree": { + "sha": "86a648b84700a80e22f089252cea0d70e61857bf", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----", + "payload": "tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0" + } + ] + }, + { + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "message": "#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.", + "tree": { + "sha": "109f198441d6524d99e237ac863e28e80ad77e59", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----", + "payload": "tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "08b13de864bc134fd790decd4f20db9074c7685f", + "url": "https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f", + "html_url": "https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f" + } + ] + }, + { + "sha": "53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "message": "Miscellaneous POM updates while I am here.", + "tree": { + "sha": "996a8d951dc95bc002ee4703865f45594418902e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----", + "payload": "tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "html_url": "https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "0e294ea94617a0926bd583dfe41515f4afb881e7", + "url": "https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7", + "html_url": "https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7" + } + ] + }, + { + "sha": "72343298733508cced8dcb8eb43594bcc6130b26", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3MjM0MzI5ODczMzUwOGNjZWQ4ZGNiOGViNDM1OTRiY2M2MTMwYjI2", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-19T21:27:25Z" + }, + "message": "Update to latest versions.", + "tree": { + "sha": "e1299f37e2ce97636d923a5631265279a5377b6d", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e1299f37e2ce97636d923a5631265279a5377b6d" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26", + "html_url": "https://github.com/stapler/stapler/commit/72343298733508cced8dcb8eb43594bcc6130b26", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/72343298733508cced8dcb8eb43594bcc6130b26/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "def3808ecd41583818aef3b35675756f00a45bbe", + "url": "https://api.github.com/repos/stapler/stapler/commits/def3808ecd41583818aef3b35675756f00a45bbe", + "html_url": "https://github.com/stapler/stapler/commit/def3808ecd41583818aef3b35675756f00a45bbe" + } + ] + }, + { + "sha": "4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-02-18T22:52:29Z" + }, + "message": "Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.", + "tree": { + "sha": "575f9abb94a915cfc9fb0fdcc681648aade5cd1f", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "html_url": "https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "a019ca42d01dbe7d88f56deade245d7c0366624c", + "url": "https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c", + "html_url": "https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c" + } + ] + }, + { + "sha": "78f721eb58c25f2c742d93479ff66a3cf98f508a", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3OGY3MjFlYjU4YzI1ZjJjNzQyZDkzNDc5ZmY2NmEzY2Y5OGY1MDhh", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-12-14T20:22:38Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-12-14T20:22:38Z" + }, + "message": "Port of https://github.com/jenkinsci/pom/pull/34.", + "tree": { + "sha": "fbbb94d44b8c382d4cb20faf5824811be9bc9670", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/fbbb94d44b8c382d4cb20faf5824811be9bc9670" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlwUEQ4ACgkQHdpp2Uti\nQxFIegf+O6pldE7TilUNFUpruU1EeLsjhc7BiOMPYPD4gGx7/BF3hTJ5zm7KKip9\nr27Xjs+sQipDCKv9HV3t+PHVB6NvkHkivRVpKI8NKQtyK33K+0NH8mwpSfYRQxUa\npW78Ycs7e2mBomHD0Eiv2EDO+T343YhCvOkNhYO+GU2PMeRfaTr8fp5A8XlrqBDC\nNdEoKPZDmNRXQBTUW2QomuP28PNGzDWXMCJ/pZ8us+YYoBmn0mxf9F7azcgxlkUd\nqbSfgehjd+O5UlRuHqJ7SMN7PGP5fuEQ6xAFkTo/4pqy6U3A/eSDzJtKaRg1MQ8g\np/PQ2FjTt08q2UjvYu1rtDVeLQSmxw==\n=HSGY\n-----END PGP SIGNATURE-----", + "payload": "tree fbbb94d44b8c382d4cb20faf5824811be9bc9670\nparent cebe82d8aee82f93797f315a230fcc74ff950f64\nauthor Jesse Glick 1544818958 -0500\ncommitter Jesse Glick 1544818958 -0500\n\nPort of https://github.com/jenkinsci/pom/pull/34.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a", + "html_url": "https://github.com/stapler/stapler/commit/78f721eb58c25f2c742d93479ff66a3cf98f508a", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/78f721eb58c25f2c742d93479ff66a3cf98f508a/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "cebe82d8aee82f93797f315a230fcc74ff950f64", + "url": "https://api.github.com/repos/stapler/stapler/commits/cebe82d8aee82f93797f315a230fcc74ff950f64", + "html_url": "https://github.com/stapler/stapler/commit/cebe82d8aee82f93797f315a230fcc74ff950f64" + } + ] + }, + { + "sha": "7b57b988f4af83d41ca2c17277bca4049522baaa", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3YjU3Yjk4OGY0YWY4M2Q0MWNhMmMxNzI3N2JjYTQwNDk1MjJiYWFh", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:07Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:07Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "cc2e431cfba52e2f2e56bac66e756f49fe879b48", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cc2e431cfba52e2f2e56bac66e756f49fe879b48" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/7b57b988f4af83d41ca2c17277bca4049522baaa", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/7b57b988f4af83d41ca2c17277bca4049522baaa", + "html_url": "https://github.com/stapler/stapler/commit/7b57b988f4af83d41ca2c17277bca4049522baaa", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/7b57b988f4af83d41ca2c17277bca4049522baaa/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "url": "https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "html_url": "https://github.com/stapler/stapler/commit/d9f05512169d70bbd8deff1e87afe3fdd251dc54" + } + ] + }, + { + "sha": "d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkOWYwNTUxMjE2OWQ3MGJiZDhkZWZmMWU4N2FmZTNmZGQyNTFkYzU0", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:06Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-11-20T22:50:06Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.256", + "tree": { + "sha": "72489bbab47bb18acb370d8f84b150343b7dd358", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/72489bbab47bb18acb370d8f84b150343b7dd358" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "html_url": "https://github.com/stapler/stapler/commit/d9f05512169d70bbd8deff1e87afe3fdd251dc54", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d9f05512169d70bbd8deff1e87afe3fdd251dc54/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20", + "url": "https://api.github.com/repos/stapler/stapler/commits/d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20", + "html_url": "https://github.com/stapler/stapler/commit/d9c0e42d4d8d4fa46e88370a4dc1239a4761cd20" + } + ] + }, + { + "sha": "86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo4NmUyMTNjMTY5ZWUwZWEzNTY1ZjliNWJkNTg3MDdiYzAwYTA5YjAy", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:48Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:48Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/TMgACgkQHdpp2Uti\nQxE9/Af+K1ShxOzSJcAa90xQZ3hMpj4H4EB6O85roPMakUlVdzhcAKny9FYuMH7H\nK+j+LMaXe17ZKOcj6FTg0MMA8eEE5WjMEHUIQKsJCes5V0xBfJtB6OGeR1nSNFR2\ndGCPuaPMqCT43JZCYgVr3o+/Eylpz1HQlljbp5eanfYX0AdSGmaFOLSrEC4HZ8VW\neTzJbElZTHLtwxOZJWIgRM/LgQA65pSDOBarSshw6pmNg/NnrMSqF+hiCQ+tuLxg\nIpp980DtB1DuXAjE92vdMe2SZLkF1TpeO01i4qnhHLzAAqDs5z2xZmr+Om8dOMg7\nJA95XVBFDZMK33hySR+QW3UtvBbgXg==\n=QROA\n-----END PGP SIGNATURE-----", + "payload": "tree c1c7e1eecffdf77e20f4b07a0690f599d3ca9a56\nparent c7d9760c909ca34c9c8ad3e8959a79eec433b45e\nauthor Jesse Glick 1539263688 -0400\ncommitter Jesse Glick 1539263688 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "html_url": "https://github.com/stapler/stapler/commit/86e213c169ee0ea3565f9b5bd58707bc00a09b02", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/86e213c169ee0ea3565f9b5bd58707bc00a09b02/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "url": "https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "html_url": "https://github.com/stapler/stapler/commit/c7d9760c909ca34c9c8ad3e8959a79eec433b45e" + } + ] + }, + { + "sha": "c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjN2Q5NzYwYzkwOWNhMzRjOWM4YWQzZTg5NTlhNzllZWM0MzNiNDVl", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:41Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T13:14:41Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.255", + "tree": { + "sha": "cb599cb07bfc68659244ba69d941e29263f91425", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cb599cb07bfc68659244ba69d941e29263f91425" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/TMEACgkQHdpp2Uti\nQxFiCwgAlSUgLjLRfmahF5y+T4wwQXWt1WeCLlkKdjEGoTovGEgz2Q8qCS9KmnlE\nD1E+SNb5XbLcQI88X61sl8cGiUvE0nvPdT6yxWAolmyrOKwquPocwwdAfSdHrb7F\nk+YtzxRl/Di2CMAzgpSFvdBW+qW+MCbPwOTsVpC9lPLluzEF4+zu6vkeRhdodxu+\nvsG+p4oxNyLRi7oyFHhzE+bODUoFBNfSmLoCkNeO0gEN81IFnE+fKbPE9uCuOqMf\n6NKQXJNzYd/K59fJA6IPcE+yCoh0qol8Y954PTfqHev6o9TABwxf+dUEz2aqNfl+\ndk7d6yGVZOWA1KuTWd10jFe5gpRTrA==\n=LsFr\n-----END PGP SIGNATURE-----", + "payload": "tree cb599cb07bfc68659244ba69d941e29263f91425\nparent 9de442464f5a40263e1c001c4c8ec4c8fbbefb30\nauthor Jesse Glick 1539263681 -0400\ncommitter Jesse Glick 1539263681 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.255\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "html_url": "https://github.com/stapler/stapler/commit/c7d9760c909ca34c9c8ad3e8959a79eec433b45e", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/c7d9760c909ca34c9c8ad3e8959a79eec433b45e/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "9de442464f5a40263e1c001c4c8ec4c8fbbefb30", + "url": "https://api.github.com/repos/stapler/stapler/commits/9de442464f5a40263e1c001c4c8ec4c8fbbefb30", + "html_url": "https://github.com/stapler/stapler/commit/9de442464f5a40263e1c001c4c8ec4c8fbbefb30" + } + ] + }, + { + "sha": "a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDphM2EyNDEyYTZkMzQ4Y2Q5N2Q1ZWRmZGY3Mjc5OTYxMThkNmM5YzQz", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T12:00:25Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2018-10-11T12:00:25Z" + }, + "message": "Reverting version change from #146.", + "tree": { + "sha": "2091120406431f581f483d2ce8329c7a7d9b5686", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/2091120406431f581f483d2ce8329c7a7d9b5686" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlu/O1kACgkQHdpp2Uti\nQxHm2Qf/bF+fwm1u2KfSW9CAJFzVntw6fEwiEtL7J1dUUMngDhhAuxQjer14ldru\nAy9bsf20/rNLOGL71ibivTR4ExZMbOByYmnh3Po9R/kYWZG5erFLNIf/ax2lpgEB\nCXnOKVnmTmCnLN6N4xWDEauzVBJyK2bk9gILWbFKi2of4M12KXXaXoBpJimg0yZr\neymffa3SYexO7cN6xGaM/HO2UEoi2zTQqqGgV6Mt1gbUHmahnuRjNxTJ23GStfZQ\nSOmFTCeMPjUOqhpt+n3vu6x9KrV+/JmL2GtD/HEdHn1TWEELE2mXx7+TYBExOShx\nEWISOQWwZh1iZSF3z0KfprwuhsaStw==\n=4U63\n-----END PGP SIGNATURE-----", + "payload": "tree 2091120406431f581f483d2ce8329c7a7d9b5686\nparent baae85648bcc3b7614e06136d69a3a3308161ac2\nauthor Jesse Glick 1539259225 -0400\ncommitter Jesse Glick 1539259225 -0400\n\nReverting version change from #146.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "html_url": "https://github.com/stapler/stapler/commit/a3a2412a6d348cd97d5edfdf727996118d6c9c43", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/a3a2412a6d348cd97d5edfdf727996118d6c9c43/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "baae85648bcc3b7614e06136d69a3a3308161ac2", + "url": "https://api.github.com/repos/stapler/stapler/commits/baae85648bcc3b7614e06136d69a3a3308161ac2", + "html_url": "https://github.com/stapler/stapler/commit/baae85648bcc3b7614e06136d69a3a3308161ac2" + } + ] + }, + { + "sha": "7d06fa1264dc96380e37aa15eb12289ad68690aa", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo3ZDA2ZmExMjY0ZGM5NjM4MGUzN2FhMTVlYjEyMjg5YWQ2ODY5MGFh", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:05Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:05Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "9f43ea7f6eeba931f4fb54ab992c0d6c5860b47e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/9f43ea7f6eeba931f4fb54ab992c0d6c5860b47e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa", + "html_url": "https://github.com/stapler/stapler/commit/7d06fa1264dc96380e37aa15eb12289ad68690aa", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/7d06fa1264dc96380e37aa15eb12289ad68690aa/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "url": "https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "html_url": "https://github.com/stapler/stapler/commit/91087c2e85b9e9539fb291c8298fb4692a7c2d84" + } + ] + }, + { + "sha": "91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo5MTA4N2MyZTg1YjllOTUzOWZiMjkxYzgyOThmYjQ2OTJhN2MyZDg0", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:04Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-09-27T00:33:04Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.254.2", + "tree": { + "sha": "c928a28e808845dd5c6008c255205a3ca7f15650", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/c928a28e808845dd5c6008c255205a3ca7f15650" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "html_url": "https://github.com/stapler/stapler/commit/91087c2e85b9e9539fb291c8298fb4692a7c2d84", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/91087c2e85b9e9539fb291c8298fb4692a7c2d84/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "e161023b9284f7572064c7618c896e5c29035ab1", + "url": "https://api.github.com/repos/stapler/stapler/commits/e161023b9284f7572064c7618c896e5c29035ab1", + "html_url": "https://github.com/stapler/stapler/commit/e161023b9284f7572064c7618c896e5c29035ab1" + } + ] + }, + { + "sha": "5264351dda1af88557c0ebd9be6ce050bc883ca1", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo1MjY0MzUxZGRhMWFmODg1NTdjMGViZDliZTZjZTA1MGJjODgzY2Ex", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "2bab1a02c342004f23ba782d3bed830a6fe1943b", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/2bab1a02c342004f23ba782d3bed830a6fe1943b" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1", + "html_url": "https://github.com/stapler/stapler/commit/5264351dda1af88557c0ebd9be6ce050bc883ca1", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/5264351dda1af88557c0ebd9be6ce050bc883ca1/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "url": "https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "html_url": "https://github.com/stapler/stapler/commit/eb7bb985c89187288fc54f9a50aeb80e90821f7c" + } + ] + }, + { + "sha": "eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplYjdiYjk4NWM4OTE4NzI4OGZjNTRmOWE1MGFlYjgwZTkwODIxZjdj", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T18:46:22Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.254.1", + "tree": { + "sha": "feecc3f969470e3d89d4bd003a9d63f78bff1b11", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/feecc3f969470e3d89d4bd003a9d63f78bff1b11" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "html_url": "https://github.com/stapler/stapler/commit/eb7bb985c89187288fc54f9a50aeb80e90821f7c", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/eb7bb985c89187288fc54f9a50aeb80e90821f7c/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1", + "url": "https://api.github.com/repos/stapler/stapler/commits/4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1", + "html_url": "https://github.com/stapler/stapler/commit/4fc86172cd2e16f5793a4e0374a7cb04fbb0e3b1" + } + ] + }, + { + "sha": "cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjYmZlMjc5N2VmYzMxODdlYzU4OTcxY2IwYTUzYWY0YzUxYTE1MGYy", + "commit": { + "author": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T09:36:07Z" + }, + "committer": { + "name": "Daniel Beck", + "email": "daniel-beck@users.noreply.github.com", + "date": "2018-06-19T09:36:07Z" + }, + "message": "Towards 1.254.1", + "tree": { + "sha": "47364ffca5098b87a28944e96a476530a2f75b2e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/47364ffca5098b87a28944e96a476530a2f75b2e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "html_url": "https://github.com/stapler/stapler/commit/cbfe2797efc3187ec58971cb0a53af4c51a150f2", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/cbfe2797efc3187ec58971cb0a53af4c51a150f2/comments", + "author": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "daniel-beck", + "id": 1831569, + "node_id": "MDQ6VXNlcjE4MzE1Njk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1831569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/daniel-beck", + "html_url": "https://github.com/daniel-beck", + "followers_url": "https://api.github.com/users/daniel-beck/followers", + "following_url": "https://api.github.com/users/daniel-beck/following{/other_user}", + "gists_url": "https://api.github.com/users/daniel-beck/gists{/gist_id}", + "starred_url": "https://api.github.com/users/daniel-beck/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/daniel-beck/subscriptions", + "organizations_url": "https://api.github.com/users/daniel-beck/orgs", + "repos_url": "https://api.github.com/users/daniel-beck/repos", + "events_url": "https://api.github.com/users/daniel-beck/events{/privacy}", + "received_events_url": "https://api.github.com/users/daniel-beck/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d6d854ef11dceb4624478d43af503c73f6f075a6", + "url": "https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6", + "html_url": "https://github.com/stapler/stapler/commit/d6d854ef11dceb4624478d43af503c73f6f075a6" + } + ] + }, + { + "sha": "d6d854ef11dceb4624478d43af503c73f6f075a6", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkNmQ4NTRlZjExZGNlYjQ2MjQ0NzhkNDNhZjUwM2M3M2Y2ZjA3NWE2", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:45Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:45Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "48bea58de151790190cd3187c606857d3de4e37c", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/48bea58de151790190cd3187c606857d3de4e37c" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d6d854ef11dceb4624478d43af503c73f6f075a6", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEcBAABCAAGBQJaNBfhAAoJEB3aadlLYkMRcjsH/1hUfpv+PSjLG0Aio1fGU9qG\nsyystDM9LbEp3isRVfcQdqKosMQtCqpbAYcy37Cv7Jvcr98aaBueVX4aZgA+dxhM\nx9Xr7PiWk/7PBIntvzuxtc46STrwuZ/mSVitHYxYUx2/6/TotdNyETvujvPr/Cob\nR/7LjQ1EsjuLyGfcr7icepbpmAeHX5Ev+3phzMH/ZBpGjfGKDNTjx5hSI0ftbWYy\nHzkskS1SmlR3iSxJ+9cXBzokuJQ9k+0cGyZJlPtlC6trobphKKpCy6uXSz+zwq9g\ntnEMY+2RLbNkdxRyOrJHksHEsGOH4SCQGKgAMmmW0pR+FfYVcDbtek2mlLeSO7M=\n=kot9\n-----END PGP SIGNATURE-----", + "payload": "tree 48bea58de151790190cd3187c606857d3de4e37c\nparent 07a22fed12081904a6c6b89b02117279274b4065\nauthor Jesse Glick 1513363425 -0500\ncommitter Jesse Glick 1513363425 -0500\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6", + "html_url": "https://github.com/stapler/stapler/commit/d6d854ef11dceb4624478d43af503c73f6f075a6", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d6d854ef11dceb4624478d43af503c73f6f075a6/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "07a22fed12081904a6c6b89b02117279274b4065", + "url": "https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065", + "html_url": "https://github.com/stapler/stapler/commit/07a22fed12081904a6c6b89b02117279274b4065" + } + ] + }, + { + "sha": "07a22fed12081904a6c6b89b02117279274b4065", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowN2EyMmZlZDEyMDgxOTA0YTZjNmI4OWIwMjExNzI3OTI3NGI0MDY1", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:41Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-12-15T18:43:41Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.254", + "tree": { + "sha": "e3245a995b2d3dec7441d4fc2f364d973da22180", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e3245a995b2d3dec7441d4fc2f364d973da22180" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/07a22fed12081904a6c6b89b02117279274b4065", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEcBAABCAAGBQJaNBfdAAoJEB3aadlLYkMR11AH/R8errX8ivHM8owjumQrPu3V\nne3GBScfRx9yjXhI1IaFp0s+H2Sx8ZwugA1xXti0Nt+uCrdtdCgEC8I2h4B8P/bb\nOWL8DcBr/pGvKmaBr5QXM6IolWEZHkv7uvbax9L5q19bwOFfLGWdBLMk+DVojFDe\ndYE/7oVBAj8el/zxOENsA8mLEmbrbVPNPreJkyQXQq+6SbkfSKY5/WqwFoIzwn3y\nJ1KCRTzgzbS9ISr4BRA+0UrEbDwqQNSTE7HO31RALdy1Wj4x35HtvOP7i2kFIotD\n2/l1JDo6wnwgNmh4Ir7axRprDwYnzwSlrgntM4/8fgIxPx6/PyzRvhPfcC7bnXA=\n=OZEQ\n-----END PGP SIGNATURE-----", + "payload": "tree e3245a995b2d3dec7441d4fc2f364d973da22180\nparent 741ad1a4534a4da79b83fbde99603b569984ad95\nauthor Jesse Glick 1513363421 -0500\ncommitter Jesse Glick 1513363421 -0500\n\n[maven-release-plugin] prepare release stapler-parent-1.254\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065", + "html_url": "https://github.com/stapler/stapler/commit/07a22fed12081904a6c6b89b02117279274b4065", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/07a22fed12081904a6c6b89b02117279274b4065/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "741ad1a4534a4da79b83fbde99603b569984ad95", + "url": "https://api.github.com/repos/stapler/stapler/commits/741ad1a4534a4da79b83fbde99603b569984ad95", + "html_url": "https://github.com/stapler/stapler/commit/741ad1a4534a4da79b83fbde99603b569984ad95" + } + ] + }, + { + "sha": "ce37eb5449359ec890df229e00162d050a2eef01", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjZTM3ZWI1NDQ5MzU5ZWM4OTBkZjIyOWUwMDE2MmQwNTBhMmVlZjAx", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:37Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:37Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "0061bf64d4bdb1d5e7de6a23fe5688c16cf86806", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/0061bf64d4bdb1d5e7de6a23fe5688c16cf86806" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/ce37eb5449359ec890df229e00162d050a2eef01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/ce37eb5449359ec890df229e00162d050a2eef01", + "html_url": "https://github.com/stapler/stapler/commit/ce37eb5449359ec890df229e00162d050a2eef01", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/ce37eb5449359ec890df229e00162d050a2eef01/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "055ee2b100f8778049410289c0fa5a3baa07cfb9", + "url": "https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "html_url": "https://github.com/stapler/stapler/commit/055ee2b100f8778049410289c0fa5a3baa07cfb9" + } + ] + }, + { + "sha": "055ee2b100f8778049410289c0fa5a3baa07cfb9", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowNTVlZTJiMTAwZjg3NzgwNDk0MTAyODljMGZhNWEzYmFhMDdjZmI5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:32Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-10-20T22:55:32Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.253", + "tree": { + "sha": "940c7cea71c20ed3a711f627dad594088dbe0e30", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/940c7cea71c20ed3a711f627dad594088dbe0e30" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "html_url": "https://github.com/stapler/stapler/commit/055ee2b100f8778049410289c0fa5a3baa07cfb9", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/055ee2b100f8778049410289c0fa5a3baa07cfb9/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "04889cf8b7651100e199a7576f644d115c224cf3", + "url": "https://api.github.com/repos/stapler/stapler/commits/04889cf8b7651100e199a7576f644d115c224cf3", + "html_url": "https://github.com/stapler/stapler/commit/04889cf8b7651100e199a7576f644d115c224cf3" + } + ] + }, + { + "sha": "8d574a5ae22195a901a20bddf2a90f3357b4467c", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo4ZDU3NGE1YWUyMjE5NWE5MDFhMjBiZGRmMmE5MGYzMzU3YjQ0Njdj", + "commit": { + "author": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-13T10:27:27Z" + }, + "committer": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-13T10:27:27Z" + }, + "message": "Update Extra enforcer rules as suggested by @jglick", + "tree": { + "sha": "844f78ee7e1b0c2908c8b7dbbee7cf6e918f00e0", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/844f78ee7e1b0c2908c8b7dbbee7cf6e918f00e0" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c", + "html_url": "https://github.com/stapler/stapler/commit/8d574a5ae22195a901a20bddf2a90f3357b4467c", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/8d574a5ae22195a901a20bddf2a90f3357b4467c/comments", + "author": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "00405e223da20fe0409ab1e0766ad977645ead31", + "url": "https://api.github.com/repos/stapler/stapler/commits/00405e223da20fe0409ab1e0766ad977645ead31", + "html_url": "https://github.com/stapler/stapler/commit/00405e223da20fe0409ab1e0766ad977645ead31" + } + ] + }, + { + "sha": "4d59a74413f40f7064c8486d508684d38ebdfc38", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo0ZDU5YTc0NDEzZjQwZjcwNjRjODQ4NmQ1MDg2ODRkMzhlYmRmYzM4", + "commit": { + "author": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-10T17:46:30Z" + }, + "committer": { + "name": "Oleg Nenashev", + "email": "o.v.nenashev@gmail.com", + "date": "2017-10-10T17:46:30Z" + }, + "message": "Cleanup upper Bound dependencies", + "tree": { + "sha": "319c0b493b406e364138cd557b1c344946225857", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/319c0b493b406e364138cd557b1c344946225857" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/4d59a74413f40f7064c8486d508684d38ebdfc38", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/4d59a74413f40f7064c8486d508684d38ebdfc38", + "html_url": "https://github.com/stapler/stapler/commit/4d59a74413f40f7064c8486d508684d38ebdfc38", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/4d59a74413f40f7064c8486d508684d38ebdfc38/comments", + "author": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "oleg-nenashev", + "id": 3000480, + "node_id": "MDQ6VXNlcjMwMDA0ODA=", + "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/oleg-nenashev", + "html_url": "https://github.com/oleg-nenashev", + "followers_url": "https://api.github.com/users/oleg-nenashev/followers", + "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}", + "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions", + "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs", + "repos_url": "https://api.github.com/users/oleg-nenashev/repos", + "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}", + "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "dc2afaa80149f9b81269952d9cf4fdeff71030bc", + "url": "https://api.github.com/repos/stapler/stapler/commits/dc2afaa80149f9b81269952d9cf4fdeff71030bc", + "html_url": "https://github.com/stapler/stapler/commit/dc2afaa80149f9b81269952d9cf4fdeff71030bc" + } + ] + }, + { + "sha": "b9827c91462e979e6780048bb115355af737a089", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpiOTgyN2M5MTQ2MmU5NzllNjc4MDA0OGJiMTE1MzU1YWY3MzdhMDg5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-08-03T21:39:54Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2017-08-03T21:39:54Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "e0bd0e223e705b9d104d006f90c376704a76c257", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/e0bd0e223e705b9d104d006f90c376704a76c257" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/b9827c91462e979e6780048bb115355af737a089", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/b9827c91462e979e6780048bb115355af737a089", + "html_url": "https://github.com/stapler/stapler/commit/b9827c91462e979e6780048bb115355af737a089", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/b9827c91462e979e6780048bb115355af737a089/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ea125284477865c8344337877b5eefef0d48b9b3", + "url": "https://api.github.com/repos/stapler/stapler/commits/ea125284477865c8344337877b5eefef0d48b9b3", + "html_url": "https://github.com/stapler/stapler/commit/ea125284477865c8344337877b5eefef0d48b9b3" + } + ] + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-56b0eac8-fa5b-45fa-8ca9-b4fc279933a8.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-56b0eac8-fa5b-45fa-8ca9-b4fc279933a8.json new file mode 100644 index 0000000000..cfb7b67527 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-56b0eac8-fa5b-45fa-8ca9-b4fc279933a8.json @@ -0,0 +1,98 @@ +{ + "sha": "06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDowNmIxMTA4ZWMwNDFmZDhkNmU3ZjU0Yzg1NzhkODRhNjcyZmVlOWU0", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "37345299+jeffret-b@users.noreply.github.com", + "date": "2019-08-19T17:42:58Z" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "date": "2019-08-19T17:42:58Z" + }, + "message": "Update BSD license reference.\n\nCo-Authored-By: Jesse Glick ", + "tree": { + "sha": "859fffa8ce0c958e4e4209c7a758be16f0c97c55", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/859fffa8ce0c958e4e4209c7a758be16f0c97c55" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJdWt+iCRBK7hj4Ov3rIwAAdHIIAF2vncFEFRwkJdZrVZEkT30N\neYJXFeILq+wFRDuWEDOueIkUwCy9Z4xYnM/n7fw+51LsRK+4kaFNjP6HFJGr/+m5\nioCArE27vaXnZjTAldpAG0Jku3eIfChutub0HcBy4UURozLw70ajWpbA3vOQ560B\ntontgx2I/pJmwOqkXRVvM7yxTlW751kyTVWScCtOeX2efuveeotECsDrqScKxq66\nkvJ1xmb9olWdlTjChOgqNrLbLC0jUHqc1nMGCkkVL0Pl2BMB8cXrKBQyU71ZuVJt\n4EW8IBWBtuHwHFtwABBCHXdtSsCGPat0hVag72CHiqKoZV/EAPecIlyiZMAYYig=\n=7zTb\n-----END PGP SIGNATURE-----\n", + "payload": "tree 859fffa8ce0c958e4e4209c7a758be16f0c97c55\nparent 2a971c4e38c6d6693f7ad8b6768e4d74840d6679\nauthor Jeff Thompson <37345299+jeffret-b@users.noreply.github.com> 1566236578 -0600\ncommitter GitHub 1566236578 -0600\n\nUpdate BSD license reference.\n\nCo-Authored-By: Jesse Glick " + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "html_url": "https://github.com/stapler/stapler/commit/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "web-flow", + "id": 19864447, + "node_id": "MDQ6VXNlcjE5ODY0NDQ3", + "avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/web-flow", + "html_url": "https://github.com/web-flow", + "followers_url": "https://api.github.com/users/web-flow/followers", + "following_url": "https://api.github.com/users/web-flow/following{/other_user}", + "gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}", + "starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/web-flow/subscriptions", + "organizations_url": "https://api.github.com/users/web-flow/orgs", + "repos_url": "https://api.github.com/users/web-flow/repos", + "events_url": "https://api.github.com/users/web-flow/events{/privacy}", + "received_events_url": "https://api.github.com/users/web-flow/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679" + } + ], + "stats": { + "total": 2, + "additions": 1, + "deletions": 1 + }, + "files": [ + { + "sha": "fcfba8d7fc2b339aaa73e28142b5dfc2234a35bc", + "filename": "pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/06b1108ec041fd8d6e7f54c8578d84a672fee9e4/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "patch": "@@ -30,7 +30,7 @@\n \n 2-clause BSD license\n repo\n- https://opensource.org/licenses/bsd-license\n+ https://opensource.org/licenses/BSD-2-Clause\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38.json new file mode 100644 index 0000000000..b1a2837918 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38.json @@ -0,0 +1,110 @@ +{ + "sha": "2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyYTk3MWM0ZTM4YzZkNjY5M2Y3YWQ4YjY3NjhlNGQ3NDg0MGQ2Njc5", + "commit": { + "author": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:16:04Z" + }, + "committer": { + "name": "Jeff Thompson", + "email": "jeffret.g@gmail.com", + "date": "2019-06-28T16:21:18Z" + }, + "message": "A little bit of pom cleanup.\n\nPrimarily about using https.", + "tree": { + "sha": "3ebce198db76fb2e0073f2698c255ea0eee6527c", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/3ebce198db76fb2e0073f2698c255ea0eee6527c" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "html_url": "https://github.com/stapler/stapler/commit/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/comments", + "author": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jeffret-b", + "id": 37345299, + "node_id": "MDQ6VXNlcjM3MzQ1Mjk5", + "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jeffret-b", + "html_url": "https://github.com/jeffret-b", + "followers_url": "https://api.github.com/users/jeffret-b/followers", + "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}", + "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions", + "organizations_url": "https://api.github.com/users/jeffret-b/orgs", + "repos_url": "https://api.github.com/users/jeffret-b/repos", + "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}", + "received_events_url": "https://api.github.com/users/jeffret-b/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "url": "https://api.github.com/repos/stapler/stapler/commits/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7", + "html_url": "https://github.com/stapler/stapler/commit/11ad5af185e062fb46e01bf9fbed66f3ebf2a8f7" + } + ], + "stats": { + "total": 23, + "additions": 4, + "deletions": 19 + }, + "files": [ + { + "sha": "5fa54083143c6b88b5a51ac31b470ab312a879c1", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 0, + "deletions": 15, + "changes": 15, + "blob_url": "https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "patch": "@@ -35,19 +35,4 @@\n \n \n \n- \n " + }, + { + "sha": "15dca3afa963e3ca7ef8946652fc9d74e1abd0b3", + "filename": "pom.xml", + "status": "modified", + "additions": 4, + "deletions": 4, + "changes": 8, + "blob_url": "https://github.com/stapler/stapler/blob/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2a971c4e38c6d6693f7ad8b6768e4d74840d6679/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "patch": "@@ -24,13 +24,13 @@\n jrebel\n \n \n- http://stapler.kohsuke.org/\n+ https://stapler.kohsuke.org/\n \n \n \n 2-clause BSD license\n repo\n- http://opensource.org/licenses/bsd-license.php\n+ https://opensource.org/licenses/bsd-license\n \n \n \n@@ -67,14 +67,14 @@\n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n \n \n \n repo.jenkins-ci.org\n- http://repo.jenkins-ci.org/public/\n+ https://repo.jenkins-ci.org/public/\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-e14c2b7e-97c5-4209-b548-c90e00d7a6b9.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-e14c2b7e-97c5-4209-b548-c90e00d7a6b9.json new file mode 100644 index 0000000000..0b99503fae --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-e14c2b7e-97c5-4209-b548-c90e00d7a6b9.json @@ -0,0 +1,170 @@ +{ + "sha": "2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDoyZjRjYTBmMDNjMWU2MTg4ODY3YmRkZGRjZTEyZmYyMTNhMTA3ZDlk", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:21Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "f8ca916d33ffab1c342e6a92f7fd44dbad1609ec", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/f8ca916d33ffab1c342e6a92f7fd44dbad1609ec" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWGkACgkQHdpp2Uti\nQxF9Hgf9Es/4uq/vG+zlttbpXr/RwYUgLiTO2Dw8bs+21OxfApMF0OBUtgb3SPdf\nMvWCc13Jbg3yQ2JaIP4IziEoTxZCu2ZEpgW6VtXik63f7HWyxeTeuO0I/kGNIm6J\nU4bZgeryOImU06w3SGTiaNvcxLsOjp99E8aIILqDrrHEN47sW5rBnKDDRzB5Ga74\nvZt88peqr792b6DGhYpjwl+qj3Hxqdm11JOAEwP6dLl5NhStQW6nZezcJnYJqSyd\ntfQQ0m+9qqSZaY+moenDnKEh9LleswGQwex84UNdG7i4gwsQs5GhCXaN3gMCtyiz\nU4nPC4mD3wbw93S1zORXGXvK0pUq5g==\n=KJwq\n-----END PGP SIGNATURE-----", + "payload": "tree f8ca916d33ffab1c342e6a92f7fd44dbad1609ec\nparent d922b808068cf95d6f6ab624ce2c7f49d51f5321\nauthor Jesse Glick 1554733161 -0400\ncommitter Jesse Glick 1554733161 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "html_url": "https://github.com/stapler/stapler/commit/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321" + } + ], + "stats": { + "total": 18, + "additions": 9, + "deletions": 9 + }, + "files": [ + { + "sha": "d5db8c67ff1f81d36f1e827f9167efef73a90e11", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler" + }, + { + "sha": "df30de83b3590c884f757b29cbe192ed7448ad9a", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-groovy" + }, + { + "sha": "d9d4fe7b1f40a1d7a32fce0d56a8fdfa11e58dac", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jelly" + }, + { + "sha": "549ac913ab8d7d5b715e550dbe01d948d3f3794b", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jrebel" + }, + { + "sha": "8309e3bea60cdedb5920a821247fe726b2ef9cea", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jruby" + }, + { + "sha": "5ce1d053c5c853854188bc7bc99c17e675856d29", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.257\n+ ${revision}${changelist}\n \n \n stapler-jsp" + }, + { + "sha": "72dfbbc2151c03becdedfc6f2ae8ec930c912ced", + "filename": "pom.xml", + "status": "modified", + "additions": 3, + "deletions": 3, + "changes": 6, + "blob_url": "https://github.com/stapler/stapler/blob/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/2f4ca0f03c1e6188867bddddce12ff213a107d9d/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.257\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.257\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.257\n+ 1.258\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-c380c36d-bac3-4be8-8b4f-8693388d7553.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-c380c36d-bac3-4be8-8b4f-8693388d7553.json new file mode 100644 index 0000000000..af12d8f857 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-c380c36d-bac3-4be8-8b4f-8693388d7553.json @@ -0,0 +1,98 @@ +{ + "sha": "53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo1M2NlMzRkN2Q4OWM1MTcyYWU0ZjRmMzE2N2UzNTg1MmIxOTEwYjU5", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-03T19:03:54Z" + }, + "message": "Miscellaneous POM updates while I am here.", + "tree": { + "sha": "996a8d951dc95bc002ee4703865f45594418902e", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/996a8d951dc95bc002ee4703865f45594418902e" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlylA5oACgkQHdpp2Uti\nQxFfbgf/Sv3T07OcY1W31Z1RyUVaEx0WeZpfZPuAOibFGfGLC6wpa4LCJCwaTK5l\n2I5T9nNZ95/22S3nsFHyb+VAnOFusXblKw8W6BvvyUWwNXzoBQGgvg37hKyNFwdO\nMRdErOixk71Yb6cnCatvzIpBuM4ENO77/TNvLtBApCETO9UQf6GjLU4jbHJySEHJ\n/NXvpdO1Xu5WskTc2k8/x+dtuilvLEAdMZUEHBiBTcGTUGQqedC6C7Mg3pTm9zGE\nQPj5THk+GZ6fD4KJwx0lyW9dGwTM9XYC/hjVs6AHC2dlROFiJ8/K722Fqti/zAyM\nDYz6+UUHcugK555ttRS1ntqgjxxEPw==\n=kTXy\n-----END PGP SIGNATURE-----", + "payload": "tree 996a8d951dc95bc002ee4703865f45594418902e\nparent 0e294ea94617a0926bd583dfe41515f4afb881e7\nauthor Jesse Glick 1554318234 -0400\ncommitter Jesse Glick 1554318234 -0400\n\nMiscellaneous POM updates while I am here.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "html_url": "https://github.com/stapler/stapler/commit/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "0e294ea94617a0926bd583dfe41515f4afb881e7", + "url": "https://api.github.com/repos/stapler/stapler/commits/0e294ea94617a0926bd583dfe41515f4afb881e7", + "html_url": "https://github.com/stapler/stapler/commit/0e294ea94617a0926bd583dfe41515f4afb881e7" + } + ], + "stats": { + "total": 7, + "additions": 2, + "deletions": 5 + }, + "files": [ + { + "sha": "2c12ec3f8c2d8b52772784b939ccea49b1fa904d", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 5, + "changes": 7, + "blob_url": "https://github.com/stapler/stapler/blob/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/53ce34d7d89c5172ae4f4f3167e35852b1910b59/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "patch": "@@ -4,7 +4,8 @@\n \n org.kohsuke\n pom\n- 19\n+ 21\n+ \n \n org.kohsuke.stapler\n stapler-parent\n@@ -40,10 +41,6 @@\n ${scmTag}\n \n \n- \n- 3.0.4\n- \n-\n \n \n maven.jenkins-ci.org" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7.json new file mode 100644 index 0000000000..cd1ba6e40f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7.json @@ -0,0 +1,170 @@ +{ + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo2YTI0Mzg2OWFhM2MzZjgwNTc5MTAyZDAwODQ4YTAwODM5NTNkNjU0", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:42Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.258", + "tree": { + "sha": "61eb4efc23a5899681e45c581290617c98856e26", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/61eb4efc23a5899681e45c581290617c98856e26" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/6a243869aa3c3f80579102d00848a0083953d654", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7LIACgkQHdpp2Uti\nQxEO8wf/fbacmCDXus8GhagFs240dUjvMbKTxVTX0yS8dHf7TvmpljikXRC8l4RM\nYy9g+J0Gbf9jMaz8walo4bXt7m8RaCDJmcKyA3Y3vC3O5G2Y5wlFLQwtN0ZykbKc\nPH0xLW4n8NBWBk1F50ka9y+/EBEAeMn8oSjmJhBDyc+xWWiuewrYaiX81JHKU9PY\ngwYW+eCxh0Z14CZQstfJx8SeVXbWJtpm+x/Hyjetj7VaVdvzKNAUTQ6wPp5drvGI\nQ0H91v01TA5pskbKDeegMLIlItqyjgjTnGV8rx4JjzZcvH+lPXbnI5Tcb68DvZgN\noJt4cb0b5dIo1pSbzF9W5i6Ro8QxGA==\n=Mduu\n-----END PGP SIGNATURE-----", + "payload": "tree 61eb4efc23a5899681e45c581290617c98856e26\nparent 3d3d6f01c553724350a6763d9b726fc3db268ccf\nauthor Jesse Glick 1566239922 -0400\ncommitter Jesse Glick 1566239922 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.258\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "3d3d6f01c553724350a6763d9b726fc3db268ccf", + "url": "https://api.github.com/repos/stapler/stapler/commits/3d3d6f01c553724350a6763d9b726fc3db268ccf", + "html_url": "https://github.com/stapler/stapler/commit/3d3d6f01c553724350a6763d9b726fc3db268ccf" + } + ], + "stats": { + "total": 16, + "additions": 8, + "deletions": 8 + }, + "files": [ + { + "sha": "3db06058b622f33fffbcf05fa3a4278ebb25aeca", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler" + }, + { + "sha": "90f2de8c4bd577de291ebd69279b8ad6d543bcda", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-groovy" + }, + { + "sha": "828321e36a571d4572cc4ef64a8be1126f1a2468", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jelly" + }, + { + "sha": "d67b6481ffc873ddc9ae4bb765003752c44cd7fb", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jrebel" + }, + { + "sha": "0880c54411fab4d2ecc7cac972c9c0eb65bea007", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jruby" + }, + { + "sha": "95656583899744b7e58777f16a460f608ad16bcc", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.258\n \n \n stapler-jsp" + }, + { + "sha": "c6a16143c825686ffcb52b107e4f81912be47310", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 2, + "changes": 4, + "blob_url": "https://github.com/stapler/stapler/blob/6a243869aa3c3f80579102d00848a0083953d654/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/6a243869aa3c3f80579102d00848a0083953d654/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=6a243869aa3c3f80579102d00848a0083953d654", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.258\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.258\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-670b6d74-d1be-4679-8905-94d63b5ee87e.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-670b6d74-d1be-4679-8905-94d63b5ee87e.json new file mode 100644 index 0000000000..94257479a6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-670b6d74-d1be-4679-8905-94d63b5ee87e.json @@ -0,0 +1,170 @@ +{ + "sha": "950acbd60ed4289520dcd2a395e5d77f181e1cff", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDo5NTBhY2JkNjBlZDQyODk1MjBkY2QyYTM5NWU1ZDc3ZjE4MWUxY2Zm", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-08-19T18:38:53Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl1a7L0ACgkQHdpp2Uti\nQxHaAwgApG8F+WMMEdEkw5pqcbz3m5fIRD47tKvgyXHRzE9nCIQ26GLyw4gRNBX+\nDT2lOE6EEPSpC5yqlAJSOZUKlmh7QLbolJwfm5NTi6+siV0zFQB7Y1A/BW6PawCh\nPoCgkWIpR6ElC2y48KSmWRC5BJ4NkXtwh/v3yqa094wY1zlv5EazT/e2CcWhL7Ky\n0/a4IFMFuVRMt1qzY43umTAWP6k36PorBWHOTsMrQ2Nrq3LHjbldH3KzRPqkWy9X\ntTp5hMQ1zr4wQYeb9duQFE5m8UcJaZP1Rl0uET2DdeceibLBeFWEFruuzWeY6y+d\ngmzN3JL1Qjeex/qI3s1G4vh0ybfxMg==\n=lHha\n-----END PGP SIGNATURE-----", + "payload": "tree cdd0f7a1782143bfbc97e0d7f6cd4f6cac504df8\nparent 6a243869aa3c3f80579102d00848a0083953d654\nauthor Jesse Glick 1566239933 -0400\ncommitter Jesse Glick 1566239933 -0400\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "html_url": "https://github.com/stapler/stapler/commit/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "6a243869aa3c3f80579102d00848a0083953d654", + "url": "https://api.github.com/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "html_url": "https://github.com/stapler/stapler/commit/6a243869aa3c3f80579102d00848a0083953d654" + } + ], + "stats": { + "total": 18, + "additions": 9, + "deletions": 9 + }, + "files": [ + { + "sha": "d5db8c67ff1f81d36f1e827f9167efef73a90e11", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler" + }, + { + "sha": "df30de83b3590c884f757b29cbe192ed7448ad9a", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-groovy" + }, + { + "sha": "04a2e597ea9a15b153da5c17e92a0e8df44ec31a", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jelly" + }, + { + "sha": "5fa54083143c6b88b5a51ac31b470ab312a879c1", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jrebel" + }, + { + "sha": "8309e3bea60cdedb5920a821247fe726b2ef9cea", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jruby" + }, + { + "sha": "5ce1d053c5c853854188bc7bc99c17e675856d29", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.258\n+ ${revision}${changelist}\n \n \n stapler-jsp" + }, + { + "sha": "a5d53737cfb81a8cd139b084a7f196452c120ffa", + "filename": "pom.xml", + "status": "modified", + "additions": 3, + "deletions": 3, + "changes": 6, + "blob_url": "https://github.com/stapler/stapler/blob/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/950acbd60ed4289520dcd2a395e5d77f181e1cff/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=950acbd60ed4289520dcd2a395e5d77f181e1cff", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.258\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.258\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.258\n+ 1.259\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-5d4638f0-0b7d-4298-93fb-1f563afa687c.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-5d4638f0-0b7d-4298-93fb-1f563afa687c.json new file mode 100644 index 0000000000..3fb5d15980 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-5d4638f0-0b7d-4298-93fb-1f563afa687c.json @@ -0,0 +1,170 @@ +{ + "sha": "c8c28eb749937ab239d7b7f94c2254340103f67e", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpjOGMyOGViNzQ5OTM3YWIyMzlkN2I3Zjk0YzIyNTQzNDAxMDNmNjdl", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:31Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:31Z" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "tree": { + "sha": "7494c2931938343d19d581e20037c8901d3f0c88", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/7494c2931938343d19d581e20037c8901d3f0c88" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/c8c28eb749937ab239d7b7f94c2254340103f67e", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl5BulsACgkQHdpp2Uti\nQxFKCgf7BjFUc5vQjLUToFffrFTIr2LGRwDRTGha9ALg0NkIRSubxdxTsZPZPF2S\n/v3/uFgeOXBZ6qXIHk/31Qku3Eu40JYZ0ZhSvuh0wH+F1RecaxCbAvefMxDE0kgy\nemSiUtQtEbVmdtPMM2hOQR6MytUCxnJ3PUBKQ0/+Dh5NS3f/XprxygsU+MXrrixi\npr5yY3philONi/wak8Bae3zZaap40NB9zUZw2z5T1pWhReYRmxvcjgMs8iizu/to\nMUqJEffaYpjsDH4iokc377ygj0qBsGQ5x5ISHFZAeqwAusAV7L8GowUN0bYlGF1K\nTLJx2OTQCOKe7Wl6AAvCA2VdBfBi+A==\n=tp/i\n-----END PGP SIGNATURE-----", + "payload": "tree 7494c2931938343d19d581e20037c8901d3f0c88\nparent fb443a794e13921e7a9525a6976df900d897308f\nauthor Jesse Glick 1581365851 -0500\ncommitter Jesse Glick 1581365851 -0500\n\n[maven-release-plugin] prepare for next development iteration\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/c8c28eb749937ab239d7b7f94c2254340103f67e", + "html_url": "https://github.com/stapler/stapler/commit/c8c28eb749937ab239d7b7f94c2254340103f67e", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/c8c28eb749937ab239d7b7f94c2254340103f67e/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "fb443a794e13921e7a9525a6976df900d897308f", + "url": "https://api.github.com/repos/stapler/stapler/commits/fb443a794e13921e7a9525a6976df900d897308f", + "html_url": "https://github.com/stapler/stapler/commit/fb443a794e13921e7a9525a6976df900d897308f" + } + ], + "stats": { + "total": 18, + "additions": 9, + "deletions": 9 + }, + "files": [ + { + "sha": "d5db8c67ff1f81d36f1e827f9167efef73a90e11", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/c8c28eb749937ab239d7b7f94c2254340103f67e/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/c8c28eb749937ab239d7b7f94c2254340103f67e/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=c8c28eb749937ab239d7b7f94c2254340103f67e", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.259\n+ ${revision}${changelist}\n \n \n stapler" + }, + { + "sha": "df30de83b3590c884f757b29cbe192ed7448ad9a", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/c8c28eb749937ab239d7b7f94c2254340103f67e/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/c8c28eb749937ab239d7b7f94c2254340103f67e/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=c8c28eb749937ab239d7b7f94c2254340103f67e", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.259\n+ ${revision}${changelist}\n \n \n stapler-groovy" + }, + { + "sha": "04a2e597ea9a15b153da5c17e92a0e8df44ec31a", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/c8c28eb749937ab239d7b7f94c2254340103f67e/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/c8c28eb749937ab239d7b7f94c2254340103f67e/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=c8c28eb749937ab239d7b7f94c2254340103f67e", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.259\n+ ${revision}${changelist}\n \n \n stapler-jelly" + }, + { + "sha": "5fa54083143c6b88b5a51ac31b470ab312a879c1", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/c8c28eb749937ab239d7b7f94c2254340103f67e/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/c8c28eb749937ab239d7b7f94c2254340103f67e/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=c8c28eb749937ab239d7b7f94c2254340103f67e", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.259\n+ ${revision}${changelist}\n \n \n stapler-jrebel" + }, + { + "sha": "8309e3bea60cdedb5920a821247fe726b2ef9cea", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/c8c28eb749937ab239d7b7f94c2254340103f67e/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/c8c28eb749937ab239d7b7f94c2254340103f67e/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=c8c28eb749937ab239d7b7f94c2254340103f67e", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.259\n+ ${revision}${changelist}\n \n \n stapler-jruby" + }, + { + "sha": "5ce1d053c5c853854188bc7bc99c17e675856d29", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/c8c28eb749937ab239d7b7f94c2254340103f67e/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/c8c28eb749937ab239d7b7f94c2254340103f67e/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=c8c28eb749937ab239d7b7f94c2254340103f67e", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- 1.259\n+ ${revision}${changelist}\n \n \n stapler-jsp" + }, + { + "sha": "d76e37949713d7f578fa172135f4937010dca168", + "filename": "pom.xml", + "status": "modified", + "additions": 3, + "deletions": 3, + "changes": 6, + "blob_url": "https://github.com/stapler/stapler/blob/c8c28eb749937ab239d7b7f94c2254340103f67e/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/c8c28eb749937ab239d7b7f94c2254340103f67e/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=c8c28eb749937ab239d7b7f94c2254340103f67e", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- 1.259\n+ ${revision}${changelist}\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- stapler-parent-1.259\n+ ${scmTag}\n \n \n \n@@ -81,7 +81,7 @@\n \n UTF-8\n 8\n- 1.259\n+ 1.260\n -SNAPSHOT\n https://repo.jenkins-ci.org/incrementals/\n HEAD" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-f3ed2248-279a-4998-86cf-210ed1262fe7.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-f3ed2248-279a-4998-86cf-210ed1262fe7.json new file mode 100644 index 0000000000..31a2f5ac36 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-f3ed2248-279a-4998-86cf-210ed1262fe7.json @@ -0,0 +1,170 @@ +{ + "sha": "d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpkOTIyYjgwODA2OGNmOTVkNmY2YWI2MjRjZTJjN2Y0OWQ1MWY1MzIx", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:19:11Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.257", + "tree": { + "sha": "86a648b84700a80e22f089252cea0d70e61857bf", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/86a648b84700a80e22f089252cea0d70e61857bf" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWF8ACgkQHdpp2Uti\nQxFUSQf/TTTCnvT3vAgDwXjs8YOqX9HNxwGl7ugrAN6TU2tRhBjLQovwFZgdJWMK\nVbQ9LNHPM4pDmedCnSMV7dd7b686Auy4qY3oSrr4ATtOZFj+qIxo3WzLXFfTm0+f\n2crxX4TrVj+to5kFb+tXZo5tB/36WThebpVJvT8KMgGEuUheYOanJeqqygsH0eCe\nbC3lMunAqKIe1NFxrEVET4Ut6Gt+SvOhzqf0bJASnPKiyugz68ZpOUOsHHAe3sxo\nlYUBrILfrMsUzxBTfcVVpSIUVv5gIQXVdzK+Jk27sCIfw9iV2Is7BlHW63inZHCM\nkjGyPLEI+rikA5xSrqrK37Omfha3Rw==\n=C5kb\n-----END PGP SIGNATURE-----", + "payload": "tree 86a648b84700a80e22f089252cea0d70e61857bf\nparent efe737fa365a0187e052bc81391efbd84847a1b0\nauthor Jesse Glick 1554733151 -0400\ncommitter Jesse Glick 1554733151 -0400\n\n[maven-release-plugin] prepare release stapler-parent-1.257\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "html_url": "https://github.com/stapler/stapler/commit/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0" + } + ], + "stats": { + "total": 16, + "additions": 8, + "deletions": 8 + }, + "files": [ + { + "sha": "286ca8dd7b8018f3140674710f7473523393782e", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler" + }, + { + "sha": "1a4475dd35726dbba416e63d994736cbe1c7ab99", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-groovy" + }, + { + "sha": "8146cea2347fdadeca07bcc73e023ca92486b063", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jelly" + }, + { + "sha": "51b4ec42334a4fba9da46acea3f4fb17685d8019", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jrebel" + }, + { + "sha": "a9320b466ffd0c35dbf5dcfb04ce21d120676ef2", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jruby" + }, + { + "sha": "5782199c8726ec8938a63630cef1deb7336b3e41", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.257\n \n \n stapler-jsp" + }, + { + "sha": "bb9539f22936ea88efd4e73c080370957210f56b", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 2, + "changes": 4, + "blob_url": "https://github.com/stapler/stapler/blob/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/d922b808068cf95d6f6ab624ce2c7f49d51f5321/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.257\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.257\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-e6d566ed-eebd-42d8-86a0-16f113054b3e.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-e6d566ed-eebd-42d8-86a0-16f113054b3e.json new file mode 100644 index 0000000000..22efaee735 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-e6d566ed-eebd-42d8-86a0-16f113054b3e.json @@ -0,0 +1,98 @@ +{ + "sha": "efe737fa365a0187e052bc81391efbd84847a1b0", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDplZmU3MzdmYTM2NWEwMTg3ZTA1MmJjODEzOTFlZmJkODQ4NDdhMWIw", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2019-04-08T14:17:55Z" + }, + "message": "#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.", + "tree": { + "sha": "109f198441d6524d99e237ac863e28e80ad77e59", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/109f198441d6524d99e237ac863e28e80ad77e59" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAlyrWBMACgkQHdpp2Uti\nQxFdngf9HAAKvEN8oIEBq5Vy45V80FMdWVjiYb21qoZ5l6KHNgLm1AmBsnQWvvpU\n1Q+VKMfdp6+492flDYrn+rjLOVAUcHwReTHtyq7YqkUP1E/4FJfT/8mi0szD9u4+\nhDUWKUs0//LLqTGHGgvLcQc4FXHNzcuZIowOfuHlCAOgWHqWuYDnb4aFhY3s8RdJ\na6E0V9MeUtmehKZBhGedfY+b/JpudFC+9dquR5rHEg8cP5jr7Gc3Ifcgx9nNMYXE\nn8qiwz02udK8pU+Z1KVzU4NbHydVHN8V4GceeDhqRbNNM0hjJ1ieBQefpJ+7E76R\nW9pTOeYzI9Xi1nA2pqHR5HVIk5OggA==\n=FmWz\n-----END PGP SIGNATURE-----", + "payload": "tree 109f198441d6524d99e237ac863e28e80ad77e59\nparent 08b13de864bc134fd790decd4f20db9074c7685f\nauthor Jesse Glick 1554733075 -0400\ncommitter Jesse Glick 1554733075 -0400\n\n#157 neglected to add incrementals-maven-plugin to pluginManagement, breaking reincrementalify during release.\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "html_url": "https://github.com/stapler/stapler/commit/efe737fa365a0187e052bc81391efbd84847a1b0", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "08b13de864bc134fd790decd4f20db9074c7685f", + "url": "https://api.github.com/repos/stapler/stapler/commits/08b13de864bc134fd790decd4f20db9074c7685f", + "html_url": "https://github.com/stapler/stapler/commit/08b13de864bc134fd790decd4f20db9074c7685f" + } + ], + "stats": { + "total": 9, + "additions": 9, + "deletions": 0 + }, + "files": [ + { + "sha": "879f7cfd81594702efa34611f52b94c795230436", + "filename": "pom.xml", + "status": "modified", + "additions": 9, + "deletions": 0, + "changes": 9, + "blob_url": "https://github.com/stapler/stapler/blob/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/efe737fa365a0187e052bc81391efbd84847a1b0/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=efe737fa365a0187e052bc81391efbd84847a1b0", + "patch": "@@ -206,6 +206,15 @@\n -Djdk.net.URLClassPath.disableClassPathURLCheck=true\n \n \n+ \n+ io.jenkins.tools.incrementals\n+ incrementals-maven-plugin\n+ 1.0-beta-7\n+ \n+ false\n+ false\n+ \n+ \n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-8aea2962-4bf2-41cd-8137-49b1e6c1e9bb.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-8aea2962-4bf2-41cd-8137-49b1e6c1e9bb.json new file mode 100644 index 0000000000..e9dd934a73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-8aea2962-4bf2-41cd-8137-49b1e6c1e9bb.json @@ -0,0 +1,170 @@ +{ + "sha": "fb443a794e13921e7a9525a6976df900d897308f", + "node_id": "MDY6Q29tbWl0MTU0ODUxNDpmYjQ0M2E3OTRlMTM5MjFlN2E5NTI1YTY5NzZkZjkwMGQ4OTczMDhm", + "commit": { + "author": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:10Z" + }, + "committer": { + "name": "Jesse Glick", + "email": "jglick@cloudbees.com", + "date": "2020-02-10T20:17:10Z" + }, + "message": "[maven-release-plugin] prepare release stapler-parent-1.259", + "tree": { + "sha": "5bb7e488ecee266439f0823faca46ada5e2d4d86", + "url": "https://api.github.com/repos/stapler/stapler/git/trees/5bb7e488ecee266439f0823faca46ada5e2d4d86" + }, + "url": "https://api.github.com/repos/stapler/stapler/git/commits/fb443a794e13921e7a9525a6976df900d897308f", + "comment_count": 0, + "verification": { + "verified": true, + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEYYylhqBIUt57zhxYHdpp2UtiQxEFAl5BukYACgkQHdpp2Uti\nQxEf2Qf8COpjlUssvr68ErpybSvtqs02lVE/+FmmTjE1M8Ibrxf2S6dV+0KmzsKM\nSzv9ff5P2t4euPAnKcaYr3+gRexnvJLAqKveg+iwJNHsy/O4FiAGtPWChyqvpAMd\nZWQun6xhc21za7QuLlwITG9c8tmKH23u3sSBhOm9zg03X9Ayopkmzzuo94+MFZeD\nlCKlucvzuzIEU6FGLiV/yj5R3FKhfUyOuuW9Q76BB9owvuxGtb3tdWwKFn2G7suh\n4t/frqJGzSMe5fkNf4Xf/yUPu3IxeUPIaaYNGiMohKqSPYWish4/AxzXvCP+svh7\nUbpaZwt5B5PwJCpvCZ4v0bop697hqQ==\n=u4UQ\n-----END PGP SIGNATURE-----", + "payload": "tree 5bb7e488ecee266439f0823faca46ada5e2d4d86\nparent 81f51ffa3899dc27b4f400fc928f8c5b85ae6774\nauthor Jesse Glick 1581365830 -0500\ncommitter Jesse Glick 1581365830 -0500\n\n[maven-release-plugin] prepare release stapler-parent-1.259\n" + } + }, + "url": "https://api.github.com/repos/stapler/stapler/commits/fb443a794e13921e7a9525a6976df900d897308f", + "html_url": "https://github.com/stapler/stapler/commit/fb443a794e13921e7a9525a6976df900d897308f", + "comments_url": "https://api.github.com/repos/stapler/stapler/commits/fb443a794e13921e7a9525a6976df900d897308f/comments", + "author": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "jglick", + "id": 154109, + "node_id": "MDQ6VXNlcjE1NDEwOQ==", + "avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jglick", + "html_url": "https://github.com/jglick", + "followers_url": "https://api.github.com/users/jglick/followers", + "following_url": "https://api.github.com/users/jglick/following{/other_user}", + "gists_url": "https://api.github.com/users/jglick/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jglick/subscriptions", + "organizations_url": "https://api.github.com/users/jglick/orgs", + "repos_url": "https://api.github.com/users/jglick/repos", + "events_url": "https://api.github.com/users/jglick/events{/privacy}", + "received_events_url": "https://api.github.com/users/jglick/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "81f51ffa3899dc27b4f400fc928f8c5b85ae6774", + "url": "https://api.github.com/repos/stapler/stapler/commits/81f51ffa3899dc27b4f400fc928f8c5b85ae6774", + "html_url": "https://github.com/stapler/stapler/commit/81f51ffa3899dc27b4f400fc928f8c5b85ae6774" + } + ], + "stats": { + "total": 16, + "additions": 8, + "deletions": 8 + }, + "files": [ + { + "sha": "110fddf77db4e2d493c8bd236f1fdb3d8d44acc3", + "filename": "core/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/fb443a794e13921e7a9525a6976df900d897308f/core/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/fb443a794e13921e7a9525a6976df900d897308f/core/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/core/pom.xml?ref=fb443a794e13921e7a9525a6976df900d897308f", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.259\n \n \n stapler" + }, + { + "sha": "bccbd36d79edbe9abdc5dd26929f72093211acc5", + "filename": "groovy/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/fb443a794e13921e7a9525a6976df900d897308f/groovy/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/fb443a794e13921e7a9525a6976df900d897308f/groovy/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/groovy/pom.xml?ref=fb443a794e13921e7a9525a6976df900d897308f", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.259\n \n \n stapler-groovy" + }, + { + "sha": "f962213b91c7510433920b7bfca78b9b4004286a", + "filename": "jelly/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/fb443a794e13921e7a9525a6976df900d897308f/jelly/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/fb443a794e13921e7a9525a6976df900d897308f/jelly/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jelly/pom.xml?ref=fb443a794e13921e7a9525a6976df900d897308f", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.259\n \n \n stapler-jelly" + }, + { + "sha": "4ed4e3e27f02ab732e20cb48dc68d14c48b9fdd3", + "filename": "jrebel/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/fb443a794e13921e7a9525a6976df900d897308f/jrebel/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/fb443a794e13921e7a9525a6976df900d897308f/jrebel/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jrebel/pom.xml?ref=fb443a794e13921e7a9525a6976df900d897308f", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.259\n \n \n stapler-jrebel" + }, + { + "sha": "9f85776c66f5adfc1917912b2e6154c34ec7675d", + "filename": "jruby/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/fb443a794e13921e7a9525a6976df900d897308f/jruby/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/fb443a794e13921e7a9525a6976df900d897308f/jruby/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jruby/pom.xml?ref=fb443a794e13921e7a9525a6976df900d897308f", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.259\n \n \n stapler-jruby" + }, + { + "sha": "3e1980483229d43c6e8968e7df60cad4f4f7c536", + "filename": "jsp/pom.xml", + "status": "modified", + "additions": 1, + "deletions": 1, + "changes": 2, + "blob_url": "https://github.com/stapler/stapler/blob/fb443a794e13921e7a9525a6976df900d897308f/jsp/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/fb443a794e13921e7a9525a6976df900d897308f/jsp/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/jsp/pom.xml?ref=fb443a794e13921e7a9525a6976df900d897308f", + "patch": "@@ -3,7 +3,7 @@\n \n org.kohsuke.stapler\n stapler-parent\n- ${revision}${changelist}\n+ 1.259\n \n \n stapler-jsp" + }, + { + "sha": "a8229b9fc920545c045a653baf696d8f206de922", + "filename": "pom.xml", + "status": "modified", + "additions": 2, + "deletions": 2, + "changes": 4, + "blob_url": "https://github.com/stapler/stapler/blob/fb443a794e13921e7a9525a6976df900d897308f/pom.xml", + "raw_url": "https://github.com/stapler/stapler/raw/fb443a794e13921e7a9525a6976df900d897308f/pom.xml", + "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=fb443a794e13921e7a9525a6976df900d897308f", + "patch": "@@ -10,7 +10,7 @@\n org.kohsuke.stapler\n stapler-parent\n pom\n- ${revision}${changelist}\n+ 1.259\n \n Stapler\n Stapler HTTP request handling engine\n@@ -38,7 +38,7 @@\n scm:git:git://github.com/stapler/stapler.git\n scm:git:ssh://git@github.com/stapler/stapler.git\n https://github.com/stapler/stapler\n- ${scmTag}\n+ stapler-parent-1.259\n \n \n " + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/user-5ed62e6e-2e24-40bf-a0ef-ed960a7ad354.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/user-5ed62e6e-2e24-40bf-a0ef-ed960a7ad354.json new file mode 100644 index 0000000000..274a9ff9fb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/__files/user-5ed62e6e-2e24-40bf-a0ef-ed960a7ad354.json @@ -0,0 +1,33 @@ +{ + "login": "sourabhsparkala", + "id": 10615448, + "node_id": "MDQ6VXNlcjEwNjE1NDQ4", + "avatar_url": "https://avatars3.githubusercontent.com/u/10615448?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/sourabhsparkala", + "html_url": "https://github.com/sourabhsparkala", + "followers_url": "https://api.github.com/users/sourabhsparkala/followers", + "following_url": "https://api.github.com/users/sourabhsparkala/following{/other_user}", + "gists_url": "https://api.github.com/users/sourabhsparkala/gists{/gist_id}", + "starred_url": "https://api.github.com/users/sourabhsparkala/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/sourabhsparkala/subscriptions", + "organizations_url": "https://api.github.com/users/sourabhsparkala/orgs", + "repos_url": "https://api.github.com/users/sourabhsparkala/repos", + "events_url": "https://api.github.com/users/sourabhsparkala/events{/privacy}", + "received_events_url": "https://api.github.com/users/sourabhsparkala/received_events", + "type": "User", + "site_admin": false, + "name": "Sourabh Sarvotham Parkala", + "company": "@SAP", + "blog": "", + "location": "Walldorf, Germany", + "email": "sourabh.s.parkala@gmail.com", + "hireable": null, + "bio": null, + "public_repos": 14, + "public_gists": 0, + "followers": 0, + "following": 0, + "created_at": "2015-01-20T14:19:03Z", + "updated_at": "2020-03-12T19:36:50Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler-2-9019ab.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler-2-9019ab.json new file mode 100644 index 0000000000..507def4a57 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler-2-9019ab.json @@ -0,0 +1,48 @@ +{ + "id": "9019ab15-9d4d-46d6-a771-c22b3a2a9d49", + "name": "repos_stapler_stapler", + "request": { + "url": "/repos/stapler/stapler", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler-9019ab15-9d4d-46d6-a771-c22b3a2a9d49.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:52 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4977", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8c92941e967261209c3138e302e84803\"", + "Last-Modified": "Wed, 19 Feb 2020 13:17:37 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:34793E0:3E24606:5E6A992B" + } + }, + "uuid": "9019ab15-9d4d-46d6-a771-c22b3a2a9d49", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits-3-0d3401.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits-3-0d3401.json new file mode 100644 index 0000000000..2e75ddb38c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits-3-0d3401.json @@ -0,0 +1,49 @@ +{ + "id": "0d3401ed-a2b4-4de3-82d6-9b95b5341a34", + "name": "repos_stapler_stapler_commits", + "request": { + "url": "/repos/stapler/stapler/commits?path=pom.xml", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits-0d3401ed-a2b4-4de3-82d6-9b95b5341a34.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:53 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4976", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"5e6710930559545e00a5979afac3f866\"", + "Last-Modified": "Mon, 10 Feb 2020 20:17:31 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479484:3E247ED:5E6A992C", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "0d3401ed-a2b4-4de3-82d6-9b95b5341a34", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8-56b0ea.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8-56b0ea.json new file mode 100644 index 0000000000..b35563558c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8-56b0ea.json @@ -0,0 +1,48 @@ +{ + "id": "56b0eac8-fa5b-45fa-8ca9-b4fc279933a8", + "name": "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "request": { + "url": "/repos/stapler/stapler/commits/06b1108ec041fd8d6e7f54c8578d84a672fee9e4", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-56b0eac8-fa5b-45fa-8ca9-b4fc279933a8.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:55 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4971", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"4dc7cf084c55f00fdc620bcfd6467706\"", + "Last-Modified": "Mon, 19 Aug 2019 17:42:58 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:34799B6:3E24D60:5E6A992F" + } + }, + "uuid": "56b0eac8-fa5b-45fa-8ca9-b4fc279933a8", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-9-a01b5c.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-9-a01b5c.json new file mode 100644 index 0000000000..a66e2bf3ad --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-9-a01b5c.json @@ -0,0 +1,48 @@ +{ + "id": "a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38", + "name": "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "request": { + "url": "/repos/stapler/stapler/commits/2a971c4e38c6d6693f7ad8b6768e4d74840d6679", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:56 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4970", + "X-RateLimit-Reset": "1584045523", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"7b1dfd787be1d37e7597235f96ebcf39\"", + "Last-Modified": "Fri, 28 Jun 2019 16:21:18 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479A0D:3E24EB9:5E6A992F" + } + }, + "uuid": "a01b5cee-d3ea-449b-9b11-5fd3c2a7ed38", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-10-e14c2b.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-10-e14c2b.json new file mode 100644 index 0000000000..d078b1e351 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-10-e14c2b.json @@ -0,0 +1,48 @@ +{ + "id": "e14c2b7e-97c5-4209-b548-c90e00d7a6b9", + "name": "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "request": { + "url": "/repos/stapler/stapler/commits/2f4ca0f03c1e6188867bddddce12ff213a107d9d", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-e14c2b7e-97c5-4209-b548-c90e00d7a6b9.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:56 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4969", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"7c98080280f560351575016b525b675b\"", + "Last-Modified": "Mon, 08 Apr 2019 14:19:21 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479A83:3E24F51:5E6A9930" + } + }, + "uuid": "e14c2b7e-97c5-4209-b548-c90e00d7a6b9", + "persistent": true, + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-13-c380c3.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-13-c380c3.json new file mode 100644 index 0000000000..15597a7ec9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-13-c380c3.json @@ -0,0 +1,48 @@ +{ + "id": "c380c36d-bac3-4be8-8b4f-8693388d7553", + "name": "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "request": { + "url": "/repos/stapler/stapler/commits/53ce34d7d89c5172ae4f4f3167e35852b1910b59", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-c380c36d-bac3-4be8-8b4f-8693388d7553.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:57 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1584045523", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"199e6b1eb2af3cae42fb379f1ac0b122\"", + "Last-Modified": "Wed, 03 Apr 2019 19:03:54 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479C11:3E25139:5E6A9931" + } + }, + "uuid": "c380c36d-bac3-4be8-8b4f-8693388d7553", + "persistent": true, + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7-4c38e9.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7-4c38e9.json new file mode 100644 index 0000000000..85b42fa6e3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7-4c38e9.json @@ -0,0 +1,48 @@ +{ + "id": "4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7", + "name": "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654", + "request": { + "url": "/repos/stapler/stapler/commits/6a243869aa3c3f80579102d00848a0083953d654", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:55 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4972", + "X-RateLimit-Reset": "1584045523", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"4c76c203b89528b04df353267085e6f1\"", + "Last-Modified": "Mon, 19 Aug 2019 18:38:42 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479873:3E24CD6:5E6A992E" + } + }, + "uuid": "4c38e9f4-b60e-4b6b-b35f-ba3a7a358ff7", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-6-670b6d.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-6-670b6d.json new file mode 100644 index 0000000000..e7481c7b51 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-6-670b6d.json @@ -0,0 +1,48 @@ +{ + "id": "670b6d74-d1be-4679-8905-94d63b5ee87e", + "name": "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff", + "request": { + "url": "/repos/stapler/stapler/commits/950acbd60ed4289520dcd2a395e5d77f181e1cff", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-670b6d74-d1be-4679-8905-94d63b5ee87e.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:54 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9e93eeea59a8052630e82bf77a3522e6\"", + "Last-Modified": "Mon, 19 Aug 2019 18:38:53 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:34797FC:3E24B33:5E6A992D" + } + }, + "uuid": "670b6d74-d1be-4679-8905-94d63b5ee87e", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-4-5d4638.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-4-5d4638.json new file mode 100644 index 0000000000..c15059363a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-4-5d4638.json @@ -0,0 +1,48 @@ +{ + "id": "5d4638f0-0b7d-4298-93fb-1f563afa687c", + "name": "repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e", + "request": { + "url": "/repos/stapler/stapler/commits/c8c28eb749937ab239d7b7f94c2254340103f67e", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_c8c28eb749937ab239d7b7f94c2254340103f67e-5d4638f0-0b7d-4298-93fb-1f563afa687c.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:53 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4975", + "X-RateLimit-Reset": "1584045523", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a85bc1e2056b1ab2916960c20cef17e7\"", + "Last-Modified": "Mon, 10 Feb 2020 20:17:31 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:347958A:3E2493C:5E6A992D" + } + }, + "uuid": "5d4638f0-0b7d-4298-93fb-1f563afa687c", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-11-f3ed22.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-11-f3ed22.json new file mode 100644 index 0000000000..83f15083be --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-11-f3ed22.json @@ -0,0 +1,48 @@ +{ + "id": "f3ed2248-279a-4998-86cf-210ed1262fe7", + "name": "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "request": { + "url": "/repos/stapler/stapler/commits/d922b808068cf95d6f6ab624ce2c7f49d51f5321", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-f3ed2248-279a-4998-86cf-210ed1262fe7.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:56 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6a43338f72ad5d407835f11952313050\"", + "Last-Modified": "Mon, 08 Apr 2019 14:19:11 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479B0A:3E25004:5E6A9930" + } + }, + "uuid": "f3ed2248-279a-4998-86cf-210ed1262fe7", + "persistent": true, + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-12-e6d566.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-12-e6d566.json new file mode 100644 index 0000000000..f662fdeb87 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-12-e6d566.json @@ -0,0 +1,48 @@ +{ + "id": "e6d566ed-eebd-42d8-86a0-16f113054b3e", + "name": "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0", + "request": { + "url": "/repos/stapler/stapler/commits/efe737fa365a0187e052bc81391efbd84847a1b0", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-e6d566ed-eebd-42d8-86a0-16f113054b3e.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:57 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4967", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"2c552e0a3b669ad9dbbf55162320258f\"", + "Last-Modified": "Mon, 08 Apr 2019 14:17:55 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479B8F:3E250A7:5E6A9930" + } + }, + "uuid": "e6d566ed-eebd-42d8-86a0-16f113054b3e", + "persistent": true, + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-5-8aea29.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-5-8aea29.json new file mode 100644 index 0000000000..ed8d3766c1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-5-8aea29.json @@ -0,0 +1,48 @@ +{ + "id": "8aea2962-4bf2-41cd-8137-49b1e6c1e9bb", + "name": "repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f", + "request": { + "url": "/repos/stapler/stapler/commits/fb443a794e13921e7a9525a6976df900d897308f", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_stapler_stapler_commits_fb443a794e13921e7a9525a6976df900d897308f-8aea2962-4bf2-41cd-8137-49b1e6c1e9bb.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:53 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4974", + "X-RateLimit-Reset": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"805ac6abebbdb77df11e61900144b4a4\"", + "Last-Modified": "Mon, 10 Feb 2020 20:17:10 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:347969F:3E249E4:5E6A992D" + } + }, + "uuid": "8aea2962-4bf2-41cd-8137-49b1e6c1e9bb", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/user-1-5ed62e.json b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/user-1-5ed62e.json new file mode 100644 index 0000000000..3a296e78cb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/SignatureVerificationTest/wiremock/commitSignatureVerification/mappings/user-1-5ed62e.json @@ -0,0 +1,48 @@ +{ + "id": "5ed62e6e-2e24-40bf-a0ef-ed960a7ad354", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-5ed62e6e-2e24-40bf-a0ef-ed960a7ad354.json", + "headers": { + "Date": "Thu, 12 Mar 2020 20:18:51 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": "1584045522", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"58f385a1b4274592de7c35a596875ec6\"", + "Last-Modified": "Thu, 12 Mar 2020 19:36:50 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, read:packages, repo, workflow, write:discussion, write:packages", + "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, Deprecation, Sunset", + "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": "DB8F:22CA3:3479259:3E2459C:5E6A992B" + } + }, + "uuid": "5ed62e6e-2e24-40bf-a0ef-ed960a7ad354", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file