From 8d9b1945862a6623ad98033b5e48c34f9695a568 Mon Sep 17 00:00:00 2001 From: konstantin Date: Sat, 11 Nov 2023 02:47:54 +0200 Subject: [PATCH] Change GHRepository#searchPullRequests to return buider --- .../github/GHPullRequestSearchBuilder.java | 17 +- .../java/org/kohsuke/github/GHRepository.java | 8 +- .../org/kohsuke/github/GHSearchBuilder.java | 6 +- .../org/kohsuke/github/GHRepositoryTest.java | 57 +++-- ...b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json} | 10 +- ...2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json} | 12 +- ...57fe6839-4f2a-416e-8c31-cccdabdb8617.json} | 18 +- ...e2acff50-d3c7-4a04-a522-ddf34b102a8f.json} | 18 +- ...a6b99918-8bcc-4802-b4f7-664a6696ac4d.json} | 6 +- ...e1be828c-2137-4d51-b66f-7461d9a2c0b0.json} | 6 +- ...14ddc043-8064-4aab-8904-aa98f8372125.json} | 6 +- ...e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json} | 12 +- ...1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json} | 12 +- ...b33c18df-1b3d-4736-a162-420da2b9bcd5.json} | 12 +- ...1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json} | 14 +- ...29fe89f2-88e8-4866-910f-708c8a258bd5.json} | 36 ++-- ...af640148-1955-4c33-b3c5-f051656787a9.json} | 36 ++-- ...14eebf66-33e1-4280-a68d-9f2d85d8b4db.json} | 12 +- ...18eecc46-bf6e-47a3-805c-be128054c31d.json} | 28 +-- ...1cf472a0-822d-4762-b4e9-3104ea5ada8f.json} | 16 +- ...31731f7d-b999-4f23-b767-6e7634c7b161.json} | 16 +- ...3399ef05-53c4-4f3f-9ada-89093e9f280e.json} | 16 +- ...3b75637b-21a8-4415-b951-02b1d64647cc.json} | 28 +-- ...-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json | 125 ----------- ...44d16c49-384f-4edb-8718-eef330664a1f.json} | 28 +-- ...4bcd55b4-5658-48bf-b744-88d4ef5c8878.json} | 12 +- ...53ee62a3-a853-4c3a-818e-e2de55bd92f2.json} | 16 +- ...-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json | 204 ------------------ ...-547f6dd4-5c44-407e-80b9-31c0946c5649.json | 125 ----------- ...-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json | 125 ----------- ...58370fe0-3ab4-4234-8f8f-eb6499b12557.json} | 28 +-- ...-66d61c85-08d3-4266-8348-6d54ca42b5ce.json | 125 +++++++++++ ...-76b76168-673f-4baf-ac20-ac395571b229.json | 204 ++++++++++++++++++ ...-82602db5-a742-4a9e-b67c-a287e50f7e05.json | 204 ------------------ ...-86bea00c-825a-4691-aada-32e5afcfd3bd.json | 125 +++++++++++ ...-8f08a0af-7a05-4e15-a99b-f6618f96d753.json | 204 ++++++++++++++++++ ...-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json | 125 ----------- ...-9c672c12-a76e-41b6-a4d4-3ba416792e70.json | 125 ----------- ...-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json | 125 ----------- ...-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json | 125 ----------- ...-ad2de6f7-e39b-4056-8990-066360bee08b.json | 125 +++++++++++ ...-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json | 204 ------------------ ...-b0b66e35-c920-4e82-851d-636350624bb7.json | 204 ++++++++++++++++++ ...-c059f6f1-e31d-436c-87ba-8f9e534537ea.json | 125 ----------- ...-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json | 125 +++++++++++ ...-c7bcf215-979c-4b96-94f7-62b275676005.json | 125 +++++++++++ ...-c873591d-123d-42c8-920f-901a7160730b.json | 125 +++++++++++ ...-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json | 204 ++++++++++++++++++ ...-d253da43-33cd-46ea-b7cd-c60a19d57467.json | 204 ++++++++++++++++++ ...-d513ba09-ef04-46ff-ae17-98a38c57e749.json | 125 +++++++++++ ...-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json | 125 ----------- ...-dfb35787-f281-43c1-aa03-546d41b91804.json | 204 ------------------ ...-edff7370-fa9f-4f2a-a5d2-be979186661b.json | 125 +++++++++++ ...-f671a987-af55-41c8-9f5e-06037fb8f074.json | 125 +++++++++++ ...-f7571293-9b42-4e14-906c-960ad7fa0aab.json | 125 +++++++++++ ...-f805cc74-e0b6-494d-9f8e-7388d40689e1.json | 204 ------------------ ...-fd9550e8-2307-4d76-8236-ff856a96e03e.json | 125 ----------- ...da1cd23b-68fc-4f76-b63d-73aef15422b8.json} | 4 +- ...b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json} | 20 +- ...2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json} | 18 +- ...57fe6839-4f2a-416e-8c31-cccdabdb8617.json} | 18 +- ...e2acff50-d3c7-4a04-a522-ddf34b102a8f.json} | 18 +- ...a6b99918-8bcc-4802-b4f7-664a6696ac4d.json} | 20 +- ...e1be828c-2137-4d51-b66f-7461d9a2c0b0.json} | 20 +- ...14ddc043-8064-4aab-8904-aa98f8372125.json} | 20 +- ...e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json} | 18 +- ...1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json} | 18 +- ...b33c18df-1b3d-4736-a162-420da2b9bcd5.json} | 18 +- ...1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json} | 20 +- ...29fe89f2-88e8-4866-910f-708c8a258bd5.json} | 18 +- ...af640148-1955-4c33-b3c5-f051656787a9.json} | 18 +- ...17dc81ea-0faf-434b-9de4-b0493013e514.json} | 18 +- ...14eebf66-33e1-4280-a68d-9f2d85d8b4db.json} | 14 +- ...18eecc46-bf6e-47a3-805c-be128054c31d.json} | 14 +- ...1cf472a0-822d-4762-b4e9-3104ea5ada8f.json} | 14 +- ...31731f7d-b999-4f23-b767-6e7634c7b161.json} | 14 +- ...3399ef05-53c4-4f3f-9ada-89093e9f280e.json} | 14 +- ...3b75637b-21a8-4415-b951-02b1d64647cc.json} | 14 +- ...44d16c49-384f-4edb-8718-eef330664a1f.json} | 14 +- ...4bcd55b4-5658-48bf-b744-88d4ef5c8878.json} | 14 +- ...53ee62a3-a853-4c3a-818e-e2de55bd92f2.json} | 14 +- ...58370fe0-3ab4-4234-8f8f-eb6499b12557.json} | 14 +- ...66d61c85-08d3-4266-8348-6d54ca42b5ce.json} | 14 +- ...76b76168-673f-4baf-ac20-ac395571b229.json} | 14 +- ...86bea00c-825a-4691-aada-32e5afcfd3bd.json} | 14 +- ...8f08a0af-7a05-4e15-a99b-f6618f96d753.json} | 14 +- ...ad2de6f7-e39b-4056-8990-066360bee08b.json} | 14 +- ...b0b66e35-c920-4e82-851d-636350624bb7.json} | 14 +- ...c0c7532c-a459-41ef-8c3a-7a23f7691b62.json} | 14 +- ...c7bcf215-979c-4b96-94f7-62b275676005.json} | 14 +- ...c873591d-123d-42c8-920f-901a7160730b.json} | 14 +- ...d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json} | 14 +- ...d253da43-33cd-46ea-b7cd-c60a19d57467.json} | 14 +- ...d513ba09-ef04-46ff-ae17-98a38c57e749.json} | 14 +- ...edff7370-fa9f-4f2a-a5d2-be979186661b.json} | 14 +- ...f671a987-af55-41c8-9f5e-06037fb8f074.json} | 14 +- ...f7571293-9b42-4e14-906c-960ad7fa0aab.json} | 14 +- ...da1cd23b-68fc-4f76-b63d-73aef15422b8.json} | 20 +- 98 files changed, 2831 insertions(+), 2831 deletions(-) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json => repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json} (97%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json => repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json => repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json => repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json => repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json} (57%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json => repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json} (57%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json => repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json} (57%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json => repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json} (93%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json => repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json} (93%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json => repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json} (96%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json => repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json} (85%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json => repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json} (96%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json => repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json} (96%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json => search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json} (93%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json => search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json} (94%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json => search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json} (94%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json => search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json} (94%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json => search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json} (94%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json => search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json} (94%) delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json => search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json} (94%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json => search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json} (93%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json => search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json} (94%) delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json => search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json} (94%) create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c873591d-123d-42c8-920f-901a7160730b.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json create mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json delete mode 100644 src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/{user-a52c5304-137c-46cd-a946-e62ab67c86ff.json => user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json} (95%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json => repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json} (74%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json => repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json => repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json => repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json} (81%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json => repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json => repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json => repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json} (77%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json => repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json => repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json => repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json => repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json => repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json} (82%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json => repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json} (82%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-54522815-98f1-42d6-a391-c3d305c4f4e8.json => repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-17dc81ea-0faf-434b-9de4-b0493013e514.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json => search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json} (81%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json => search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json => search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json => search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json} (77%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json => search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json => search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json => search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json => search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json => search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json => search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json => search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json} (81%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json => search_issues-76b76168-673f-4baf-ac20-ac395571b229.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json => search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json => search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json} (76%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json => search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json} (80%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json => search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json => search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json} (79%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json => search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json => search_issues-c873591d-123d-42c8-920f-901a7160730b.json} (77%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json => search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json} (77%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json => search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json} (76%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json => search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json => search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json => search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json} (78%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json => search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json} (81%) rename src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/{user-a52c5304-137c-46cd-a946-e62ab67c86ff.json => user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json} (74%) diff --git a/src/main/java/org/kohsuke/github/GHPullRequestSearchBuilder.java b/src/main/java/org/kohsuke/github/GHPullRequestSearchBuilder.java index 0da6e6b8ca..11c7207bb8 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestSearchBuilder.java @@ -21,6 +21,17 @@ public class GHPullRequestSearchBuilder extends GHSearchBuilder { super(root, PullRequestSearchResult.class); } + /** + * Instantiates a new GH search builder from repository. + * + * @param repository + * the gh repository + */ + GHPullRequestSearchBuilder(GHRepository repository) { + super(repository.root(), PullRequestSearchResult.class); + this.repo(repository); + } + /** * Repository gh pull request search builder. * @@ -472,12 +483,6 @@ public enum Sort { } - static GHPullRequestSearchBuilder from(GHPullRequestSearchBuilder searchBuilder) { - GHPullRequestSearchBuilder builder = new GHPullRequestSearchBuilder(searchBuilder.root()); - searchBuilder.terms.forEach(builder::q); - return builder; - } - private static class PullRequestSearchResult extends SearchResult { private GHPullRequest[] items; diff --git a/src/main/java/org/kohsuke/github/GHRepository.java b/src/main/java/org/kohsuke/github/GHRepository.java index 32a547eba5..de907157bb 100644 --- a/src/main/java/org/kohsuke/github/GHRepository.java +++ b/src/main/java/org/kohsuke/github/GHRepository.java @@ -1704,12 +1704,10 @@ public GHPullRequestQueryBuilder queryPullRequests() { /** * Retrieves pull requests according to search terms. * - * @param search - * {@link GHPullRequestSearchBuilder} - * @return pull requests as the paged iterable + * @return gh pull request search builder for current repository */ - public PagedSearchIterable searchPullRequests(GHPullRequestSearchBuilder search) { - return GHPullRequestSearchBuilder.from(search).repo(this).list(); + public GHPullRequestSearchBuilder searchPullRequests() { + return new GHPullRequestSearchBuilder(this); } /** diff --git a/src/main/java/org/kohsuke/github/GHSearchBuilder.java b/src/main/java/org/kohsuke/github/GHSearchBuilder.java index d7a25353ee..fef19fffda 100644 --- a/src/main/java/org/kohsuke/github/GHSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHSearchBuilder.java @@ -2,8 +2,8 @@ import org.apache.commons.lang3.StringUtils; -import java.util.ArrayList; -import java.util.List; +import java.util.LinkedHashSet; +import java.util.Set; import javax.annotation.CheckForNull; import javax.annotation.Nonnull; @@ -19,7 +19,7 @@ public abstract class GHSearchBuilder extends GHQueryBuilder { /** The terms. */ - protected final List terms = new ArrayList(); + protected final Set terms = new LinkedHashSet<>(); /** * Data transfer object that receives the result of search. diff --git a/src/test/java/org/kohsuke/github/GHRepositoryTest.java b/src/test/java/org/kohsuke/github/GHRepositoryTest.java index 7053c91ff2..3ad8545c3c 100644 --- a/src/test/java/org/kohsuke/github/GHRepositoryTest.java +++ b/src/test/java/org/kohsuke/github/GHRepositoryTest.java @@ -1753,76 +1753,73 @@ public void testSearchPullRequests() throws Exception { Thread.sleep(1000); // search by states - GHPullRequestSearchBuilder search = gitHub.searchPullRequests().repo(repository).isOpen().isDraft(); - PagedSearchIterable searchResult = repository.searchPullRequests(search); + GHPullRequestSearchBuilder search = repository.searchPullRequests().isOpen().isDraft(); + PagedSearchIterable searchResult = search.list(); this.verifySingleResult(searchResult, draftPR); - search = gitHub.searchPullRequests().repo(repository).isClosed().isMerged(); - searchResult = repository.searchPullRequests(search); + search = repository.searchPullRequests().isClosed().isMerged(); + searchResult = search.list(); this.verifySingleResult(searchResult, mergedPR); // search by dates - LocalDate from = LocalDate.parse("2023-09-01"); - LocalDate to = LocalDate.parse("2023-09-12"); - LocalDate afterRange = LocalDate.parse("2023-09-14"); + LocalDate from = LocalDate.parse("2023-11-01"); + LocalDate to = LocalDate.parse("2023-11-11"); + LocalDate afterRange = LocalDate.parse("2023-11-12"); - search = gitHub.searchPullRequests() - .repo(repository) + search = repository.searchPullRequests() .created(from, to) .updated(from, to) .sort(GHPullRequestSearchBuilder.Sort.UPDATED); - searchResult = repository.searchPullRequests(search); + searchResult = search.list(); this.verifyPluralResult(searchResult, mergedPR, draftPR); - search = gitHub.searchPullRequests().repo(repository).merged(from, to).closed(from, to); - searchResult = repository.searchPullRequests(search); + search = repository.searchPullRequests().merged(from, to).closed(from, to); + searchResult = search.list(); this.verifySingleResult(searchResult, mergedPR); - search = gitHub.searchPullRequests().repo(repository).created(to).updated(to).closed(to).merged(to); - searchResult = repository.searchPullRequests(search); + search = repository.searchPullRequests().created(to).updated(to).closed(to).merged(to); + searchResult = search.list(); this.verifySingleResult(searchResult, mergedPR); - search = gitHub.searchPullRequests() - .repo(repository) + search = repository.searchPullRequests() .createdAfter(from, false) .updatedAfter(from, false) .mergedAfter(from, true) .closedAfter(from, true); - searchResult = repository.searchPullRequests(search); + searchResult = search.list(); this.verifySingleResult(searchResult, mergedPR); - search = gitHub.searchPullRequests() - .repo(repository) + search = repository.searchPullRequests() .createdBefore(afterRange, false) .updatedBefore(afterRange, false) .closedBefore(afterRange, true) .mergedBefore(afterRange, false); - searchResult = repository.searchPullRequests(search); + searchResult = search.list(); this.verifySingleResult(searchResult, mergedPR); // search by version control Map branches = repository.getBranches(); - search = gitHub.searchPullRequests() + search = repository.searchPullRequests() .base(branches.get("main")) .head(branches.get("branchToMerge")) .commit(commit.getCommit().getSha()); - searchResult = repository.searchPullRequests(search); + searchResult = search.list(); this.verifySingleResult(searchResult, mergedPR); // search by remaining filters - search = gitHub.searchPullRequests() - .repo(repository) + search = repository.searchPullRequests() .titleLike("Temp") - .sort(GHPullRequestSearchBuilder.Sort.CREATED); - searchResult = repository.searchPullRequests(search); + .sort(GHPullRequestSearchBuilder.Sort.CREATED) + .order(GHDirection.ASC); + searchResult = search.list(); this.verifyPluralResult(searchResult, draftPR, mergedPR); - search = gitHub.searchPullRequests().repo(repository).inLabels(Arrays.asList("test")).order(GHDirection.DESC); - searchResult = repository.searchPullRequests(search); + search = repository.searchPullRequests().inLabels(Arrays.asList("test")).order(GHDirection.DESC); + searchResult = search.list(); this.verifyPluralResult(searchResult, mergedPR, draftPR); - search = gitHub.searchPullRequests().repo(repository).assigned(myself).mentions(myself); - searchResult = repository.searchPullRequests(search); + search = repository.searchPullRequests().assigned(myself).mentions(myself); + searchResult = search.list(); this.verifySingleResult(searchResult, mergedPR); } diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json index 4a23466670..65a6630c05 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json @@ -1,6 +1,6 @@ { - "id": 690788336, - "node_id": "R_kgDOKSyX8A", + "id": 717269122, + "node_id": "R_kgDOKsCogg", "name": "temp-testSearchPullRequests", "full_name": "kgromov/temp-testSearchPullRequests", "private": false, @@ -64,9 +64,9 @@ "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}", "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}", "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments", - "created_at": "2023-09-12T22:06:32Z", - "updated_at": "2023-09-12T22:06:33Z", - "pushed_at": "2023-09-12T22:06:33Z", + "created_at": "2023-11-11T00:45:13Z", + "updated_at": "2023-11-11T00:45:13Z", + "pushed_at": "2023-11-11T00:45:13Z", "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git", "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git", "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json index 054c75793f..ee4b95192d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json @@ -2,8 +2,8 @@ { "name": "branchToMerge", "commit": { - "sha": "e70ac92dc8a342daed5784b3bd54c1185813b982", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/e70ac92dc8a342daed5784b3bd54c1185813b982" + "sha": "f06ea132e5c97d4237ac3ff717944791eb142ff1", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/f06ea132e5c97d4237ac3ff717944791eb142ff1" }, "protected": false, "protection": { @@ -19,8 +19,8 @@ { "name": "draft", "commit": { - "sha": "6fd9e8a226f0f48a6ac203adc8f13abca5afe875", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/6fd9e8a226f0f48a6ac203adc8f13abca5afe875" + "sha": "030821b0eeed4bdaa271ad36ab1c7c20b778a7aa", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa" }, "protected": false, "protection": { @@ -36,8 +36,8 @@ { "name": "main", "commit": { - "sha": "ce18a7029a8faa65ccced3c22eff7235fdc14887", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/ce18a7029a8faa65ccced3c22eff7235fdc14887" + "sha": "5316172f4450c481017e8c4ef2b299da23ee1c6c", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/5316172f4450c481017e8c4ef2b299da23ee1c6c" }, "protected": false, "protection": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json index d0b2929a67..3b1aee18a4 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json @@ -16,19 +16,19 @@ } }, "commit": { - "sha": "e70ac92dc8a342daed5784b3bd54c1185813b982", - "node_id": "C_kwDOKSyX8NoAKGU3MGFjOTJkYzhhMzQyZGFlZDU3ODRiM2JkNTRjMTE4NTgxM2I5ODI", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/e70ac92dc8a342daed5784b3bd54c1185813b982", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/e70ac92dc8a342daed5784b3bd54c1185813b982", + "sha": "f06ea132e5c97d4237ac3ff717944791eb142ff1", + "node_id": "C_kwDOKsCogtoAKGYwNmVhMTMyZTVjOTdkNDIzN2FjM2ZmNzE3OTQ0NzkxZWIxNDJmZjE", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/f06ea132e5c97d4237ac3ff717944791eb142ff1", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/f06ea132e5c97d4237ac3ff717944791eb142ff1", "author": { "name": "Konstantin Gromov", "email": "rocky89@ukr.net", - "date": "2023-09-12T22:06:39Z" + "date": "2023-11-11T00:45:19Z" }, "committer": { "name": "Konstantin Gromov", "email": "rocky89@ukr.net", - "date": "2023-09-12T22:06:39Z" + "date": "2023-11-11T00:45:19Z" }, "tree": { "sha": "4ee65e01709145c6b4bf30792e9a3c233433eb8e", @@ -37,9 +37,9 @@ "message": "test search", "parents": [ { - "sha": "33d4c1629baf1fc0c127839c7d605547daece11e", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/33d4c1629baf1fc0c127839c7d605547daece11e", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/33d4c1629baf1fc0c127839c7d605547daece11e" + "sha": "34b361864cacfbd165af1b06a659113099da1f38", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/34b361864cacfbd165af1b06a659113099da1f38" } ], "verification": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json index 5e07bed45d..20b1b8ffe7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json @@ -16,19 +16,19 @@ } }, "commit": { - "sha": "6fd9e8a226f0f48a6ac203adc8f13abca5afe875", - "node_id": "C_kwDOKSyX8NoAKDZmZDllOGEyMjZmMGY0OGE2YWMyMDNhZGM4ZjEzYWJjYTVhZmU4NzU", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/6fd9e8a226f0f48a6ac203adc8f13abca5afe875", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/6fd9e8a226f0f48a6ac203adc8f13abca5afe875", + "sha": "030821b0eeed4bdaa271ad36ab1c7c20b778a7aa", + "node_id": "C_kwDOKsCogtoAKDAzMDgyMWIwZWVlZDRiZGFhMjcxYWQzNmFiMWM3YzIwYjc3OGE3YWE", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa", "author": { "name": "Konstantin Gromov", "email": "rocky89@ukr.net", - "date": "2023-09-12T22:06:38Z" + "date": "2023-11-11T00:45:18Z" }, "committer": { "name": "Konstantin Gromov", "email": "rocky89@ukr.net", - "date": "2023-09-12T22:06:38Z" + "date": "2023-11-11T00:45:18Z" }, "tree": { "sha": "9b8530865b0a85f155bc5637a0a066995e518cc2", @@ -37,9 +37,9 @@ "message": "test search", "parents": [ { - "sha": "33d4c1629baf1fc0c127839c7d605547daece11e", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/33d4c1629baf1fc0c127839c7d605547daece11e", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/33d4c1629baf1fc0c127839c7d605547daece11e" + "sha": "34b361864cacfbd165af1b06a659113099da1f38", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/34b361864cacfbd165af1b06a659113099da1f38" } ], "verification": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json similarity index 57% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json index 855f5ea888..a0e4c49f0c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json @@ -1,10 +1,10 @@ { "ref": "refs/heads/branchToMerge", - "node_id": "REF_kwDOKSyX8LhyZWZzL2hlYWRzL2JyYW5jaFRvTWVyZ2U", + "node_id": "REF_kwDOKsCogrhyZWZzL2hlYWRzL2JyYW5jaFRvTWVyZ2U", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/branchToMerge", "object": { - "sha": "33d4c1629baf1fc0c127839c7d605547daece11e", + "sha": "34b361864cacfbd165af1b06a659113099da1f38", "type": "commit", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/33d4c1629baf1fc0c127839c7d605547daece11e" + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json similarity index 57% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json index 4c0489ddf6..cb6b8ce31b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json @@ -1,10 +1,10 @@ { "ref": "refs/heads/draft", - "node_id": "REF_kwDOKSyX8LByZWZzL2hlYWRzL2RyYWZ0", + "node_id": "REF_kwDOKsCogrByZWZzL2hlYWRzL2RyYWZ0", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/draft", "object": { - "sha": "33d4c1629baf1fc0c127839c7d605547daece11e", + "sha": "34b361864cacfbd165af1b06a659113099da1f38", "type": "commit", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/33d4c1629baf1fc0c127839c7d605547daece11e" + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json similarity index 57% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json index c3959f0a49..8174478221 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json @@ -1,10 +1,10 @@ { "ref": "refs/heads/main", - "node_id": "REF_kwDOKSyX8K9yZWZzL2hlYWRzL21haW4", + "node_id": "REF_kwDOKsCogq9yZWZzL2hlYWRzL21haW4", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/main", "object": { - "sha": "33d4c1629baf1fc0c127839c7d605547daece11e", + "sha": "34b361864cacfbd165af1b06a659113099da1f38", "type": "commit", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/33d4c1629baf1fc0c127839c7d605547daece11e" + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json index 16c676dad8..21534c8037 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json @@ -5,8 +5,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", "number": 1, "title": "Temp draft PR", "user": { @@ -31,8 +31,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -46,8 +46,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json index bd5a46ee45..77fc6f04e7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json @@ -5,8 +5,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -31,8 +31,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -46,8 +46,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:43Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:23Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json index 611064c0f5..c4994493a4 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json @@ -5,8 +5,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -31,8 +31,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -86,8 +86,8 @@ ], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:44Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:24Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json similarity index 85% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json index 6f5d63ae64..9d80d68911 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json @@ -1,9 +1,9 @@ { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1716566121", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2#issuecomment-1716566121", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1806603013", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2#issuecomment-1806603013", "issue_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "id": 1716566121, - "node_id": "IC_kwDOKSyX8M5mULhp", + "id": 1806603013, + "node_id": "IC_kwDOKsCogs5rrpMF", "user": { "login": "kgromov", "id": 9352794, @@ -24,12 +24,12 @@ "type": "User", "site_admin": false }, - "created_at": "2023-09-12T22:06:45Z", - "updated_at": "2023-09-12T22:06:45Z", + "created_at": "2023-11-11T00:45:24Z", + "updated_at": "2023-11-11T00:45:24Z", "author_association": "OWNER", "body": "@kgromov approved", "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1716566121/reactions", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1806603013/reactions", "total_count": 0, "+1": 0, "-1": 0, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json index 64f4d273cf..bd504d1a63 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json @@ -1,7 +1,7 @@ { "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "id": 1512880530, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1597097455, + "node_id": "PR_kwDOKsCogs5fMcXv", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", @@ -31,8 +31,8 @@ "site_admin": false }, "body": "Hello, merged PR", - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:42Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:22Z", "closed_at": null, "merged_at": null, "merge_commit_sha": null, @@ -47,11 +47,11 @@ "review_comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2/comments", "review_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/e70ac92dc8a342daed5784b3bd54c1185813b982", + "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/f06ea132e5c97d4237ac3ff717944791eb142ff1", "head": { "label": "kgromov:branchToMerge", "ref": "branchToMerge", - "sha": "e70ac92dc8a342daed5784b3bd54c1185813b982", + "sha": "f06ea132e5c97d4237ac3ff717944791eb142ff1", "user": { "login": "kgromov", "id": 9352794, @@ -73,8 +73,8 @@ "site_admin": false }, "repo": { - "id": 690788336, - "node_id": "R_kgDOKSyX8A", + "id": 717269122, + "node_id": "R_kgDOKsCogg", "name": "temp-testSearchPullRequests", "full_name": "kgromov/temp-testSearchPullRequests", "private": false, @@ -138,9 +138,9 @@ "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}", "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}", "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments", - "created_at": "2023-09-12T22:06:32Z", - "updated_at": "2023-09-12T22:06:33Z", - "pushed_at": "2023-09-12T22:06:40Z", + "created_at": "2023-11-11T00:45:13Z", + "updated_at": "2023-11-11T00:45:13Z", + "pushed_at": "2023-11-11T00:45:20Z", "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git", "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git", "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git", @@ -176,7 +176,7 @@ "base": { "label": "kgromov:main", "ref": "main", - "sha": "33d4c1629baf1fc0c127839c7d605547daece11e", + "sha": "34b361864cacfbd165af1b06a659113099da1f38", "user": { "login": "kgromov", "id": 9352794, @@ -198,8 +198,8 @@ "site_admin": false }, "repo": { - "id": 690788336, - "node_id": "R_kgDOKSyX8A", + "id": 717269122, + "node_id": "R_kgDOKsCogg", "name": "temp-testSearchPullRequests", "full_name": "kgromov/temp-testSearchPullRequests", "private": false, @@ -263,9 +263,9 @@ "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}", "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}", "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments", - "created_at": "2023-09-12T22:06:32Z", - "updated_at": "2023-09-12T22:06:33Z", - "pushed_at": "2023-09-12T22:06:40Z", + "created_at": "2023-11-11T00:45:13Z", + "updated_at": "2023-11-11T00:45:13Z", + "pushed_at": "2023-11-11T00:45:20Z", "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git", "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git", "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git", @@ -321,7 +321,7 @@ "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2/commits" }, "statuses": { - "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/e70ac92dc8a342daed5784b3bd54c1185813b982" + "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/f06ea132e5c97d4237ac3ff717944791eb142ff1" } }, "author_association": "OWNER", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json index 0343a3c117..8b09eaa901 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json @@ -1,7 +1,7 @@ { "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", - "id": 1512880500, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1597097442, + "node_id": "PR_kwDOKsCogs5fMcXi", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", @@ -31,8 +31,8 @@ "site_admin": false }, "body": "Hello, draft PR", - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:40Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:20Z", "closed_at": null, "merged_at": null, "merge_commit_sha": null, @@ -47,11 +47,11 @@ "review_comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1/comments", "review_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", - "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/6fd9e8a226f0f48a6ac203adc8f13abca5afe875", + "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa", "head": { "label": "kgromov:draft", "ref": "draft", - "sha": "6fd9e8a226f0f48a6ac203adc8f13abca5afe875", + "sha": "030821b0eeed4bdaa271ad36ab1c7c20b778a7aa", "user": { "login": "kgromov", "id": 9352794, @@ -73,8 +73,8 @@ "site_admin": false }, "repo": { - "id": 690788336, - "node_id": "R_kgDOKSyX8A", + "id": 717269122, + "node_id": "R_kgDOKsCogg", "name": "temp-testSearchPullRequests", "full_name": "kgromov/temp-testSearchPullRequests", "private": false, @@ -138,9 +138,9 @@ "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}", "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}", "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments", - "created_at": "2023-09-12T22:06:32Z", - "updated_at": "2023-09-12T22:06:33Z", - "pushed_at": "2023-09-12T22:06:39Z", + "created_at": "2023-11-11T00:45:13Z", + "updated_at": "2023-11-11T00:45:13Z", + "pushed_at": "2023-11-11T00:45:19Z", "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git", "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git", "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git", @@ -176,7 +176,7 @@ "base": { "label": "kgromov:main", "ref": "main", - "sha": "33d4c1629baf1fc0c127839c7d605547daece11e", + "sha": "34b361864cacfbd165af1b06a659113099da1f38", "user": { "login": "kgromov", "id": 9352794, @@ -198,8 +198,8 @@ "site_admin": false }, "repo": { - "id": 690788336, - "node_id": "R_kgDOKSyX8A", + "id": 717269122, + "node_id": "R_kgDOKsCogg", "name": "temp-testSearchPullRequests", "full_name": "kgromov/temp-testSearchPullRequests", "private": false, @@ -263,9 +263,9 @@ "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}", "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}", "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments", - "created_at": "2023-09-12T22:06:32Z", - "updated_at": "2023-09-12T22:06:33Z", - "pushed_at": "2023-09-12T22:06:39Z", + "created_at": "2023-11-11T00:45:13Z", + "updated_at": "2023-11-11T00:45:13Z", + "pushed_at": "2023-11-11T00:45:19Z", "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git", "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git", "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git", @@ -321,7 +321,7 @@ "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1/commits" }, "statuses": { - "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/6fd9e8a226f0f48a6ac203adc8f13abca5afe875" + "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa" } }, "author_association": "OWNER", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json index 629d957047..f454b6bd16 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", "number": 1, "title": "Temp draft PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -50,8 +50,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json index 5d139c1d56..7e0d45cc94 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -90,9 +90,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -101,7 +101,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { @@ -128,8 +128,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", "number": 1, "title": "Temp draft PR", "user": { @@ -154,8 +154,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -169,8 +169,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json index 5f71838f46..e9e853890d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -90,9 +90,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -101,7 +101,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json index 5f71838f46..e9e853890d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -90,9 +90,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -101,7 +101,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json index 5f71838f46..e9e853890d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -90,9 +90,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -101,7 +101,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json index 7ac2610137..c3370de181 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", "number": 1, "title": "Temp draft PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -50,8 +50,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, @@ -88,8 +88,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -114,8 +114,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -169,9 +169,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -180,7 +180,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json index 5d139c1d56..7e0d45cc94 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -90,9 +90,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -101,7 +101,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { @@ -128,8 +128,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", "number": 1, "title": "Temp draft PR", "user": { @@ -154,8 +154,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -169,8 +169,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json index 629d957047..f454b6bd16 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", "number": 1, "title": "Temp draft PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -50,8 +50,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json index 5f71838f46..e9e853890d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -90,9 +90,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -101,7 +101,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json deleted file mode 100644 index 5d139c1d56..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "total_count": 2, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - }, - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", - "number": 1, - "title": "Temp draft PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", - "closed_at": null, - "author_association": "OWNER", - "active_lock_reason": null, - "draft": true, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", - "merged_at": null - }, - "body": "Hello, draft PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json index 7ac2610137..c3370de181 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json @@ -9,8 +9,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", "number": 1, "title": "Temp draft PR", "user": { @@ -35,8 +35,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -50,8 +50,8 @@ "assignees": [], "milestone": null, "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, @@ -88,8 +88,8 @@ "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", "number": 2, "title": "Temp merged PR", "user": { @@ -114,8 +114,8 @@ }, "labels": [ { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", "name": "test", "color": "ededed", @@ -169,9 +169,9 @@ ], "milestone": null, "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", "author_association": "OWNER", "active_lock_reason": null, "draft": false, @@ -180,7 +180,7 @@ "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" + "merged_at": "2023-11-11T00:45:25Z" }, "body": "Hello, merged PR", "reactions": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json new file mode 100644 index 0000000000..7e0d45cc94 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json @@ -0,0 +1,204 @@ +{ + "total_count": 2, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + }, + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", + "number": 1, + "title": "Temp draft PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "draft": true, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", + "merged_at": null + }, + "body": "Hello, draft PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json deleted file mode 100644 index 5d139c1d56..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "total_count": 2, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - }, - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", - "number": 1, - "title": "Temp draft PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", - "closed_at": null, - "author_association": "OWNER", - "active_lock_reason": null, - "draft": true, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", - "merged_at": null - }, - "body": "Hello, draft PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json new file mode 100644 index 0000000000..7e0d45cc94 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json @@ -0,0 +1,204 @@ +{ + "total_count": 2, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + }, + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", + "number": 1, + "title": "Temp draft PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "draft": true, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", + "merged_at": null + }, + "body": "Hello, draft PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json deleted file mode 100644 index 5d139c1d56..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "total_count": 2, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - }, - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", - "number": 1, - "title": "Temp draft PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", - "closed_at": null, - "author_association": "OWNER", - "active_lock_reason": null, - "draft": true, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", - "merged_at": null - }, - "body": "Hello, draft PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json new file mode 100644 index 0000000000..c3370de181 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json @@ -0,0 +1,204 @@ +{ + "total_count": 2, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", + "number": 1, + "title": "Temp draft PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "draft": true, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", + "merged_at": null + }, + "body": "Hello, draft PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + }, + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c873591d-123d-42c8-920f-901a7160730b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c873591d-123d-42c8-920f-901a7160730b.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c873591d-123d-42c8-920f-901a7160730b.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json new file mode 100644 index 0000000000..7e0d45cc94 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json @@ -0,0 +1,204 @@ +{ + "total_count": 2, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + }, + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", + "number": 1, + "title": "Temp draft PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "draft": true, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", + "merged_at": null + }, + "body": "Hello, draft PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json new file mode 100644 index 0000000000..7e0d45cc94 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json @@ -0,0 +1,204 @@ +{ + "total_count": 2, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + }, + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "id": 1988611948, + "node_id": "PR_kwDOKsCogs5fMcXi", + "number": 1, + "title": "Temp draft PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-11-11T00:45:20Z", + "updated_at": "2023-11-11T00:45:21Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "draft": true, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", + "merged_at": null + }, + "body": "Hello, draft PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json deleted file mode 100644 index 5d139c1d56..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "total_count": 2, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - }, - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", - "number": 1, - "title": "Temp draft PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", - "closed_at": null, - "author_association": "OWNER", - "active_lock_reason": null, - "draft": true, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", - "merged_at": null - }, - "body": "Hello, draft PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json new file mode 100644 index 0000000000..e9e853890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json @@ -0,0 +1,125 @@ +{ + "total_count": 1, + "incomplete_results": false, + "items": [ + { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", + "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", + "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", + "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "id": 1988611964, + "node_id": "PR_kwDOKsCogs5fMcXv", + "number": 2, + "title": "Temp merged PR", + "user": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6195477233, + "node_id": "LA_kwDOKsCogs8AAAABcUd68Q", + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", + "name": "test", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kgromov", + "id": 9352794, + "node_id": "MDQ6VXNlcjkzNTI3OTQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kgromov", + "html_url": "https://github.com/kgromov", + "followers_url": "https://api.github.com/users/kgromov/followers", + "following_url": "https://api.github.com/users/kgromov/following{/other_user}", + "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", + "organizations_url": "https://api.github.com/users/kgromov/orgs", + "repos_url": "https://api.github.com/users/kgromov/repos", + "events_url": "https://api.github.com/users/kgromov/events{/privacy}", + "received_events_url": "https://api.github.com/users/kgromov/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 1, + "created_at": "2023-11-11T00:45:22Z", + "updated_at": "2023-11-11T00:45:26Z", + "closed_at": "2023-11-11T00:45:25Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", + "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", + "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", + "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", + "merged_at": "2023-11-11T00:45:25Z" + }, + "body": "Hello, merged PR", + "reactions": { + "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json deleted file mode 100644 index 7ac2610137..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "total_count": 2, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "id": 1893366188, - "node_id": "PR_kwDOKSyX8M5aLLl0", - "number": 1, - "title": "Temp draft PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2023-09-12T22:06:40Z", - "updated_at": "2023-09-12T22:06:41Z", - "closed_at": null, - "author_association": "OWNER", - "active_lock_reason": null, - "draft": true, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch", - "merged_at": null - }, - "body": "Hello, draft PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - }, - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json deleted file mode 100644 index 5f71838f46..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2", - "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests", - "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}", - "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", - "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "id": 1893366260, - "node_id": "PR_kwDOKSyX8M5aLLmS", - "number": 2, - "title": "Temp merged PR", - "user": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 5955577634, - "node_id": "LA_kwDOKSyX8M8AAAABYvrnIg", - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test", - "name": "test", - "color": "ededed", - "default": false, - "description": null - } - ], - "state": "closed", - "locked": false, - "assignee": { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kgromov", - "id": 9352794, - "node_id": "MDQ6VXNlcjkzNTI3OTQ=", - "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kgromov", - "html_url": "https://github.com/kgromov", - "followers_url": "https://api.github.com/users/kgromov/followers", - "following_url": "https://api.github.com/users/kgromov/following{/other_user}", - "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions", - "organizations_url": "https://api.github.com/users/kgromov/orgs", - "repos_url": "https://api.github.com/users/kgromov/repos", - "events_url": "https://api.github.com/users/kgromov/events{/privacy}", - "received_events_url": "https://api.github.com/users/kgromov/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 1, - "created_at": "2023-09-12T22:06:42Z", - "updated_at": "2023-09-12T22:06:46Z", - "closed_at": "2023-09-12T22:06:46Z", - "author_association": "OWNER", - "active_lock_reason": null, - "draft": false, - "pull_request": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2", - "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2", - "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff", - "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch", - "merged_at": "2023-09-12T22:06:46Z" - }, - "body": "Hello, merged PR", - "reactions": { - "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline", - "performed_via_github_app": null, - "state_reason": null, - "score": 1 - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-a52c5304-137c-46cd-a946-e62ab67c86ff.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-a52c5304-137c-46cd-a946-e62ab67c86ff.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json index 3394059e3c..94f55585dd 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-a52c5304-137c-46cd-a946-e62ab67c86ff.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json @@ -28,7 +28,7 @@ "public_repos": 92, "public_gists": 11, "followers": 0, - "following": 8, + "following": 9, "created_at": "2014-10-22T14:20:36Z", - "updated_at": "2023-07-28T20:37:46Z" + "updated_at": "2023-10-27T15:36:08Z" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json similarity index 74% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json index af4dc53365..c2e6a4f730 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json @@ -1,5 +1,5 @@ { - "id": "59314163-2543-4386-b9bd-8e0bfa1810f7", + "id": "b6c87345-2fe0-4d7a-894d-a59a9559fa4c", "name": "repos_kgromov_temp-testsearchpullrequests", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests", @@ -12,26 +12,26 @@ }, "response": { "status": 200, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests-59314163-2543-4386-b9bd-8e0bfa1810f7.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:36 GMT", + "Date": "Sat, 11 Nov 2023 00:45:17 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"e73bf2c607b8251211c97a1b9256b5f333a5d6a80e5030eae154b899972d9ed3\"", - "Last-Modified": "Tue, 12 Sep 2023 22:06:33 GMT", + "ETag": "W/\"91ddd65994343ccb5a4791c784aa5feb9178a8a77895e70e92efa536ed54cd8c\"", + "Last-Modified": "Sat, 11 Nov 2023 00:45:13 GMT", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "repo", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4851", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "149", + "X-RateLimit-Remaining": "4760", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "240", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -41,10 +41,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF72:0FE7:F0B829:F3465A:6500E0EC" + "X-GitHub-Request-Id": "FF91:6EFB:20B662DA:2119B0D7:654ECE9D" } }, - "uuid": "59314163-2543-4386-b9bd-8e0bfa1810f7", + "uuid": "b6c87345-2fe0-4d7a-894d-a59a9559fa4c", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json index e91daf096f..46b9487a34 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json @@ -1,5 +1,5 @@ { - "id": "2dba7301-deb7-4aed-b916-62bf0cb8b153", + "id": "2e4a86eb-0958-47e4-a4b8-c9d8e71eec40", "name": "repos_kgromov_temp-testsearchpullrequests_branches", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/branches", @@ -12,25 +12,25 @@ }, "response": { "status": 200, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_branches-2dba7301-deb7-4aed-b916-62bf0cb8b153.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:55 GMT", + "Date": "Sat, 11 Nov 2023 00:45:33 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"54df8b3a443fceadf3b5ee7dd8e2a7a0274b2859966837a71d25724398110a68\"", + "ETag": "W/\"208becc71dac6c18a7d3d92f6dd5b33dcf778d79b88ddcc5d9b1e58062dd3dc0\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4838", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "162", + "X-RateLimit-Remaining": "4747", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "253", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -40,10 +40,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF8E:0FE7:F0E9ED:F378BA:6500E0FE" + "X-GitHub-Request-Id": "FFB9:AC81:21AD3875:22108938:654ECEAD" } }, - "uuid": "2dba7301-deb7-4aed-b916-62bf0cb8b153", + "uuid": "2e4a86eb-0958-47e4-a4b8-c9d8e71eec40", "persistent": true, "insertionIndex": 30 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json index a8c2fa61fa..735e2e192c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json @@ -1,5 +1,5 @@ { - "id": "63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0", + "id": "57fe6839-4f2a-416e-8c31-cccdabdb8617", "name": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/branchToMerge", @@ -19,25 +19,25 @@ }, "response": { "status": 201, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:39 GMT", + "Date": "Sat, 11 Nov 2023 00:45:19 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"0c87e042af5e09f0c214e4937aee2d9c7faae614c677e0d19b55400b2a415825\"", + "ETag": "\"99c67de25b0f4bafb3f954b8376e115d245584c80d4b749ea52a5fa31f7213f8\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4846", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "154", + "X-RateLimit-Remaining": "4755", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "245", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,10 +47,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF77:FBD1:9E671ED:9FDD7DF:6500E0EF" + "X-GitHub-Request-Id": "FF98:85F2:1FCEC749:2031CC28:654ECE9F" } }, - "uuid": "63eb05b5-4fd3-4a74-a1db-d0f17ce9d3f0", + "uuid": "57fe6839-4f2a-416e-8c31-cccdabdb8617", "persistent": true, "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json similarity index 81% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json index ddb1809670..bc0a31f6a1 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json @@ -1,5 +1,5 @@ { - "id": "2f019529-79f0-4ead-8863-47f4f8f781e5", + "id": "e2acff50-d3c7-4a04-a522-ddf34b102a8f", "name": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/draft", @@ -19,25 +19,25 @@ }, "response": { "status": 201, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-2f019529-79f0-4ead-8863-47f4f8f781e5.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:38 GMT", + "Date": "Sat, 11 Nov 2023 00:45:18 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"2b8aef282884d97b44086db3c80cc43398b0fc54d82acc41644d78f3ca912545\"", + "ETag": "\"f4e437e01957a2e8fa8af77c226aef213abd9628b6891eff5e32d14370e6673d\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4848", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "152", + "X-RateLimit-Remaining": "4757", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "243", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,10 +47,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF75:8845:1D64509:1DA8DAC:6500E0EE" + "X-GitHub-Request-Id": "FF95:DBA9:20FC324F:215F3618:654ECE9E" } }, - "uuid": "2f019529-79f0-4ead-8863-47f4f8f781e5", + "uuid": "e2acff50-d3c7-4a04-a522-ddf34b102a8f", "persistent": true, "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json index cb3dce659a..7df2e71fc4 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json @@ -1,5 +1,5 @@ { - "id": "3b80876f-5673-4dad-8e08-dc5a1446cb99", + "id": "a6b99918-8bcc-4802-b4f7-664a6696ac4d", "name": "repos_kgromov_temp-testsearchpullrequests_git_refs", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/git/refs", @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"ref\":\"refs/heads/branchToMerge\",\"sha\":\"33d4c1629baf1fc0c127839c7d605547daece11e\"}", + "equalToJson": "{\"ref\":\"refs/heads/branchToMerge\",\"sha\":\"34b361864cacfbd165af1b06a659113099da1f38\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } @@ -19,25 +19,25 @@ }, "response": { "status": 201, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs-3b80876f-5673-4dad-8e08-dc5a1446cb99.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:39 GMT", + "Date": "Sat, 11 Nov 2023 00:45:19 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"d703d3744b5ec88c052d5e2c1cd23d2e58a59af7e5297a83083a7fb8fa192d84\"", + "ETag": "\"997a0d8ddf2be53434e491613dc575ce918047eaeeda2ffcde5553af28c51d77\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "repo", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4847", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "153", + "X-RateLimit-Remaining": "4756", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "244", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,11 +47,11 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF76:072D:9ED45FA:A04AC13:6500E0EE", + "X-GitHub-Request-Id": "FF97:A2C4:1FF181FE:20561D88:654ECE9E", "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/branchToMerge" } }, - "uuid": "3b80876f-5673-4dad-8e08-dc5a1446cb99", + "uuid": "a6b99918-8bcc-4802-b4f7-664a6696ac4d", "persistent": true, "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json index 264e3d679d..ac604bd50d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json @@ -1,5 +1,5 @@ { - "id": "21888de2-c4fb-4666-9d04-2616634778c6", + "id": "e1be828c-2137-4d51-b66f-7461d9a2c0b0", "name": "repos_kgromov_temp-testsearchpullrequests_git_refs", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/git/refs", @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"ref\":\"refs/heads/draft\",\"sha\":\"33d4c1629baf1fc0c127839c7d605547daece11e\"}", + "equalToJson": "{\"ref\":\"refs/heads/draft\",\"sha\":\"34b361864cacfbd165af1b06a659113099da1f38\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } @@ -19,25 +19,25 @@ }, "response": { "status": 201, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs-21888de2-c4fb-4666-9d04-2616634778c6.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:37 GMT", + "Date": "Sat, 11 Nov 2023 00:45:18 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"9772cdaea5fb007d136ad1d47d8111511c96be527c067ea375a88951c24b1981\"", + "ETag": "\"a51b1ae435087d61f786dffd94ccc7ee477ef5aecf2cb053766e18b3fae50eae\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "repo", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4849", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "151", + "X-RateLimit-Remaining": "4758", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "242", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,11 +47,11 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF74:0F2D:A2A4E8A:A41D466:6500E0ED", + "X-GitHub-Request-Id": "FF93:DBA9:20FC3123:215F34FC:654ECE9D", "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/draft" } }, - "uuid": "21888de2-c4fb-4666-9d04-2616634778c6", + "uuid": "e1be828c-2137-4d51-b66f-7461d9a2c0b0", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json similarity index 77% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json index c5774b6f66..f9cb82c2c3 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json @@ -1,5 +1,5 @@ { - "id": "8cbcd7f7-01aa-4355-a478-38bd54344d10", + "id": "14ddc043-8064-4aab-8904-aa98f8372125", "name": "repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/main", @@ -12,27 +12,27 @@ }, "response": { "status": 200, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-8cbcd7f7-01aa-4355-a478-38bd54344d10.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:37 GMT", + "Date": "Sat, 11 Nov 2023 00:45:17 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"7cf89bc6c9dc43f40e2fbd7d2384fb80135c607303d4efb863ea55543f2c004c\"", - "Last-Modified": "Tue, 12 Sep 2023 22:06:33 GMT", + "ETag": "W/\"d3a5ff9499201676863cc1ad29bf4bf6953ca43e11f75647a31f6e4d5c92e458\"", + "Last-Modified": "Sat, 11 Nov 2023 00:45:13 GMT", "X-Poll-Interval": "300", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "repo", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4850", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "150", + "X-RateLimit-Remaining": "4759", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "241", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -42,10 +42,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF73:E6C0:9E1E9A4:9F94F6E:6500E0ED" + "X-GitHub-Request-Id": "FF92:10F1B:20A84490:210C3B25:654ECE9D" } }, - "uuid": "8cbcd7f7-01aa-4355-a478-38bd54344d10", + "uuid": "14ddc043-8064-4aab-8904-aa98f8372125", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json index 816721705f..3bcd745cfd 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json @@ -1,5 +1,5 @@ { - "id": "545ac0ff-717b-4b98-976e-f1edba7ae125", + "id": "e749de4a-bd7c-48bf-aa8e-8ba08a208f24", "name": "repos_kgromov_temp-testsearchpullrequests_issues_1", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/issues/1", @@ -19,25 +19,25 @@ }, "response": { "status": 200, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_1-545ac0ff-717b-4b98-976e-f1edba7ae125.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:41 GMT", + "Date": "Sat, 11 Nov 2023 00:45:21 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"aa3924ddabf08233feac90a6845476052ee1ae5283c2b3c2296e3be5b65e0b09\"", + "ETag": "W/\"eb0556978304193775dbd6aa2bc17f4a2c7f5cba84e330b213024cd7257ba93d\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4844", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "156", + "X-RateLimit-Remaining": "4753", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "247", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,10 +47,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF79:54B0:53BEC05:548B251:6500E0F1" + "X-GitHub-Request-Id": "FF9B:7A19:20E8F917:214CE9D1:654ECEA0" } }, - "uuid": "545ac0ff-717b-4b98-976e-f1edba7ae125", + "uuid": "e749de4a-bd7c-48bf-aa8e-8ba08a208f24", "persistent": true, "insertionIndex": 9 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json index 1c71d9c74b..f531c73457 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json @@ -1,5 +1,5 @@ { - "id": "522c54ba-d2b8-41c6-a131-de0613068bd7", + "id": "1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5", "name": "repos_kgromov_temp-testsearchpullrequests_issues_2", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/issues/2", @@ -19,25 +19,25 @@ }, "response": { "status": 200, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2-522c54ba-d2b8-41c6-a131-de0613068bd7.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:43 GMT", + "Date": "Sat, 11 Nov 2023 00:45:23 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"6bb073a1d8adad2fb6526eac4270102b716fa25713faff6010102a40074ad552\"", + "ETag": "W/\"1f8318cf798f212b7f6969587321ff4e36c6c785488220453a3e9de481517b7f\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4842", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "158", + "X-RateLimit-Remaining": "4751", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "249", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,10 +47,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF7B:8651:1CCE9D:1D341D:6500E0F3" + "X-GitHub-Request-Id": "FF9F:DBA9:20FC3C55:215F404A:654ECEA3" } }, - "uuid": "522c54ba-d2b8-41c6-a131-de0613068bd7", + "uuid": "1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5", "persistent": true, "insertionIndex": 11 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json index 4432925347..174056e51e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json @@ -1,5 +1,5 @@ { - "id": "66f05bb3-1663-4725-8069-8bea635d4a29", + "id": "b33c18df-1b3d-4736-a162-420da2b9bcd5", "name": "repos_kgromov_temp-testsearchpullrequests_issues_2", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/issues/2", @@ -19,25 +19,25 @@ }, "response": { "status": 200, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2-66f05bb3-1663-4725-8069-8bea635d4a29.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:44 GMT", + "Date": "Sat, 11 Nov 2023 00:45:24 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"6fc539dd34a49742d7cc3ec89adfbed489817337eeb62ed415091655f4d885a1\"", + "ETag": "W/\"ba01a57d7f7501f05fabc09617a8b2ab694c4a89d14a47aeaad23527cd4bbcb0\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4841", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "159", + "X-RateLimit-Remaining": "4750", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "250", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,10 +47,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF7C:072D:9ED54FB:A04BB35:6500E0F4" + "X-GitHub-Request-Id": "FFA0:56FE:2147DBD1:21AC6BCA:654ECEA3" } }, - "uuid": "66f05bb3-1663-4725-8069-8bea635d4a29", + "uuid": "b33c18df-1b3d-4736-a162-420da2b9bcd5", "persistent": true, "insertionIndex": 12 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json index c7fc5b70d8..629f84b2f0 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json @@ -1,5 +1,5 @@ { - "id": "e30a8aad-4f2f-428e-901f-560f00e0a151", + "id": "1868398e-38c8-4adb-b1d4-c5ed4bb624c1", "name": "repos_kgromov_temp-testsearchpullrequests_issues_2_comments", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/issues/2/comments", @@ -19,25 +19,25 @@ }, "response": { "status": 201, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2_comments-e30a8aad-4f2f-428e-901f-560f00e0a151.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:45 GMT", + "Date": "Sat, 11 Nov 2023 00:45:25 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"522c90658ffb04c818f8531e1606d679273772caebccc422871c4f444e1a092c\"", + "ETag": "\"bd0a0b30b6982b8b367c25195956260f68e76fb9c8e19c3b1f62322e56521f33\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4840", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "160", + "X-RateLimit-Remaining": "4749", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "251", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,11 +47,11 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF7D:537D:9E62748:9FD8EA9:6500E0F5", - "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1716566121" + "X-GitHub-Request-Id": "FFA2:669F:2800717F:2873530F:654ECEA4", + "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1806603013" } }, - "uuid": "e30a8aad-4f2f-428e-901f-560f00e0a151", + "uuid": "1868398e-38c8-4adb-b1d4-c5ed4bb624c1", "persistent": true, "insertionIndex": 13 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json similarity index 82% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json index ef3f0c0833..a2ec334cd5 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json @@ -1,5 +1,5 @@ { - "id": "2310b7ca-8606-4773-8c00-e1bd6a1654f6", + "id": "29fe89f2-88e8-4866-910f-708c8a258bd5", "name": "repos_kgromov_temp-testsearchpullrequests_pulls", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/pulls", @@ -19,25 +19,25 @@ }, "response": { "status": 201, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_pulls-2310b7ca-8606-4773-8c00-e1bd6a1654f6.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:42 GMT", + "Date": "Sat, 11 Nov 2023 00:45:22 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"aa937f13191f1854383532a7cdded7dade9cf7ae68448bffd3f737a892ecb13f\"", + "ETag": "\"08b6f140aad08c5f3f6549776acc144eec8152ed3a388609f4bf4e73a54c0578\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4843", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "157", + "X-RateLimit-Remaining": "4752", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "248", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,11 +47,11 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF7A:8845:1D64DD3:1DA96A4:6500E0F2", + "X-GitHub-Request-Id": "FF9C:C346:20B0F74B:21144682:654ECEA1", "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2" } }, - "uuid": "2310b7ca-8606-4773-8c00-e1bd6a1654f6", + "uuid": "29fe89f2-88e8-4866-910f-708c8a258bd5", "persistent": true, "insertionIndex": 10 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json similarity index 82% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json index 3f412419d4..5af4d78ae1 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json @@ -1,5 +1,5 @@ { - "id": "23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8", + "id": "af640148-1955-4c33-b3c5-f051656787a9", "name": "repos_kgromov_temp-testsearchpullrequests_pulls", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/pulls", @@ -19,25 +19,25 @@ }, "response": { "status": 201, - "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_pulls-23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8.json", + "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:40 GMT", + "Date": "Sat, 11 Nov 2023 00:45:20 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"ecb0227cfbebdbc5d6bced1a196b193312be96032bc1a886e42ddbc9fdc701bf\"", + "ETag": "\"488f6a3ae20a738e00e1bfddc966efad599c727886b5e64a84fb551aabf95251\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4845", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "155", + "X-RateLimit-Remaining": "4754", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "246", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,11 +47,11 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF78:54B0:53BE8B2:548AED6:6500E0EF", + "X-GitHub-Request-Id": "FF99:8C73:2078CD0E:20DD6391:654ECE9F", "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1" } }, - "uuid": "23085a1e-c9ef-4ffb-aa28-af7dfd93b2c8", + "uuid": "af640148-1955-4c33-b3c5-f051656787a9", "persistent": true, "insertionIndex": 8 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-54522815-98f1-42d6-a391-c3d305c4f4e8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-17dc81ea-0faf-434b-9de4-b0493013e514.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-54522815-98f1-42d6-a391-c3d305c4f4e8.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-17dc81ea-0faf-434b-9de4-b0493013e514.json index 96df39f7b3..0bd69135eb 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-54522815-98f1-42d6-a391-c3d305c4f4e8.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-17dc81ea-0faf-434b-9de4-b0493013e514.json @@ -1,5 +1,5 @@ { - "id": "54522815-98f1-42d6-a391-c3d305c4f4e8", + "id": "17dc81ea-0faf-434b-9de4-b0493013e514", "name": "repos_kgromov_temp-testsearchpullrequests_pulls_2_merge", "request": { "url": "/repos/kgromov/temp-testSearchPullRequests/pulls/2/merge", @@ -19,25 +19,25 @@ }, "response": { "status": 200, - "body": "{\"sha\":\"ce18a7029a8faa65ccced3c22eff7235fdc14887\",\"merged\":true,\"message\":\"Pull Request successfully merged\"}", + "body": "{\"sha\":\"5316172f4450c481017e8c4ef2b299da23ee1c6c\",\"merged\":true,\"message\":\"Pull Request successfully merged\"}", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:47 GMT", + "Date": "Sat, 11 Nov 2023 00:45:26 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"fb7789f73d1756f53dc15aec5f0c4675a54d92069cadd2910859e5a8389416e8\"", + "ETag": "W/\"c78830beea37d2d0cde293e28479bdf6243135ee7036f58c1141fb54d468152c\"", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4839", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "161", + "X-RateLimit-Remaining": "4748", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "252", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -47,10 +47,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF7E:260B:57C7B76:589FB7B:6500E0F6" + "X-GitHub-Request-Id": "FFA3:8C73:2078D9FB:20DD70B1:654ECEA5" } }, - "uuid": "54522815-98f1-42d6-a391-c3d305c4f4e8", + "uuid": "17dc81ea-0faf-434b-9de4-b0493013e514", "persistent": true, "insertionIndex": 14 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json similarity index 81% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json index 7806de4df1..590426176f 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json @@ -1,8 +1,8 @@ { - "id": "90e45fa7-a539-4080-9ad7-766ccb7292a2", + "id": "14eebf66-33e1-4280-a68d-9f2d85d8b4db", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aopen+draft%3Atrue+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aopen+draft%3Atrue+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-90e45fa7-a539-4080-9ad7-766ccb7292a2.json", + "bodyFileName": "search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:48 GMT", + "Date": "Sat, 11 Nov 2023 00:45:27 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "29", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "1", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF7F:FF32:A34ECB9:A4C5475:6500E0F8" + "X-GitHub-Request-Id": "FFA4:F99F:207C33E5:20DFE183:654ECEA7" } }, - "uuid": "90e45fa7-a539-4080-9ad7-766ccb7292a2", + "uuid": "14eebf66-33e1-4280-a68d-9f2d85d8b4db", "persistent": true, "scenarioName": "scenario-1-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json index 250c816045..739cac413b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json @@ -1,8 +1,8 @@ { - "id": "82602db5-a742-4a9e-b67c-a287e50f7e05", + "id": "18eecc46-bf6e-47a3-805c-be128054c31d", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?order=desc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-82602db5-a742-4a9e-b67c-a287e50f7e05.json", + "bodyFileName": "search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:58 GMT", + "Date": "Sat, 11 Nov 2023 00:45:36 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "7", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "23", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF96:537D:9E64AD4:9FDB29A:6500E102" + "X-GitHub-Request-Id": "FFC4:1B81:24467199:24AF7A02:654ECEB0" } }, - "uuid": "82602db5-a742-4a9e-b67c-a287e50f7e05", + "uuid": "18eecc46-bf6e-47a3-805c-be128054c31d", "persistent": true, "scenarioName": "scenario-10-search-issues", "requiredScenarioState": "scenario-10-search-issues-3", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json index f0e1a4c74f..01d2d7de54 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json @@ -1,8 +1,8 @@ { - "id": "329cc3c7-8af4-4a6f-9efc-96caf610c448", + "id": "1cf472a0-822d-4762-b4e9-3104ea5ada8f", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-09-12+updated%3A2023-09-12+closed%3A2023-09-12+merged%3A2023-09-12+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-11+updated%3A2023-11-11+closed%3A2023-11-11+merged%3A2023-11-11+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-329cc3c7-8af4-4a6f-9efc-96caf610c448.json", + "bodyFileName": "search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:52 GMT", + "Date": "Sat, 11 Nov 2023 00:45:31 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "20", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "10", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF88:0FE7:F0E280:F37152:6500E0FC" + "X-GitHub-Request-Id": "FFB2:4CF1:20DB6A3D:213F1300:654ECEAB" } }, - "uuid": "329cc3c7-8af4-4a6f-9efc-96caf610c448", + "uuid": "1cf472a0-822d-4762-b4e9-3104ea5ada8f", "persistent": true, "scenarioName": "scenario-5-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json similarity index 77% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json index de7eef7a5c..b964f71e12 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json @@ -1,8 +1,8 @@ { - "id": "98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968", + "id": "31731f7d-b999-4f23-b767-6e7634c7b161", "name": "search_issues", "request": { - "url": "/search/issues?q=base%3Amain+head%3AbranchToMerge+SHA%3Ae70ac92dc8a342daed5784b3bd54c1185813b982+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+base%3Amain+head%3AbranchToMerge+SHA%3Af06ea132e5c97d4237ac3ff717944791eb142ff1+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968.json", + "bodyFileName": "search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:55 GMT", + "Date": "Sat, 11 Nov 2023 00:45:34 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "13", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "17", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF90:072D:9ED73AA:A04DA4A:6500E0FF" + "X-GitHub-Request-Id": "FFBD:8C73:2078EC1C:20DD8328:654ECEAE" } }, - "uuid": "98c2d0d2-eaaf-4810-b6a8-11a0bd5f3968", + "uuid": "31731f7d-b999-4f23-b767-6e7634c7b161", "persistent": true, "scenarioName": "scenario-8-search-issues", "requiredScenarioState": "scenario-8-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json index 47741a8290..ef37c63d45 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json @@ -1,8 +1,8 @@ { - "id": "57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd", + "id": "3399ef05-53c4-4f3f-9ada-89093e9f280e", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+merged%3A2023-09-01..2023-09-12+closed%3A2023-09-01..2023-09-12+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+merged%3A2023-11-01..2023-11-11+closed%3A2023-11-01..2023-11-11+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd.json", + "bodyFileName": "search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:52 GMT", + "Date": "Sat, 11 Nov 2023 00:45:30 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "21", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "9", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF87:8651:1CE26D:1D4837:6500E0FB" + "X-GitHub-Request-Id": "FFB1:85F2:1FCEDEAD:2031E3D9:654ECEAA" } }, - "uuid": "57a5b11a-7cbd-4e97-8ded-c7a8a3d0a1cd", + "uuid": "3399ef05-53c4-4f3f-9ada-89093e9f280e", "persistent": true, "scenarioName": "scenario-4-search-issues", "requiredScenarioState": "scenario-4-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json index d74ea007c3..dd29713dc3 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json @@ -1,8 +1,8 @@ { - "id": "4f6daa33-87f9-45ea-96aa-e82a8404ff37", + "id": "3b75637b-21a8-4415-b951-02b1d64647cc", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?sort=created&order=asc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-4f6daa33-87f9-45ea-96aa-e82a8404ff37.json", + "bodyFileName": "search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:57 GMT", + "Date": "Sat, 11 Nov 2023 00:45:35 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "10", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "20", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF93:FF32:A35061D:A4C6E28:6500E101" + "X-GitHub-Request-Id": "FFC0:6EFB:20B68E26:2119DCAD:654ECEAF" } }, - "uuid": "4f6daa33-87f9-45ea-96aa-e82a8404ff37", + "uuid": "3b75637b-21a8-4415-b951-02b1d64647cc", "persistent": true, "scenarioName": "scenario-9-search-issues", "requiredScenarioState": "scenario-9-search-issues-3", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json index dfbc9bdd9a..12e6af9948 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json @@ -1,8 +1,8 @@ { - "id": "540c0a3b-1113-452c-8e1f-fc0e2be72e98", + "id": "44d16c49-384f-4edb-8718-eef330664a1f", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?order=desc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-540c0a3b-1113-452c-8e1f-fc0e2be72e98.json", + "bodyFileName": "search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:57 GMT", + "Date": "Sat, 11 Nov 2023 00:45:35 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "9", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "21", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF94:FBD1:9E6A389:9FE0A08:6500E101" + "X-GitHub-Request-Id": "FFC1:669F:28008B53:28736D69:654ECEAF" } }, - "uuid": "540c0a3b-1113-452c-8e1f-fc0e2be72e98", + "uuid": "44d16c49-384f-4edb-8718-eef330664a1f", "persistent": true, "scenarioName": "scenario-10-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json index 04c6540b67..c980cfa728 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json @@ -1,8 +1,8 @@ { - "id": "eb3d246a-f8df-484b-89de-f448fb2aa18d", + "id": "4bcd55b4-5658-48bf-b744-88d4ef5c8878", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aopen+draft%3Atrue+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aopen+draft%3Atrue+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-eb3d246a-f8df-484b-89de-f448fb2aa18d.json", + "bodyFileName": "search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:49 GMT", + "Date": "Sat, 11 Nov 2023 00:45:28 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "28", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "2", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF80:8845:1D65D56:1DAA66B:6500E0F8" + "X-GitHub-Request-Id": "FFA6:4CF1:20DB6243:213F0AF3:654ECEA8" } }, - "uuid": "eb3d246a-f8df-484b-89de-f448fb2aa18d", + "uuid": "4bcd55b4-5658-48bf-b744-88d4ef5c8878", "persistent": true, "scenarioName": "scenario-1-search-issues", "requiredScenarioState": "scenario-1-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json index 911a598051..7b142a47ba 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json @@ -1,8 +1,8 @@ { - "id": "fd9550e8-2307-4d76-8236-ff856a96e03e", + "id": "53ee62a3-a853-4c3a-818e-e2de55bd92f2", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-09-12+updated%3A2023-09-12+closed%3A2023-09-12+merged%3A2023-09-12+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-11+updated%3A2023-11-11+closed%3A2023-11-11+merged%3A2023-11-11+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-fd9550e8-2307-4d76-8236-ff856a96e03e.json", + "bodyFileName": "search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:52 GMT", + "Date": "Sat, 11 Nov 2023 00:45:31 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "19", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "11", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF89:E511:406D262:410EA45:6500E0FC" + "X-GitHub-Request-Id": "FFB3:AC81:21AD3477:2210853A:654ECEAB" } }, - "uuid": "fd9550e8-2307-4d76-8236-ff856a96e03e", + "uuid": "53ee62a3-a853-4c3a-818e-e2de55bd92f2", "persistent": true, "scenarioName": "scenario-5-search-issues", "requiredScenarioState": "scenario-5-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json index 717df5d43e..fa63b45437 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json @@ -1,8 +1,8 @@ { - "id": "f805cc74-e0b6-494d-9f8e-7388d40689e1", + "id": "58370fe0-3ab4-4234-8f8f-eb6499b12557", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?sort=created&order=asc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-f805cc74-e0b6-494d-9f8e-7388d40689e1.json", + "bodyFileName": "search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:56 GMT", + "Date": "Sat, 11 Nov 2023 00:45:35 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "11", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "19", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF92:537D:9E64651:9FDADF1:6500E100" + "X-GitHub-Request-Id": "FFBF:D828:237CAA52:23E5B247:654ECEAE" } }, - "uuid": "f805cc74-e0b6-494d-9f8e-7388d40689e1", + "uuid": "58370fe0-3ab4-4234-8f8f-eb6499b12557", "persistent": true, "scenarioName": "scenario-9-search-issues", "requiredScenarioState": "scenario-9-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json similarity index 81% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json index 48ec995895..e6c578d7a4 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json @@ -1,8 +1,8 @@ { - "id": "a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25", + "id": "66d61c85-08d3-4266-8348-6d54ca42b5ce", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aclosed+is%3Amerged+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aclosed+is%3Amerged+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25.json", + "bodyFileName": "search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:49 GMT", + "Date": "Sat, 11 Nov 2023 00:45:28 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "27", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "3", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF81:1390C:9CEF52B:9E65B7B:6500E0F9" + "X-GitHub-Request-Id": "FFA8:6EFB:20B67F45:2119CDA1:654ECEA8" } }, - "uuid": "a2d2f15f-cbe8-4ad9-ac0f-7bd703539f25", + "uuid": "66d61c85-08d3-4266-8348-6d54ca42b5ce", "persistent": true, "scenarioName": "scenario-2-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json index 196c3ade71..e7bac5abc1 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json @@ -1,8 +1,8 @@ { - "id": "dfb35787-f281-43c1-aa03-546d41b91804", + "id": "76b76168-673f-4baf-ac20-ac395571b229", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?order=desc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-dfb35787-f281-43c1-aa03-546d41b91804.json", + "bodyFileName": "search_issues-76b76168-673f-4baf-ac20-ac395571b229.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:58 GMT", + "Date": "Sat, 11 Nov 2023 00:45:36 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "8", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "22", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF95:0FDB:2A51E8:2AE1A0:6500E101" + "X-GitHub-Request-Id": "FFC3:8C73:2078F037:20DD8750:654ECEB0" } }, - "uuid": "dfb35787-f281-43c1-aa03-546d41b91804", + "uuid": "76b76168-673f-4baf-ac20-ac395571b229", "persistent": true, "scenarioName": "scenario-10-search-issues", "requiredScenarioState": "scenario-10-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json index 22fb8d1a88..53ea363e1d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json @@ -1,8 +1,8 @@ { - "id": "051617ba-2a65-4df1-8832-8f6bf88ef10b", + "id": "86bea00c-825a-4691-aada-32e5afcfd3bd", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+assignee%3Akgromov+mentions%3Akgromov+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+assignee%3Akgromov+mentions%3Akgromov+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-051617ba-2a65-4df1-8832-8f6bf88ef10b.json", + "bodyFileName": "search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:59 GMT", + "Date": "Sat, 11 Nov 2023 00:45:37 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "5", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "25", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF98:54B0:53C1DAE:548E47C:6500E103" + "X-GitHub-Request-Id": "FFC6:4CF1:20DB784E:213F216B:654ECEB1" } }, - "uuid": "051617ba-2a65-4df1-8832-8f6bf88ef10b", + "uuid": "86bea00c-825a-4691-aada-32e5afcfd3bd", "persistent": true, "scenarioName": "scenario-11-search-issues", "requiredScenarioState": "scenario-11-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json similarity index 76% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json index da94379a69..e8ba2929c6 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json @@ -1,8 +1,8 @@ { - "id": "ad41134b-c59f-4c25-8df1-5f2ae12d4edf", + "id": "8f08a0af-7a05-4e15-a99b-f6618f96d753", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-09-01..2023-09-12+updated%3A2023-09-01..2023-09-12+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?sort=updated&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-01..2023-11-11+updated%3A2023-11-01..2023-11-11+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-ad41134b-c59f-4c25-8df1-5f2ae12d4edf.json", + "bodyFileName": "search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:50 GMT", + "Date": "Sat, 11 Nov 2023 00:45:29 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "25", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "5", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF83:0FE7:F0DCAD:F36B54:6500E0FA" + "X-GitHub-Request-Id": "FFAB:85F2:1FCEDB71:2031E09A:654ECEA9" } }, - "uuid": "ad41134b-c59f-4c25-8df1-5f2ae12d4edf", + "uuid": "8f08a0af-7a05-4e15-a99b-f6618f96d753", "persistent": true, "scenarioName": "scenario-3-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json similarity index 80% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json index 86d70dc5fc..e138c4d2c2 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json @@ -1,8 +1,8 @@ { - "id": "d7edfad3-ffb0-48ba-9551-eda7318fbd1b", + "id": "ad2de6f7-e39b-4056-8990-066360bee08b", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+assignee%3Akgromov+mentions%3Akgromov+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+assignee%3Akgromov+mentions%3Akgromov+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-d7edfad3-ffb0-48ba-9551-eda7318fbd1b.json", + "bodyFileName": "search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:59 GMT", + "Date": "Sat, 11 Nov 2023 00:45:37 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "6", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "24", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF97:E6C0:9E2246D:9F98AD5:6500E102" + "X-GitHub-Request-Id": "FFC5:6EFB:20B6913F:2119DFD8:654ECEB0" } }, - "uuid": "d7edfad3-ffb0-48ba-9551-eda7318fbd1b", + "uuid": "ad2de6f7-e39b-4056-8990-066360bee08b", "persistent": true, "scenarioName": "scenario-11-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json index 39fbd3bbbd..de4506729e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json @@ -1,8 +1,8 @@ { - "id": "24dcaca4-15de-4355-b930-dcaeadbe7049", + "id": "b0b66e35-c920-4e82-851d-636350624bb7", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?sort=created&order=asc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-24dcaca4-15de-4355-b930-dcaeadbe7049.json", + "bodyFileName": "search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:56 GMT", + "Date": "Sat, 11 Nov 2023 00:45:34 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "12", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "18", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF91:072D:9ED74C7:A04DB65:6500E100" + "X-GitHub-Request-Id": "FFBE:FB7E:D18B2C7:D3DD0D0:654ECEAE" } }, - "uuid": "24dcaca4-15de-4355-b930-dcaeadbe7049", + "uuid": "b0b66e35-c920-4e82-851d-636350624bb7", "persistent": true, "scenarioName": "scenario-9-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json similarity index 79% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json index 781c8a0f8b..e81e57ed60 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json @@ -1,8 +1,8 @@ { - "id": "9e21d8c5-9c8d-4f41-adbb-dec6de6c4493", + "id": "c0c7532c-a459-41ef-8c3a-7a23f7691b62", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+merged%3A2023-09-01..2023-09-12+closed%3A2023-09-01..2023-09-12+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+merged%3A2023-11-01..2023-11-11+closed%3A2023-11-01..2023-11-11+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-9e21d8c5-9c8d-4f41-adbb-dec6de6c4493.json", + "bodyFileName": "search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:51 GMT", + "Date": "Sat, 11 Nov 2023 00:45:30 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "22", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "8", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF86:537D:9E638FB:9FDA07F:6500E0FB" + "X-GitHub-Request-Id": "FFB0:7A19:20E90DB1:214CFED3:654ECEAA" } }, - "uuid": "9e21d8c5-9c8d-4f41-adbb-dec6de6c4493", + "uuid": "c0c7532c-a459-41ef-8c3a-7a23f7691b62", "persistent": true, "scenarioName": "scenario-4-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json index 3a5e780080..2291b0281c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json @@ -1,8 +1,8 @@ { - "id": "250f059f-0f79-485a-bcef-b4f09241cb2d", + "id": "c7bcf215-979c-4b96-94f7-62b275676005", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3E2023-09-01+updated%3A%3E2023-09-01+merged%3A%3E%3D2023-09-01+closed%3A%3E%3D2023-09-01+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3E2023-11-01+updated%3A%3E2023-11-01+merged%3A%3E%3D2023-11-01+closed%3A%3E%3D2023-11-01+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-250f059f-0f79-485a-bcef-b4f09241cb2d.json", + "bodyFileName": "search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:53 GMT", + "Date": "Sat, 11 Nov 2023 00:45:32 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "17", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "13", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF8B:8651:1CE680:1D4C40:6500E0FD" + "X-GitHub-Request-Id": "FFB6:6EFB:20B68850:2119D6C2:654ECEAC" } }, - "uuid": "250f059f-0f79-485a-bcef-b4f09241cb2d", + "uuid": "c7bcf215-979c-4b96-94f7-62b275676005", "persistent": true, "scenarioName": "scenario-6-search-issues", "requiredScenarioState": "scenario-6-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c873591d-123d-42c8-920f-901a7160730b.json similarity index 77% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c873591d-123d-42c8-920f-901a7160730b.json index 081198ebae..acc20ec148 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c873591d-123d-42c8-920f-901a7160730b.json @@ -1,8 +1,8 @@ { - "id": "14bfad3d-76ee-4832-9c37-4a0fcadb182d", + "id": "c873591d-123d-42c8-920f-901a7160730b", "name": "search_issues", "request": { - "url": "/search/issues?q=base%3Amain+head%3AbranchToMerge+SHA%3Ae70ac92dc8a342daed5784b3bd54c1185813b982+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+base%3Amain+head%3AbranchToMerge+SHA%3Af06ea132e5c97d4237ac3ff717944791eb142ff1+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-14bfad3d-76ee-4832-9c37-4a0fcadb182d.json", + "bodyFileName": "search_issues-c873591d-123d-42c8-920f-901a7160730b.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:55 GMT", + "Date": "Sat, 11 Nov 2023 00:45:33 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "14", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "16", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF8F:54B0:53C12E7:548D98E:6500E0FF" + "X-GitHub-Request-Id": "FFBB:DBA9:20FC526D:215F56F8:654ECEAD" } }, - "uuid": "14bfad3d-76ee-4832-9c37-4a0fcadb182d", + "uuid": "c873591d-123d-42c8-920f-901a7160730b", "persistent": true, "scenarioName": "scenario-8-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json similarity index 77% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json index 401bcbfd55..5a6831ffda 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json @@ -1,8 +1,8 @@ { - "id": "498e84e6-8b2d-4aa6-ab0f-6f8b538969fe", + "id": "d1ee25fc-71db-47d3-bdb2-ac28c08d9ded", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-09-01..2023-09-12+updated%3A2023-09-01..2023-09-12+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?sort=updated&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-01..2023-11-11+updated%3A2023-11-01..2023-11-11+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-498e84e6-8b2d-4aa6-ab0f-6f8b538969fe.json", + "bodyFileName": "search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:50 GMT", + "Date": "Sat, 11 Nov 2023 00:45:29 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "24", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "6", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF84:8845:1D661F6:1DAAB0D:6500E0FA" + "X-GitHub-Request-Id": "FFAC:13101:20F2B229:21570308:654ECEA9" } }, - "uuid": "498e84e6-8b2d-4aa6-ab0f-6f8b538969fe", + "uuid": "d1ee25fc-71db-47d3-bdb2-ac28c08d9ded", "persistent": true, "scenarioName": "scenario-3-search-issues", "requiredScenarioState": "scenario-3-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json similarity index 76% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json index 4ef0b751ab..a0808c110a 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json @@ -1,8 +1,8 @@ { - "id": "1c30da3f-c313-4412-8041-ef5e03ece107", + "id": "d253da43-33cd-46ea-b7cd-c60a19d57467", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-09-01..2023-09-12+updated%3A2023-09-01..2023-09-12+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?sort=updated&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-01..2023-11-11+updated%3A2023-11-01..2023-11-11+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-1c30da3f-c313-4412-8041-ef5e03ece107.json", + "bodyFileName": "search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:51 GMT", + "Date": "Sat, 11 Nov 2023 00:45:30 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "23", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "7", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF85:0FE7:F0DEFF:F36DD6:6500E0FB" + "X-GitHub-Request-Id": "FFAF:F99F:207C39BA:20DFE74F:654ECEA9" } }, - "uuid": "1c30da3f-c313-4412-8041-ef5e03ece107", + "uuid": "d253da43-33cd-46ea-b7cd-c60a19d57467", "persistent": true, "scenarioName": "scenario-3-search-issues", "requiredScenarioState": "scenario-3-search-issues-3", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json index 10429d5a18..0907962c94 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json @@ -1,8 +1,8 @@ { - "id": "9c672c12-a76e-41b6-a4d4-3ba416792e70", + "id": "d513ba09-ef04-46ff-ae17-98a38c57e749", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3E2023-09-01+updated%3A%3E2023-09-01+merged%3A%3E%3D2023-09-01+closed%3A%3E%3D2023-09-01+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3E2023-11-01+updated%3A%3E2023-11-01+merged%3A%3E%3D2023-11-01+closed%3A%3E%3D2023-11-01+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-9c672c12-a76e-41b6-a4d4-3ba416792e70.json", + "bodyFileName": "search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:53 GMT", + "Date": "Sat, 11 Nov 2023 00:45:32 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "18", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "12", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF8A:E6C0:9E214B3:9F97AF5:6500E0FD" + "X-GitHub-Request-Id": "FFB5:7A19:20E910C5:214D01E6:654ECEAB" } }, - "uuid": "9c672c12-a76e-41b6-a4d4-3ba416792e70", + "uuid": "d513ba09-ef04-46ff-ae17-98a38c57e749", "persistent": true, "scenarioName": "scenario-6-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json index 9b3b960f4f..0ebecc4f77 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json @@ -1,8 +1,8 @@ { - "id": "547f6dd4-5c44-407e-80b9-31c0946c5649", + "id": "edff7370-fa9f-4f2a-a5d2-be979186661b", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3C2023-09-14+updated%3A%3C2023-09-14+closed%3A%3C%3D2023-09-14+merged%3A%3C2023-09-14+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3C2023-11-12+updated%3A%3C2023-11-12+closed%3A%3C%3D2023-11-12+merged%3A%3C2023-11-12+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-547f6dd4-5c44-407e-80b9-31c0946c5649.json", + "bodyFileName": "search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:54 GMT", + "Date": "Sat, 11 Nov 2023 00:45:32 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "16", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "14", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF8C:FBD1:9E69A49:9FE00A0:6500E0FE" + "X-GitHub-Request-Id": "FFB7:1B81:244669C4:24AF721B:654ECEAC" } }, - "uuid": "547f6dd4-5c44-407e-80b9-31c0946c5649", + "uuid": "edff7370-fa9f-4f2a-a5d2-be979186661b", "persistent": true, "scenarioName": "scenario-7-search-issues", "requiredScenarioState": "Started", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json index 0d63519127..335b2e35e5 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json @@ -1,8 +1,8 @@ { - "id": "c059f6f1-e31d-436c-87ba-8f9e534537ea", + "id": "f671a987-af55-41c8-9f5e-06037fb8f074", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3C2023-09-14+updated%3A%3C2023-09-14+closed%3A%3C%3D2023-09-14+merged%3A%3C2023-09-14+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3C2023-11-12+updated%3A%3C2023-11-12+closed%3A%3C%3D2023-11-12+merged%3A%3C2023-11-12+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-c059f6f1-e31d-436c-87ba-8f9e534537ea.json", + "bodyFileName": "search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:54 GMT", + "Date": "Sat, 11 Nov 2023 00:45:33 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "15", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "15", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF8D:0F2D:A2A7B24:A420187:6500E0FE" + "X-GitHub-Request-Id": "FFB8:4CF1:20DB6E9D:213F174E:654ECEAC" } }, - "uuid": "c059f6f1-e31d-436c-87ba-8f9e534537ea", + "uuid": "f671a987-af55-41c8-9f5e-06037fb8f074", "persistent": true, "scenarioName": "scenario-7-search-issues", "requiredScenarioState": "scenario-7-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json similarity index 81% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json index e25dc44938..81fee008cc 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json @@ -1,8 +1,8 @@ { - "id": "3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2", + "id": "f7571293-9b42-4e14-906c-960ad7fa0aab", "name": "search_issues", "request": { - "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aclosed+is%3Amerged+repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Apr", + "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aclosed+is%3Amerged+is%3Apr", "method": "GET", "headers": { "Accept": { @@ -12,10 +12,10 @@ }, "response": { "status": 200, - "bodyFileName": "search_issues-3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2.json", + "bodyFileName": "search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:49 GMT", + "Date": "Sat, 11 Nov 2023 00:45:28 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Vary": [ @@ -28,7 +28,7 @@ "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "30", "X-RateLimit-Remaining": "26", - "X-RateLimit-Reset": "1694556468", + "X-RateLimit-Reset": "1699663587", "X-RateLimit-Used": "4", "X-RateLimit-Resource": "search", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", @@ -39,10 +39,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF82:0FDB:2A3E0F:2ACD8C:6500E0F9" + "X-GitHub-Request-Id": "FFAA:85F2:1FCEDA9C:2031DFBE:654ECEA8" } }, - "uuid": "3d16860a-cebf-4f17-b19f-6f7e7fdb9ce2", + "uuid": "f7571293-9b42-4e14-906c-960ad7fa0aab", "persistent": true, "scenarioName": "scenario-2-search-issues", "requiredScenarioState": "scenario-2-search-issues-2", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-a52c5304-137c-46cd-a946-e62ab67c86ff.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json similarity index 74% rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-a52c5304-137c-46cd-a946-e62ab67c86ff.json rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json index 5b4dd54288..6ee7f85d68 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-a52c5304-137c-46cd-a946-e62ab67c86ff.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json @@ -1,5 +1,5 @@ { - "id": "a52c5304-137c-46cd-a946-e62ab67c86ff", + "id": "da1cd23b-68fc-4f76-b63d-73aef15422b8", "name": "user", "request": { "url": "/user", @@ -12,26 +12,26 @@ }, "response": { "status": 200, - "bodyFileName": "user-a52c5304-137c-46cd-a946-e62ab67c86ff.json", + "bodyFileName": "user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 12 Sep 2023 22:06:31 GMT", + "Date": "Sat, 11 Nov 2023 00:45:12 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"07e140f41eb92dba5c93c21b66140307b3603456151547495fd368299cdd7330\"", - "Last-Modified": "Fri, 28 Jul 2023 20:37:46 GMT", + "ETag": "W/\"f52155a43726996e5587f9285121b682ad67e2f3f2ffbdc91940592d422bf516\"", + "Last-Modified": "Fri, 27 Oct 2023 15:36:08 GMT", "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow", "X-Accepted-OAuth-Scopes": "", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4854", - "X-RateLimit-Reset": "1694557695", - "X-RateLimit-Used": "146", + "X-RateLimit-Remaining": "4763", + "X-RateLimit-Reset": "1699664715", + "X-RateLimit-Used": "237", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -41,10 +41,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CF70:D272:52E42E3:53B0926:6500E0E7" + "X-GitHub-Request-Id": "FF8E:8C73:2078B975:20DD4FBA:654ECE98" } }, - "uuid": "a52c5304-137c-46cd-a946-e62ab67c86ff", + "uuid": "da1cd23b-68fc-4f76-b63d-73aef15422b8", "persistent": true, "insertionIndex": 1 } \ No newline at end of file